"Jack Bryant (beachcitiespc.com)" wrote:

> We have the server sending out mail as [email protected]
>
> When get a bounce or bad email address I would like to redirect this to the
> (reply-to) field that has the correct senders email address.

You send out mail from <[email protected]> with a reply-to header of
(for example) <[email protected]>; you get a bounce message (DSN) to
<[email protected]> and want to send it on to <[email protected]>. Is
that correct?

> What's the best way to achieve this? PIPE script or FILTER?

Your main problem will be to figure out what address to redirect to, I
think. A bounce *may* contain the original message, so you can parse
it and extract the reply-to header, but that's not a given (and there
is no standard format for bounce messages).

*Why* do you send out messages from [email protected] in the first
place?

-thh

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to