Re: [exim] smtp transport uses wrong server

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Steffen Heil
Υ/ο: exim-users
Αντικείμενο: Re: [exim] smtp transport uses wrong server
On Mon, 17 Sep 2007, Steffen Heil wrote:

> server:
> driver = smtp
> hosts_override = true
> hosts = 127.0.$address_data.1
> interface = 127.0.0.1
> allow_localhost = true
>
> This works for mails, which have one recipient.
> However if a mail has more then one recipient and they have different
> destination systems, they are both routed to the first server.
> exim then simply ignores the value of host for the second call of transport
> server.
>
> Is this a bug?
> What can I do ?


Set max_rcpt=1 on the transport. There is no "second call" because by
default a single call handles multiple recipients.

But a better solution is what Magnus posted: route the different
email addresses to different IP addresses. Then all those at the same IP
address can go in a single transaction.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book