Your alias for majordomo should look like this:
majordomo: "|/usr/local/majordomo/wrapper majordomo"
owner-majordomo: postmaster, #or whoever
majordomo-owner: owner-majordomo
Your Tmajordomo setting in sendmail.cf if fine as
long as "majordomo" is exactly the same as it is
listed in the /etc/passwd file. (no typos)
The wrapper program should have the suid bit set.
What do your DM, DH, DR, and DS lines in sendmail.cf
look like? Of course, these have not caused me any
problems in the past, but should be considered and
examined for MX records that may be getting in your
way.
Dan Liston
wayne.pascoe@realtime.co.uk wrote:
>
> Hi all,
>
> I have read the section in the FAQ and done as suggested, but I am still
> getting this error:
>
> ----- The following addresses had permanent fatal errors -----
> "|/etc/smrsh/wrapper majordomo"
> (reason: service unavailable)
> (expanded from: <majordomo@xxx.xxx.co.uk>)
>
> ----- Transcript of session follows -----
> Message delivered to mailing list <majordomo@xxx.xxx.co.uk>
> smrsh: wrapper not available for sendmail programs
> 554 5.0.0 "|/etc/smrsh/wrapper majordomo"... Service unavailable
>
> In /etc/smrsh I have
>
> [root@mybox smrsh]# ls -la
> total 8
> drwxr-xr-x 2 root root 4096 Jul 4 12:50 ./
> drwx--x--x 34 root adm 4096 Jul 4 12:53 ../
> lrwxrwxrwx 1 root root 28 Jul 4 12:50 wrapper -> /usr/local/majordomo/wrapper*
>
> In my aliases file, I have tried
> |/usr/local/majordomo/wrapper majordomo
> and
> |/etc/smrsh/wrapper majordomo
>
> The files in /usr/local/majordomo are owned by majordomo and group
> majordomo. In /etc/sendmail.cf I have a line
> Tmajordomo
>
> I have stopped and restarted sendmail after each of these steps.
>
> I also tried
> T1004
> which is the uid for majordomo
>
> The permissions on files in /usr/local/majordomo are
> 750 majordomo:majordomo
> except for wrapper which is
> 755 root:majordomo
>
> Any advice on how to fix this would be much appreciated!
>
> Thanks,
>
> --
> Wayne Pascoe <wayne.pascoe@realtime.co.uk>
Follow-Ups:
References:
|
|