OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Multiple instances of smtp and smtpd

From: Adi Linden (adiladis.on.ca)
Date: Tue Nov 01 2005 - 14:10:04 CST


> > Is it possible to have multiple instances of smtpd running on different
> > addresses/ports and process mail depending on which port mail arrived at?
> >
> > On a multi homed server I'd like to send mail out on the interface/source
> > ip it was received on.
> >
>
> This requires multiple Postfix instances rather than multiple service
> instances. Set "inet_interfaces" appropriately for each configuration.

So there is no way to "flag" incoming messages that they arrives on a
certain interface and process the sending based on that flag? Reason I'd
like it that way is that I would like to be able to use the same spam
filtering mechanism already in place.

How would I run a second instance of postfix? I assume the second postfix
instance require seperate config directory (/etc/postfix), queue directory
(/var/spool/postfix), what else?

Adi