RE: [Exim] How to define destination for faulty addresses fo…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Boyle Owen
Datum:  
To: exim-users
Betreff: RE: [Exim] How to define destination for faulty addresses for remote MTA?
>-----Original Message-----
>From: Tim Jackson [mailto:lists@timj.co.uk]


>> is it possible to define an address in a header so that the
>> receiving MTA will send the failure report to that address?
>
>What you are looking for is a fundamental part of SMTP. You need to set
>the SMTP *envelope From*...


OS: Solaris 8
Exim 3.36

Thanks for your reply. That put me on the right track and I subsequently
found http://www.exim.org/FAQ.html#SEC320 which told me to define (in
the router):

    errors_to = bounce-addr@???


That's great and it works, but it is server-wide, i.e. all mail via exim
gets the MAIL FROM: set to this address. However, I want this rule to
apply only to mails sent from a java class bulk-mailer (basically, a
program which sends out a newsletter to a list of subscribers). I define
the bounce-address in a "Sender:" header which I inject into the mail in
the program.

My solution, at the moment, is simply to do:

    errors_to = $header_sender


What seems to happen is that if the "Sender:" header exists, its value
is used in "errors_to" directive and the MAIL FROM and hence the
Return-path is re-written.

If there is no "Sender:" header, as is the case generally, then the MAIL
FROM and Return-path is set to the same as the "From:" header, as
normal.

Does this seem a reasonable solution or are am I missing something even
simpler (I was just a little surprised that I need to edit the
configuration of Exim to get this to work. I'd imagined that there was
simply a header I could set in the MUA...).

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company.