|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Live modification of smtp_bind_address
From: Emmanuel Lacour (elacour
easter-eggs.com)
Date: Fri Dec 02 2005 - 05:15:16 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Dec 02, 2005 at 11:21:21AM +0100, Emmanuel Lacour wrote:
>
> Hi,
>
> I would like to route mails via différent smtp_bind_address based on a
> mail header or an address mail extension.
>
> My first idea was to define one smtp for each IP in master.cf like this:
>
> smtp-25 unix - - - - - smtp -o smtp_bind_address=10.0.0.25
> smtp-24 unix - - - - - smtp -o smtp_bind_address=10.0.0.26
>
>
I'm able to make it working with a transport maps based on email
extension:
/^(.*)\+(.*)
(.*)$/ smtp-$2:
but I now need to remove the extension before sending. Is this possible?
--
Emmanuel Lacour ------------------------------------ Easter-eggs
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 41 35 00 76
mailto:elacour
easter-eggs.com - http://www.easter-eggs.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]