On 2014-01-18, Chris Knadle <[email protected]> wrote:
> On Saturday, January 18, 2014 16:28:41 Jeremy Harris wrote:
>> On 18/01/14 16:16, Chris Knadle wrote:
>> > Is there a way of setting what IP address should be used to send out mail?
>> 
>> Interface option on the smtp transport.  It's an expanded string, so for
>> your case make it conditional on "is-mailinglist".  Presence of a
>> suitable header line is probably a good marker.
>> 
>> http://exim.org/exim-html-current/doc/html/spec_html/ch-the_smtp_transport.h
>> tml#SECID146
>
> Yep, the interface option in the transport did it.  Thank you very much.  
> (And 
> I'm a bit in awe at how quickly and concisely you answered this.)
>
> Furthermore I think you're implying with a conditional that I could end up 
> merging the two separate daemons/configurations back into one and yet 
> accomplish the same thing.  :-O  Nice.

You could, but to get that setting to work reliably you need to also set 
SMTP_RCPT_MAX=1, this will hurt efficiency. 

A better approach is to set it statically but duplicate the transport 
, have one for each interface and then, in the router, use a conditon 
or use an expansion for the transport name.

-- 
For a good time: install ntp

-- 
## 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