Re: [exim] finding destination account at SMTP time

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Tony Finch
Data:  
Para: Arkadiusz Miskiewicz
CC: exim-users
Asunto: Re: [exim] finding destination account at SMTP time
On Tue, 25 Jan 2005, Arkadiusz Miskiewicz wrote:
>
> Now the case is a bit more complicated. There is host A (which hosts users
> mailboxes) and host B which acts ac incoming (MX) / outgoing smtp host.
>
> I need to know on host B which mailbox account will be used for
> xys@??? alias. That information is known by A in $address_data.
>
> Hm, I could duplicate config from host A on B and make all these routers as
> verify_only + set $address_data but I'm trying to avoid config duplication
> because it's going to be a mess with more machines.


Yes, you'll have to do something like that.

There are a number of ways to make config duplication more manageable:

* Have a cron job to copy the relevant tables periodically

* Use a shared database (LDAP, etc.)

* Move the alias processing to the MX so that host A is just a dumb
message store

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}