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: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Tue Nov 01 2005 - 15:38:32 CST


On Tue, Nov 01, 2005 at 02:10:04PM -0600, Adi Linden wrote:

> > 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.

No.

> 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?
>

Disjoint ip:port TCP listen end-points, and typically a different
syslog-name so that your logs make sense. Two Postfix instances that have
queue directories in different filesystems should have different settings
for "myhostname" (otherwise message-ids are not guaranteed unique).

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.