Hello All! (Fala meu povo!)
First of all, thank you for the messages I receive in reply to my
question about "Run error on LINUX".
But I'm stll having the same problems.
Mario Storti asked me if I've changed de W_UID and W_GID in Makefile.
YES! I've made this change!
Mike Lacher (from Lacheratic Systems) said about the file permissions
in the majordomo directory. I'm not sure about how it works (I'm
using UNIX for a little time), but i think I'v done this too (I'll
show my dir and configurations files below to you check them).
Other person asked me if I'm sendig a message to Majordomo thinking
it is the list. NO! I'm not doing this. I'm a experinced user and
manager of lists and listservers. I've already installed a list
manager software in NetWare also. My problems now are installing
majordomo in LINUX because i don't know very much about UNIX.
Every time I change the aliases file I run "newaliases" OR "sendmail
-bi".
I've installed Majordomo following step-by-step the manual. What is
happening now (like the first time) is that when a message comes do
majordomo@actech.com.br, the computer becomes to "burn"! Some
application eats all the memory and the sender receives a message
indicating that happens a "Out of memory" error and the mailer
couldn't send a mail to a file. Is it trying to mail to the WRAPPER?
Is it a problem with my aliases? (I don't think so, because I've
already revise it). This may be a problem with PERL? I didn't
installed it and any other program uses PERL but majordomo on my
system. How can I review the settings of PERL?
Paul Opie send me the url http://www.ds.rnet.com/majordomo/, that have
good information about majordomo configuration. He suggest to change
the mode of PERL to make tests. Whem I remode the eXecutable flag
from PERL tha majordomo still don't works, but it don't eat all
memory also! Is this right?
Witch is the newer OFFICIAL majordomo? 1.93 (the mine) or 1.94a3
(located in http://www.ds.rnet.com/majordomo/) ???
Here are my aliases file, the majordomo directory and the Makefile of
wrapper:
Linux 1.2.8. (POSIX).
actech1:~$ id
uid=514(majordom) gid=102(majordom) groups=102(majordom)
actech1:~$ l
total 5
drwxr-xr-x 3 majordom majordom 1024 May 23 17:15 archive/
drwxr-xr-x 5 majordom majordom 1024 May 30 00:26 bin/
drwxr-xr-x 2 majordom majordom 1024 May 23 17:19 lists/
-rw-rw-r-- 1 majordom majordom 1 May 23 15:27 major_log
actech1:~$ cd bin
actech1:~/bin$ l
total 1173
-rw-r--r-- 1 majordom majordom 39173 Jan 10 1995 Changelog
-rw-r--r-- 1 majordom majordom 12785 Apr 2 1994 Changes
-rw-r--r-- 1 majordom majordom 4601 May 5 1994 Description
drwxr-xr-x 3 majordom majordom 1024 Jan 10 1995 Doc/
-rw-r--r-- 1 majordom majordom 4631 Dec 26 1994 LICENSE
-rw-rw-r-- 1 majordom majordom 4453 May 30 00:13 Makefile
-rw-r--r-- 1 majordom majordom 4453 May 30 00:13 Makefile.old
-rw-r--r-- 1 majordom majordom 531 May 9 1994 Manifest
-rw-r--r-- 1 majordom majordom 54569 Jan 7 1995 README
-rwxr-xr-x 1 majordom majordom 6219 Jan 1 1995 approve*
-rwxr-xr-x 1 majordom majordom 2887 Dec 27 1994 bounce*
-rwxr-xr-x 1 majordom majordom 2615 Dec 26 1994 bounce-remind*
-rw-r--r-- 1 majordom majordom 0 May 23 15:30 con
-rw-r--r-- 1 majordom majordom 43737 Jan 7 1995 config_parse.pl
drwxr-xr-x 2 majordom majordom 1024 Jan 10 1995 contrib/
drwxr-xr-x 7 majordom majordom 1024 May 23 15:41 digest/
-rwxr-xr-x 1 majordom majordom 42524 Jan 4 1995 majordomo*
-rw-r--r-- 1 dariomor users 634880 May 23 12:55 majordomo-1.93.tar
-rw-r--r-- 1 root root 243507 May 23 14:24 majordomo-1.93.tar.Z
-rw-r--r-- 2 majordom majordom 4237 May 23 18:14 majordomo.cf
-rw-r--r-- 1 majordom majordom 14327 Jan 7 1995 majordomo.pl
-rw-r--r-- 1 majordom majordom 141 Dec 26 1994 majordomo_version.pl
-rwxr-xr-x 1 majordom majordom 1424 Dec 26 1994 medit*
-rwxr-xr-x 1 majordom majordom 2153 Jan 7 1995 new-list*
-rw-r--r-- 1 majordom majordom 0 May 23 15:30 prn
-rwxr-xr-x 1 majordom majordom 3024 Dec 26 1994 request-answer*
-rwxr-xr-x 1 majordom majordom 12872 Jan 7 1995 resend*
-rw-r--r-- 1 majordom majordom 3742 Sep 3 1993 resend.README
-rw-r--r-- 1 majordom majordom 2087 May 8 1994 sample.aliases
-rw-r--r-- 1 majordom majordom 3697 Jan 7 1995 sample.cf
-rw-r--r-- 1 majordom majordom 6183 Dec 31 1994 shlock.pl
-rwxr-xr-x 1 majordom majordom 131 Dec 26 1994 test*
-rwxr-xr-x 1 majordom majordom 14233 May 30 00:15 wrapper*
-rw-r--r-- 1 majordom majordom 2783 Jan 7 1995 wrapper.c
-rwxr-xr-x 1 majordom majordom 223 May 9 1994 wrapper.sh*
actech1:~/bin$ more Makefile
# $Source: /sources/cvsrepos/majordomo/Makefile,v $
# $Revision: 1.21.2.2.2.8 $
# $Date: 1995/01/07 18:06:48 $
# $Author: rouilj $
# $State: Exp $
#
# $Header: /sources/cvsrepos/majordomo/Makefile,v 1.21.2.2.2.8
# 1995/01/07 18:06:48 rouilj Exp $
#
# $Locker: $
#
# this makefile installs the following structure for the bsd universe:
# (root is W_BIN below)
# root -+-- -- actual majordomo scripts, libraries etc
# +-- Tools -- tools like archive
# +-- bin -- user level tools, approve, bounce etc
# +-- man -- man pages
#
# This is where "wrapper" looks for the programs it's supposed to run.
W_BIN=/usr/local/majordomo/bin
# This is the environment that (along with LOGNAME and USER inherited
# from the parent process, and without the leading "W_" in the
# variable names) gets passed to processes run by "wrapper"
W_PATH=/bin:/usr/bin:/usr/ucb
W_HOME=/usr/local/majordomo
W_SHELL=/bin/csh
W_MAJORDOMO_CF=/etc/majordomo.cf
# Use these settings for BSD-based systems, including SunOS 4.x. If
# you're using a POSIX-compliant system (including SysV and BSDI),
# comment these settings out, and uncomment the POSIX settings below.
#W_USER=daemon
#W_GROUP=majordom
#W_CHOWN=${W_USER}.${W_GROUP}
#W_CHMOD=6755
#WRAPPER_FLAGS = -DBIN=\"${W_BIN}\" -DPATH=\"PATH=${W_PATH}\" \
# -DHOME=\"HOME=${W_HOME}\" -DSHELL=\"SHELL=${W_SHELL}\" \
# -DMAJORDOMO_CF=\"MAJORDOMO_CF=${W_MAJORDOMO_CF}\"
# If you're using a POSIX-compliant system, uncomment this set of
# parameters and comment out the BSD settings above.
#
#
W_UID =514
W_GID=102
W_CHOWN=root
W_CHMOD=4755
WRAPPER_FLAGS = -DBIN=\"${W_BIN}\" -DPATH=\"PATH=${W_PATH}\" \
-DHOME=\"HOME=${W_HOME}\" -DSHELL=\"SHELL=${W_SHELL}\" \
-DMAJORDOMO_CF=\"MAJORDOMO_CF=${W_MAJORDOMO_CF}\" \
-DPOSIX_UID=${W_UID} -DPOSIX_GID=${W_GID} -DSETGROUP
# YOU SHOULDN'T HAVE TO CHANGE ANYTHING BELOW THIS LINE.
# For those stupid machines that try to use csh
SHELL = /bin/sh
default: wrapper
install: install-scripts install-man
@echo "Run 'make install-wrapper' as root"
install-wrapper: wrapper
cp wrapper $(W_BIN)/wrapper
chown ${W_CHOWN} $(W_BIN)/wrapper
chmod ${W_CHMOD} $(W_BIN)/wrapper
install-scripts: install-cf
@-test -d $(W_BIN)/Tools || mkdir $(W_BIN)/Tools
cp contrib/archive2.pl $(W_BIN)/Tools
@-test -d $(W_BIN)/bin || mkdir $(W_BIN)/bin
cp approve bounce medit $(W_BIN)/bin
cp bounce-remind config_parse.pl majordomo \
majordomo.pl majordomo_version.pl\
new-list request-answer resend resend.README shlock.pl \
digest/digest test \ $(W_BIN)
# the install.cf target will install the sample config file in the
# proper place unless a majordomo.cf file exists in whcih case the
# majordomo.cf file will be used.
install-cf:
(test ! -f majordomo.cf && echo "using sample.cf" && \
cp sample.cf $(W_BIN)/majordomo.cf; exit 0)
(test -f majordomo.cf && echo "using majordomo.cf" && \
cp majordomo.cf $(W_BIN)/majordomo.cf; exit 0)
install-man:
@-test -d $(W_BIN)/man || mkdir $(W_BIN)/man
@-test -d $(W_BIN)/man/man1 || mkdir $(W_BIN)/man/man1
@-test -d $(W_BIN)/man/man8 || mkdir $(W_BIN)/man/man8
cp Doc/man/approve.1 $(W_BIN)/man/man1
cp Doc/man/majordomo.8 $(W_BIN)/man/man8
install-shared: install-wrapper-shared install-scripts
install-wrapper-shared: wrapper
@test -d $(W_BIN)/wrappers || mkdir $(W_BIN)/wrappers
@test -d $(W_BIN)/wrappers/$(W_GROUP) || mkdir
$(W_BIN)/wrappers/$(W_GROUP) strip wrapper cp wrapper
$(W_BIN)/wrappers/$(W_GROUP)/wrapper.`arch` cp wrapper.sh
$(W_BIN)/wrappers/$(W_GROUP)/wrapper @echo 'run make
permissions-shared' as root to set permissions
install-archive:
cp contrib/archive.pl $(W_BIN)/archive
install-archive2:
cp contrib/archive2.pl $(W_BIN)/archive
install-archive_mh:
cp contrib/archive_mh.pl $(W_BIN)/archive
permissions-shared:
chown ${W_CHOWN} $(W_BIN)/wrappers/$(W_GROUP)/wrapper.`arch`
chown ${W_CHOWN} $(W_BIN)/. chmod ${W_CHMOD}
$(W_BIN)/wrappers/$(W_GROUP)/wrapper.`arch`
wrapper: wrapper.c Makefile
$(CC) ${WRAPPER_FLAGS} -o wrapper wrapper.c
clean:
rm -f wrapper *~
dist-clean: clean
rm -f majordomo.cf .cvsignore todo.local .dcl archive
rm -rf regress Doc/samples Tools
VERSION=1.93
distribution: dist-clean
mkdir majordomo-$(VERSION)
mv * .??* majordomo-$(VERSION) || exit 0
rm -rf majordomo-$(VERSION)/CVS majordomo-$(VERSION)/*/CVS
majordomo-$(VERSION)/*/*/CVS tar -cZvf
majordomo-$(VERSION).tar.Z majordomo-$(VERSION)
(The aliases file, readable when logged as root)
actech1:/etc# more aliases
owner-owner: root
#
# Majordomo
#
majordomo: "|/usr/local/majordomo/bin/wrapper majordomo"
majordom: owner-majordomo
majordomo-owner: dariomor
owner-majordomo: dariomor
#
# Lista MEUPOVO
#
meupovo: "|/usr/local/majordomo/bin/wrapper resend -l meupovo -h
actech.com.br -M 50000 -s dariomor"
owner-meupovo: dariomor
#meupovo-outgoing: :include:/usr/local/majordomo/lists/meupovo, meupovo-archive
meupovo-request: "|/usr/local/majordomo/bin/wrapper request-answer meupovo"
owner-meupovo-request: dariomor
owner-meupovo-outgoing: dariomor
#meupovo-archive: /usr/local/majordomo/archive/meupovo/meupovo-archive
owner-meupovo-archive: dariomor
meupovo-approval: dariomor
meupovo-owner: dariomor
owner-meupovo-owner: dariomor
#
# Sample mailing list
#
teste: "|/usr/local/majordomo/bin/wrapper resend -l teste -d listserv
-M 10000 -p listserv -s teste-outgoing"
owner-teste: dariomor
#teste-outgoing: : include:/home/listserv/lists/teste, teste-archive
owner-teste-outgoing: dariomor
#teste-archive: /usr/local/mail/archive/teste
owner-teste-archive: dariomor
#teste-request: "|/tools/majordomo-1.93/wrapper request-answer teste"
owner-teste-request: dariomor
teste-approval: dariomor
teste-owner: dariomor
owner-teste-owner: dariomor
# $Header: /sources/cvsrepos/majordomo/sample.aliases,v 1.3 1994/05/08 20:27:05 rouilj Exp $
[]s Dario Mor
dariomor@actech.com.br
Follow-Ups:
|
|