Tom Kavanaugh wrote:
>
>I am currently re-directing all the lists -admin -bounce -owner -confirm
>-join -leave -owner -request -subscribe -unsubsribe to [EMAIL PROTECTED]
>
>Currently, I administer all the mail lists and so this works well.
>
>Going forward, I would like to make the list ownership of each list to the
>relevant project manager. So, the -admin, -bounce, etc of every list will
>have to go to a different email.
>
>My Mailman/Handlers/SMTPDirect.py looks like below. This was done from my
>previous posting in this discussion forum.
># Envelope sender (bounces) is always the site list.
>    envsender = '[EMAIL PROTECTED]'
>
>Is it possible for :
>lista -admin -bounce -owner -confirm etc to go to [EMAIL PROTECTED]
>listb -admin -bounce -owner -confirm etc to go to [EMAIL PROTECTED]
>listc -admin -bounce -owner -confirm etc to go to [EMAIL PROTECTED]


I have looked at the post at
<http://mail.python.org/pipermail/mailman-users/2006-February/049229.html>
and the surrounding thread. I am still a bit hazy on this as it
relates to the -admin, -owner, -confirm, etc. addresses since the
SMTPDirect.py modification only deals with bounces by effectively
replacing the -bounces address with the address of the site list.

The prior thread seems to indicate that using aliases was problematic
because more than one server was involved and you didn't have access
to the incoming mail server for the domain. If it is the case that all
the list mail comes to your server somehow and is then delivered to
Mailman via aliases, then as Patrick suggests, you can use these
aliases to send the mail anywhere you want.

If you want to address just bounces in the same manner as your current
SMTPDirect.py modification that changes

    # 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')

to

    # Envelope sender (bounces) is always the site list.
    envsender = '[EMAIL PROTECTED]'

You could instead change it to

    # Envelope sender (bounces) is always the first list owner.
    if mlist:
        envsender = mlist.owner[0]
    else:
        envsender = '[EMAIL PROTECTED]'

This would set the envelope sender of any message sent on behalf of a
list to the first address in the 'owner' attribute, and set it to the
fixed address if there wasn't a specific list involved.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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&amp;file=faq01.027.htp

Reply via email to