Hi,
I've installed majordomo 1.94.5 onto a yellowdog 3 (basically a ppc port of
redhat 7) system as per the INSTALL file. Sendmail is 8.12.8 and AFAIK runs
as user smmsp. Looking at /etc/passwd & /etc/group, smmsp belongs to group
smmsp. I therefore set the majordomo makefile to use majordomo/smmsp as the
majordomo user & group. Having installed majordomo, I set up a list 'test'
using the majordomo.aliases file provided with the majordomo source. I
added the aliases file to /etc/mail, altered my .mc file & regenerated my
sendmail.cf accordingly. I also added a symlink to the wrapper in
/etc/smrsh to allow swapper execution. The wrapper test-config command ran
fine when executed as a normal user, with no obvious error messages.
The command 'lists' and 'info listname' work fine when sent to
test@hostname, returning info about my test mailing list. However messages
sent to the list get returned with the following error:
The original message was received at Sun, 2 Jan 2005 21:32:02 GMT
from localhost.localdomain [127.0.0.1]
----- The following addresses had permanent fatal errors -----
:include:/usr/bin/majordomo-1.94.5/lists/test
(expanded from: <test-list@xxx.xxx.xx.uk>)
----- Transcript of session follows -----
550 5.2.4 :include:/usr/bin/majordomo-1.94.5/lists/test... Cannot open
/usr/bin/majordomo-1.94.5/lists/test: Permission denied
The /lists/test file has permissions 640 & is owned by majordomo/smmsp. If
I change the permissions to 644, everything works properly. However for
security reasons I would like to use 640 permissions. Why can the
/lists/test file not be accessed when it's permissions are 640 & both
majordomo & sendmail are running as group smmsp?
Thanks for any help!
PS As a test, I ran ps aux | grep sendmail. I see 2 entries, only one of
which is running as user smmsp, the other as root. Is this anything to do
with my problem?
root 7508 0.0 0.9 8200 1820 ? S 2004 0:04 sendmail:
accepti
smmsp 7517 0.0 0.7 7344 1416 ? S 2004 0:00 sendmail:
Queue r
|
|