|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Live modification of smtp_bind_address
From: Emmanuel Lacour (elacour
easter-eggs.com)
Date: Fri Dec 02 2005 - 04:21:21 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
then use header_checks with something like this:
/^X-Client: (.*)$/ FILTER smtp-$1:
but of course, it couldn't work. Maybe there is a way of specifying
another type of entrie , not "smtp" in master.cf to only make postfix
use another configuration of smtp_bind_address for this message.
Any hint?
--
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 ]