[Mailman-Users] Re: [Mailman-Developers] sendmail exit 2 error on lists
Barry A. Warsaw
bwarsaw at cnri.reston.va.us
Sat Feb 26 22:26:25 CET 2000
>>>>> "SR" == Scott Russell <scottrus at raleigh.ibm.com> writes:
SR> I did make that migration from majordomo to Mailman 1.2 beta 1
SR> (checked out of cvs on 02/23/00) and only ran into one
SR> issue. One of my users had the following email address while
SR> using majordomo:
SR> "Tim O'Flynn/DUB/xxxx" <Tim_O'Flynn at xxxx.com>
SR> I used the bin/add_members script to import the list. This had
SR> no problems. The resulting email address in Mailman was:
SR> tim_o'flynn at xxxx.com
SR> The problem was sending mail to this list would result in the
SR> follwing error:
This is probably due to a shell escape problem with that single
quote. The Sendmail.py delivery module uses os.popen() to invoke an
external sendmail process, which goes through the shell. I'd suggest
trying to switch to the SMTPDirect delivery module, which should avoid
this problem.
Add this line to your Mailman/mm_cfg.py file:
DELIVERY_MODULE = 'SMTPDirect'
You may need to change SMTPHOST and SMTPPORT; see
Mailman/Defaults.py.in for details.
I'm going to make SMTPDirect the default for the 1.2 release.
-Barry
More information about the Mailman-Users
mailing list