Re: [exim] Return reciept on forward

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Magnus Holmgren
Date:  
À: 'Exim users list'
CC: Timothy M. Spear
Sujet: Re: [exim] Return reciept on forward
Timothy M. Spear wrote:
> Alan,
>     This gives me an idea I have not pursued yet (in fact I am not even
> sure where to start :-). Since I can have multiple addresses on a single
> machine, would it be possible to tell exim to route outbound messages via
> alternate network interfaces based on a condition (such as sender <>)? I
> have a separate IP address block for development machines in a secondary
> lab. I could static route one of the IP addresses from the lab to my primary
> mail server and have it become my sacrificial target.


Maybe you've found it out yourself by now, but the smtp transport has an
interface option, which is subject to string expansion. You can probably
use it.

interface = ${if !def:sender_address {SACR_IF_ADDR}{NORMAL_IF_ADDR}}

--
Magnus Holmgren