
All -
I did make that migration from majordomo to Mailman 1.2 beta 1 (checked out of cvs on 02/23/00) and only ran into one issue. One of my users had the following email address while using majordomo:
"Tim O'Flynn/DUB/xxxx" <Tim_O'Flynn@xxxx.com>
I used the bin/add_members script to import the list. This had no problems. The resulting email address in Mailman was:
tim_o'flynn@xxxx.com
The problem was sending mail to this list would result in the follwing error:
post(32390): File "/home/mailman/scripts/post", line 86, in ? post(32390): main() post(32390): File "/home/mailman/scripts/post", line 62, in main post(32390): mlist.Post(msg) post(32390): File "/home/mailman/Mailman/MailList.py", line 1260, in Post post(32390): Mailman.Handlers.HandlerAPI.DeliverToList(self, msg) post(32390): File "/home/mailman/Mailman/Handlers/HandlerAPI.py", line 55, in DeliverToList post(32390): func(mlist, msg) post(32390): File "/home/mailman/Mailman/Handlers/Sendmail.py", line 88, in process post(32390): raise SendmailHandlerError(errcode) post(32390): Mailman.Handlers.Sendmail . SendmailHandlerError : 2
Also, a MAILER-DEAMON error was sent to the sender whenever they posted to the list. The error showed the above trace back and that a shell error had occured while processing the mail.
Any thoughts on how to solve this? It should be easy to replicate. If someone writes a patch and it get's commited to cvs I'll update my copy and confirm the patch works.
BTW, once again, I know I've said it before, THANK YOU FOR AN OUTSTANDING PRODUCT.
Oh, I'm using postfix as my mail agaent, btw. Not sure if that mattered in the whole thing.
-- Regards, Scott Russell (scottrus@raleigh.ibm.com) Linux Technology Center, System Admin Red Hat Certified Engineer

"SR" == Scott Russell <scottrus@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@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@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

"SR" == Scott Russell <scottrus@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@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@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
participants (2)
-
Barry A. Warsaw
-
Scott Russell