Stefan Förster wrote: > > some of my list members have a mail address like recipi...@example.com > - nothing special about that. When mail is delivered to their address, > their ISPs mail server rewrite the address internally to > recipi...@intern.example.com and try to deliver them to the users > mailbox. If for any reason, e.g. quota, this fails, a NDR/DSN is sent > with the new name: > [...] > X-Failed-Recipients: recipi...@intern.example.com > Auto-Submitted: auto-replied > From: Mail Delivery System <mailer-dae...@example.com> > To: invalidlist-boun...@lists.incertum.net > Subject: Mail delivery failed: returning message to sender > Message-Id: <e1mohvf-0007qp...@mbox134.example.com> > Date: Tue, 07 Jul 2009 23:09:53 +0200 > X-purgate-ID: 149285::1247000993-000022A6-9D72E1E7/0-0/0-18 > > This message was created automatically by mail delivery software. > > A message that you sent could not be delivered to one or more of its > recipients. This is a permanent error. The following address(es) failed: > > save to inbox > generated by recipi...@intern.example.com > mailbox is full: retry timeout exceeded > > Is there any way to rewrite those addresses or to help Mailman > identify those bounces correctly? > > And yes, this a pretty stupid thing to do on their ISPs part...
Mailman has a whole host of heuristic recognizers for non-compliant DSNs, but it doesn't try to guess if a non-member bouncing address might be a munged version of a member address. The 'best' solution for recognizing original recipients of bounced messages is Mailman's VERP like capability. This puts the original recipient's address in the envelope sender address so the envelope in this case is from invalidlist-bounces+recipient=example....@lists.incertum.net. When the bounce is returned to that address, the MTA delivers it to the list-bounces address and Mailman recognizes the original recipient as recipi...@example.com from the envelope recipient of the DSN. The cost of this approach is that Mailman has to send an individual message to the outgoing MTA for each recipient. -- Mark Sapiro <m...@msapiro.net> 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://wiki.list.org/x/AgA3 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://wiki.list.org/x/QIA9