If you do not care about mail that is queued up, be
careful not to delete files in the wrong directory.
The "waiting to be delivered" messages will have
filenames of dfAAA12345 qfAAA12345. These are a
data file and queue (control) file for each message.
They usually live in /var/spool/mqueue, not
Majordomo does not add or change message IDs, the MTA
handles that. If you are getting a loop with identical
IDs, your aliases might be at fault. This is not my
strong area, so maybe some digging around on the sendmail
site, or one of the other majordomo-users can provide
Note too, that the nobody you added to the alias should
have been comma nobody (,nobody) and it should be inside
the quoted portion of the pipe to wrapper.
Stu Miller wrote:
> Thanks for the help. Don't have access to my main
> account so replying direct to you, will copy the list
> as follow-up later today.
> Added majordom as trusted in sendmail.cf and "nobody"
> as last parameter in resend line in aliases. Also used
> your recipe in $list.config to prevent loops.
> Two final questions that don't necessarily concern
> other list members. The message ids were in fact
> identical. Can I assume that this means that resend
> was doing the looping and not sendmail? What is the
> best way to clean out the mail queue? Stop sendmail
> and then delete all temp files in \var\spool\mail
> (assuming you don't care about any pending mail).
> Thanks again.
> Stu Miller
> Taratec Development Corporation
> Phone: 908.725.8090 x146
> Cell: 856.495.7541
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/