[Sysadmin] (Fwd) Undeliverable Mail

Dean Mah dmah at members.evolt.org
Fri Jan 17 14:16:20 CST 2003


On Fri, Jan 17, 2003 at 05:28:30PM -0000, William Anderson wrote:
> Dean Mah wrote:
> > Here's the update.
> >
> > X-Original-To: (cf. URL 1) was added to postfix in Oct 2002 but it
> > turns out that it is only for when used as a local delivery agent
> > (LDA) or sending through UUCP.
> >
> > I tried to add the header by hacking the cleanup routines as suggested
> > in the second post.  Unfortunately, it appears that the message only
> > goes through the cleanup routines once and not for each individual
> > recipient.  So it would appear that *we* need to hack the postfix's
> > smtp process which looks to be considerably more difficult without
> > knowing the code.  The state machine is probably straight-forward but
> > knowing if and how you can access the headers at that late stage is
> > going to take some figuring.
>
> ewww, and doesn't sound very portable either (e.g. if we migrated list
> services to, say, the eouk raq, which runs qmail)

Correct.  Of course, if we can track down a few of these bounces
immediately, we might not need to worry about it again for a while.
Or qmail might have something built into it that displays the original
recipient.  Note, I don't think this would be the case though.  Most
people usually view including the original recipient on the sending
side as a privacy issue, especially if someone was meant to be bcc'ed
on the mail.


> I'm sure there's a way for mailman to do this - I'll do some poking and
> prodding over the w/end if i can find time.

That'd be good.  Although since mailman, as configured, sends the
message and a list of e-mail addresses to the MTA, I don't think that
it will be possible without changing the configuration, i.e., sending
each e-mail individually to the MTA.  Which means, of course, that
performance and bandwidth usage suffers.

Dean



More information about the Sysadmin mailing list