[Exim] lmtp transport for a domain spread about two servers

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philipp Sacha
Dátum:  
Címzett: exim-users
Tárgy: [Exim] lmtp transport for a domain spread about two servers
Hi,

i am trying to create a setup where the mail accounts for a domain are
spread about two mailservers. Exim resides on another server and should
deliver the mail through lmtp over tcp to the mailservers. Therefor i
have setup the following transport:

lmtp_delivery:
driver = smtp
protocol = lmtp
hosts = ${extract{mailhost}{$address_data}}
envelope_to_add

When delivering mail to mailgroup for example with two users, each of
them on a different mailserver exim tries to deliver both mails to the
mailhost that it finds for the first user. That means that hosts seems
not to be expanded for the second user in the group. I have tried to set
host_override, but that doesn´t solve the problem.

Now i have added a "max_rcpt = 1" to the transport and that works fine.

What i would like to know is, whether there are better approaches for
such a configuration, because now exim will open a seperate lmtp
connection for each recipient. Is it perhaps possible to batch together
all the recipients for mailserver1 and for mailserver2?


Regards,

Philipp



--
Philipp Sacha mailto:psacha@blue-cable.net