On Tuesday 14 December 2010 17:10:46 Felipe Augusto van de Wiel wrote:
> Now, there is no such logic that I'm aware of to solve your problem.
> If a node has mail OR mailAlternateAddress email will be delivered.
> 
> If you enable cluster mode, you could point the entire use to a
> single host.
> 
> What may solve your problem is a delivery program, like procmail or
> something alike. That way, you code make some magic to check the
> address and specifically forward the message to another server.

Never tried it, but it might be possible with serialmail [1] or a tool like 
swaks [2], which will be invoked through a .qmail file in the user's maildir 
and thus piping the mail through one of these tools to the remote server. But 
you have to take care of the return codes, so a failed attempt to connect and 
deliver to the remote server will not result in a mail-loss, but stays in the 
local queue until this problem is fixed.

Cheers,
Matthias

[1] http://cr.yp.to/serialmail.html
[2] http://jetmore.org/john/code/swaks/

Reply via email to