D G Teed wrote:
>
>I think my answer is to edit SMTPDirect.py to set the
>Sender and Return Path, but I'm not sure what variable
>I need to use there. Is 'mlist.owner[:]' what I'll need?
>I'd want the specific list owner, not the site mailman owner.
What you need is mlist.GetOwnerEmail() which will get the
[EMAIL PROTECTED] address.
You don't want mlist.owner[:] because that is a list and you can't have
a list of addresses as the SMTP MAIL FROM address (envelope sender).
Any mail returned to the [EMAIL PROTECTED] address gets delivered
to the owner(s) and moderator(s).
>None of these are publicly subscribe-able lists, so the features
>of bounce processing are not valuable to us.
There are lots of reasons why addresses on even non-public lists become
undeliverable, but presumably, you are willing to deal with these
manually.
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')
The else: clause comes into play for messages that don't come from a
list, e.g. monthly password reminders.
--
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