Two things...
First, section 2.12 of the FAQ touches on your exact error message.
I will assume you have subscribers populating the file and this does not
apply to you.
Second, since everything about majordomo works except posting a message,
your sendmail configuration may be at fault. This can be fixed by making
changes to majordomo so sendmail is happy, or changing sendmail so it is
not so strict on majordomo. I prefer to keep sendmail strict and change
my majordomo. Have you checked the sendmail FAQ for majordomo info?
>From your message, I can deduce that majordomo lives in
/usr/local/majordomo
This means that /, /usr, and /usr/local all need chmod go-w
You will most likely need to chmod -R go-w /usr/local/majordomo
I do not see anything wrong with using majordomo.aliases, but I use a
different strategy to keep sendmail happy. I have a ~majordomo/aliases,
but I create a link owned by root in /etc/mail called majordomo.aliases,
and change my sendmail.cf to look in /etc/mail for the file instead of
/usr/local/majordomo.
ln -s /usr/local/majordomo/aliases /etc/mail/majordomo.aliases
and in sendmail.cf
# location of alias file
O AliasFile=/etc/aliases, /etc/mail/majordomo.aliases
also in sendmail.cf, you need to trust your majordomo user
Tmajordom
or
Tmajordomo
depending on what you have in your password file for this user.
If you have no untrusted shell users on the box where you installed
majordomo, you do not need to worry about security as much either.
Dan Liston
Joe Klemmer wrote:
>
> I'm sorry if this post has appeared more than once but I haven't
> seen it come back through the list and the problem is fairly critical. I
> need to get it fixed by Monday. Thank you for your patience.
>
> First let me say that I have been all over the FAQ and the list
> archives and I haven't found an answer to this particular problem I have.
> Lots of stuff that's close and very similar but not the same.
>
> I am running -
>
> Majordomo 1.94.5 (built from the tarball)
> Red Hat Linux 6.2 system with upgraded RPMs
> perl version is 5.00503
> sendmail is 8.9.3
>
> I have setup some test lists and, as seems to happen with this
> kind of problem, you can subscribe, unsubscribe, get the list and who and
> all that. You just can't post to the list. The error message from
> sendmail is -
>
> ----- Transcript of session follows -----
> 550 :include:/usr/local/majordomo/lists/kegnet... Cannot open
> /usr/local/majordomo/lists/kegnet: Permission denied
> 554 kegnet-list... aliasing/forwarding loop broken
>
> The strange part of the problem is that in the FAQ and the list
> archives it says to make all the directories chmod 750 and the files 644
> (or 640 as needed) and things should work. Here is the listing of the
> majordomo directory and the lists directory so you can see that I do have
> the ownership and permissions set correctly as far as I can tell from the
> docs/FAQ/list archives -
>
> [root@lists majordomo]# ls -l
> total 320
> -rw-rw-r-- 1 majordom daemon 3146 Aug 3 23:17 Log
> drwxr-xr-x 2 majordom daemon 4096 Jul 26 20:57 Tools
> -rwxr-xr-x 1 majordom daemon 5267 Jul 25 21:04 archive2.pl
> drwxr-xr-x 2 majordom daemon 4096 Jul 25 21:04 bin
> -rwxr-xr-x 1 majordom daemon 2795 Jul 25 21:04 bounce-remind
> -rwxr-xr-x 1 majordom daemon 10671 Jul 25 21:04 config-test
> -rwxr-xr-x 1 majordom daemon 51130 Jul 25 21:04 config_parse.pl
> -rwxr-xr-x 1 majordom daemon 14201 Jul 25 21:04 digest
> drwxr-x--- 2 majordom daemon 4096 Aug 3 23:17 lists
> -rwxr-xr-x 1 majordom daemon 62511 Jul 25 21:04 majordomo
> -rw-r--r-- 1 majordom daemon 1025 Aug 1 17:57 majordomo.aliases
> -rw-r--r-- 1 root root 20480 Aug 1 18:10 majordomo.aliases.db
> -rw-r--r-- 1 majordom daemon 10468 Jul 25 21:04 majordomo.cf
> -rwxr-xr-x 1 majordom daemon 24381 Jul 25 21:04 majordomo.pl
> -rwxr-xr-x 1 majordom daemon 137 Jul 25 21:04 majordomo_version.pl
> drwxr-xr-x 4 majordom daemon 4096 Jul 25 21:04 man
> -rwxr-xr-x 1 majordom daemon 3791 Jul 25 21:04 request-answer
> -rwxr-xr-x 1 majordom daemon 29919 Jul 25 21:04 resend
> -rw-r--r-- 1 majordom daemon 10462 Jul 25 21:04 sample.cf
> -rwxr-xr-x 1 majordom daemon 8060 Jul 25 21:04 shlock.pl
> -rwsr-xr-x 1 root daemon 14902 Jul 25 21:04 wrapper
>
> [root@lists lists]# ls -l
> total 72
> -rw-rw-r-- 1 majordom daemon 0 Aug 1 18:30 helpdesk
> -rw-rw---- 1 majordom daemon 16523 Jul 30 03:29 helpdesk.config
> -rw-r--r-- 1 majordom daemon 467 Aug 3 18:51 helpdesk.info
> -rw-r--r-- 1 majordom daemon 0 Aug 3 23:17 kegnet
> -rw-rw---- 1 majordom daemon 16712 Aug 3 21:17 kegnet.config
> -rw-r--r-- 1 majordom daemon 483 Aug 3 18:51 kegnet.info
> -rw-r--r-- 1 majordom daemon 0 Jul 25 21:23 test
> -rw-rw---- 1 majordom daemon 16482 Jul 25 21:29 test.config
> -rw-r--r-- 1 majordom daemon 75 Jul 30 03:17 test.info
>
> If anyone has any idea what I need to do to get this working
> please let me know. It's a very important project and if I can get this
> working it will be a HUGE boost for the open source world.
>
> ---
> The most exciting phrase to hear in science, the one that heralds new
> discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
> -- Isaac Asimov
References:
|
|