procmail
[Top] [All Lists]

Dealing with sub-hosts' bounced email

2002-04-09 00:23:23
I run a server where a few friends host their websites.

A few now run small mailing lists via CGI scripts, and I get all the
bounced mail sent back to me at the "root" account - foo(_at_)localhost

I now have all those bounces going into a separate account.

I notice a common data set in all these bounces and now wish to send
each person's bounces back to them.

Every bounce that comes back always have in it (viewed from a UNIX
mailbox perspective) an originating address in the format
address(_at_)domain(_dot_)com usually on a line like:

From: "Name 1" <info(_at_)domain1(_dot_)com>
From: "Name 2" <info(_at_)domain2(_dot_)com>

etc.,

When downloaded into a local mail client the error message will
sometimes have one or more attachments. Such messages at the server end
appear with headers (part) thus:

Content-Type: multipart/report; report-type=delivery-status;
        boundary="g36AHto90439.1018088275/mydomain.com"
Content-Transfer-Encoding: binary
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--g36AHto90439.1018088275/mydomain.com


Does anyone have a recipe/s that will check the error message for an
email address originating at a domain and/or address at that domain and
if so, send onto a local account or remote address? The final recipe
would pass back to a local account in the event any of my messages
bounced.

Many thanks.

David


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>