Re: [exim] SMTP Forwarder

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dominic Benson
Date:  
À: exim-users@exim.org
Sujet: Re: [exim] SMTP Forwarder
On 30/11/10 08:59, Odhiambo Washington wrote:
> On Mon, Nov 29, 2010 at 2:56 PM, Grimm, Michael<michael.grimm@???>wrote:
>
>
>> Configure an internal Exim installation to accept these "faked" emails
>> Forward them to the Exchange server
>> replacing the faked senders address with the valid adress of the account
>> dedicated to the ERP-System.
>>
>> Is this possible?
>>
> Yes it is.
>
> There is something called "header rewriting" in Exim that you can use to
> accomplish the " replacing the faked senders address with the valid
> address".
>
> You can rewrite headers as they come into Exim both ways - when they come in
> to be sent out and when they return from outside, to be delivered
> internally.
>
>


Depending on exactly how the Exchange server is configured, you might be
able to achieve this by using add_header to add either a "Sender"
header, or a "Resent-From" header with the authorised address. The
former is more standard, but the latter is what Exchange uses when
redirecting through distribution lists/mail contact aliases.

Maybe Exchange still won't accept it, in which case Odhiambo's approach
should do the trick; if it does work, at least recipients would still be
able to see on whose behalf the message was originally sent.