Hi Mark,
Thanks for your response and suggestions.
I modified the Mailman/Handlers/SMTPDirect.py per you suggestions.
The unix_sysadmin-bounce emails now get redirected to [EMAIL PROTECTED]
That is the good part.
But what is happening now is that the mailman server keeps spitting out
these emails to the mailman mail list. Every few minutes I am bomarded with
these emails from the mailman mail list. The relevant contents are:
Reporting-MTA: dns; utc80.name.com
Received-From-MTA: DNS; localhost
Arrival-Date: Thu, 23 Feb 2006 16:13:39 -0800 (PST)
Final-Recipient: RFC822; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mailhost.name.com
Diagnostic-Code: SMTP; 550 5.1.1 <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>... User
unknown
Last-Attempt-Date: Thu, 23 Feb 2006 16:13:39 -0800 (PST)
Seems that the mailman server (utc80) is re-trying to send to
[EMAIL PROTECTED], although it knows that this is an unknown
user.
Could you tell me how to go about fixing this?
Thanks
Tom
On 2/12/06, Mark Sapiro <[EMAIL PROTECTED]> wrote:
>
> Tom Kavanaugh wrote:
> >
> >>If you're thinking that you can get around the issue by having all
> bounces
> >from any list be
> >>returned to the 'mailman' list posting address, you could do this in the
> >source code, but >not by using aliases on mine.name.com.
> >
> >Yes, this is precisely what I want to accomplish. Could you point me to
> some
> >place, or the portion of the code that needs to be tinkered with. I am
> not a
> >perl/python person, so this is going to be a huge learning curve for 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 = '[EMAIL PROTECTED]'
>
> Don't worry about VERP because it is calculated from envsender.
>
> Another way to do it would be to modify the getListAddress() method
> definition in Mailman/MailList.py to just return '[EMAIL PROTECTED]'
> when extra is not None and similarly modify get_site_email() in
> Mailman/Utils.py to ignore the extra argument.
>
> Then it might be possible to do it in your outgoing MTA, not with
> aliases, but with some kind of rewrite of the envelope sender on
> outgoing mail if your MTA supports such a thing.
>
> --
> 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