Wayne Ribbens quotes me:

><There are two obvious ways that jump to mind.
>
>The first, which will address the bounce issue for all mail, is the 
>following code at the beginning of the process() function in 
>Mailman/Handlers/SMTPDirect.py
>
>    # 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')
>
>which could simply be replaced by something like
>
>    # Envelope sender (bounces) is always the site list.
>    envsender = 'mailman at name.com'>


and adds:


>I put in
>
>    envsender = '[EMAIL PROTECTED]'
>
>where the address was a valid address and nothing changes.


What does 'nothing changes' mean in this context? What was happening
before that you wanted to change, but is still happening?


>Do I have to do anything besides modify SMTPDirect.py to make this work?


Assuming you haven't changed DELIVERY_MODULE in mm_cfg.py, that should
cause bounces from all but the most pathological MTAs to be returned
to the [EMAIL PROTECTED] address.

Are you sure you patched the correct SMTPDirect.py, i.e. the one in the
installation  hierarchy and not in the unpack/configure hierarchy?

You do have to do 'bin/mailmanctl restart' following this change.

-- 
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