Mark Sapiro wrote:
>
>If I understand what you want, you can accomplish it by finding the code
>
> # Calculate the non-VERP envelope sender.
> envsender = msgdata.get('envsender')
> if envsender is None:
> if mlist:
> envsender = mlist.GetBouncesEmail()
> else:
> envsender = Utils.get_site_email(extra='bounces')
>
>at the beginning of process() in SMTPDirect.py and changing it to
>
> # Calculate the non-VERP envelope sender.
> if mlist:
> envsender = mlist.GetOwnerEmail()
> else:
> envsender = Utils.get_site_email(extra='owner')
Actually, the above change is a bad idea. It should really be
# Calculate the non-VERP envelope sender.
envsender = msgdata.get('envsender')
if envsender is None:
if mlist:
envsender = mlist.GetOwnerEmail()
else:
envsender = Utils.get_site_email(extra='owner')
You shouldn't ignore the envsender in the message metadata. It exists
to prevent bounce loops. I was thinking they wouldn't occur if the
bounces were sent to the list owner directly, but of course, a list
owner's address can be undeliverable for many reasons and loops can
still occur.
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp