[Mailman-Users] Editing SMTPDirect.py

Rob Hackney Rob.hackney at tkcsales.co.uk
Mon Jul 26 14:56:11 CEST 2004

I am having the problem detailed in:
And have used the hack described.  This shouldn't create problems for us
as we run an announce only list.
Any replies get sent to list admin and if some does a reply_all then
this has an autoresponder stating announce only list.
I've also tested with duff email addresses and all seem ok.
I don't know python and doubt I can pick it up that quickly so this
question may seem daft.
I am wondering whether is is possible to edit the line:

msg['Sender'] = envsender 
And replace the envsender with an actual name and email address that
will be used everytime a newsletter etc is sent out?
msg['Sender'] = (Company Newsletter 'newsletter at list.domain.co.uk')

Haven't been able to find any other relevant info

This email is confidential and intended solely for the use of the individual(s) to whom it is addressed.  It should not be deemed to constitute a binding contract between TKC Group and the recipient(s) unless a purchase order number is quoted.  Any views or opinions presented are solely those of the author and do not necessarily represent those of TKC Group Ltd.  If you are not the intended recipient(s), please do not copy or disclose its contents. Please return it to: postmaster at tkcsales.co.uk then delete the email.

Scanned for viruses by MailDefender

More information about the Mailman-Users mailing list