This error is not a mail loop, but I may have missed some messages
to this list in the last couple weeks. The error message you are
seeing indicates that sendmail has smrsh enabled. For smrsh to
work, you need a link to the majordomo wrapper in the smrsh work
directory. I do not see any indicators of your OS in your message,
so all I can suggest is to run strings against your smrsh and pipe
it through grep.
Your sendmail.cf will give you the location of smrsh.
`grep smrsh /etc/mail/sendmail.cf /etc/sendmail.cf`
/etc/mail/sendmail.cf:Mprog, P=/usr/sbin/smrsh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D=$z:/,
/etc/mail/sendmail.cf: A=smrsh -c $u
`strings /usr/sbin/smrsh | grep "/" | grep -v "@"`
gets you something like;
It may not be obvious, but the directory you are looking for in
this case, is /etc/smrsh. The first and last lines represent
filenames, and the third line identifies a path. This leaves
you with just /etc/smrsh as the directory to create the link to
`ln -s /path/to/majordomo-1.94.5/wrapper /etc/smrsh/wrapper`
Of course, you could also disable smrsh by commenting out
in your sendmail.mc file and rebuilding the sendmail.cf.
As for the original message about "punting to avoid mail loop",
is caused by an attempt to send mail to majordom from majordom.
Mail should be sent out as majordomo only in reply to specific
user commands like "lists", "help", or "subscribe".
Charlie Smith wrote:
> I was having the same problem. A static conduit was needed to be built and a coporate mail server needed to route to my server. I also had to add my host name to the local-host-names files. However, I am still getting error:
> The original message was received at foo date
> from [ip.for.relay.here]
> ----- The following addresses had permanent fatal errors -----
> "|/path/to/majordomo-1.94.5/wrapper resend -l testadmin testadmin-list"
> (reason: Service unavailable)
> (expanded from: <email@example.com>)
> ----- Transcript of session follows -----
> Message delivered to mailing list <firstname.lastname@example.org>
> smrsh: "wrapper" not available for sendmail programs (stat failed)
> 554 5.0.0 Service unavailable
>>>>"Bob MacMunn" <email@example.com> 10/14/03 08:54AM >>>
> Hi all,
> I am seeing a mail loop for majordomo. I took out the aliases for
> it and now see these messages.
>>From firstname.lastname@example.org Tue Oct 14 10:48:56 2003
> Date: Tue, 14 Oct 2003 10:48:51 -0400 (EDT)
> From: email@example.com
> Message-Id: <200310141448.h9EEmpDw015548@reef.edocs.com>
> To: firstname.lastname@example.org
> Subject: MAJORDOMO ABORT (mj_majordomo)
> Content-Length: 93
> MAJORDOMO ABORT (mj_majordomo)!!
> email@example.com punting to avoid mail loop.
> Here is what I have in the aliases file.
> #majordom: "|/usr/test/majordomo-1.94.5/wrapper majordomo"
> owner-majordomo: ccarol
> majordomo-owner: ccarol
> Thanks in advance
> This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed.