OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: 2nd instance of postfix vs smtp

From: Donald Roeber (droeberisc.upenn.edu)
Date: Fri Aug 26 2005 - 13:15:13 CDT


On Aug 26, 2005, at 12:22 PM, Victor Duchovni wrote:
>
> The only tricky part is arranging to start/stop all the various
> instances
> and occasionaly upgrade their configuration. Better support for
> this is
> likely forthcoming in the 2.3 release. It is not difficult to do
> something
> ad-hoc for now (start scripts for extra instances), manual "postfix
> -c"
> options to upgrade each instance.
>

I've found that it's very easy to maintain a list of instances that
get started and stopped with other instances using the
slave_config_directories variable. THe alternate_config_directories
variable takes care of making sure that all of the instances gets
their configuration files upgraded. Both of these variables were
introduced with the Postfix 2.2 multi-instance patch, which is
available on your website :)

I agree wholeheartedly. Use separate instances for postfix instances
that need to do different things. Use multiple listeners for small
things, like separate TLS certificates for individual domains. My
rule of thumb is simple; if I need to make more than one change in
master.cf to do what I want to do, I make a new instance and tie it
into the rest of the postfix setup by using the
alternate_config_directories and slave_config_directories variables.

--
Donald Roeber
ISC Networking