Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Darren Pilgrim (postfixbitfreak.org)
Date: Thu Dec 18 2008 - 00:15:39 CST
Rob Tanner wrote:
> I need to run a separate instance of postfix in order to accommodate a
> FAX server. I created the directory /etc/postfix/fax and copied and
> customized the main.cf and master.cf files from the default directory to
> this new directory. I also copied post-install, postfix-files and
> postfix-script. I also crated the directory /var/spool/postfix/pid/fax
> for the pid files and explicitly declared it in main.cf
> (process_id_directory = /var/spool/postfix/pid/fax). When I do an
> initial attempt to start the postfix instance, I get a message that
> postfix is already running. Note, also, that the message says
> postfix/postfix-script rather than postfix/fax/postfix-script.
> [rootneskowin ~]# postfix -c /etc/postfix/fax start
> postfix/postfix-script: fatal: the Postfix mail system is already running
> [rootneskowin ~]#
> I'm running Postfix 2.2.10. Is there something more I need to do in the
> setup to get this second instance running?
You need separate queue_directory and data_directory locations for each
instance. process_id_directory is defined relative to queue_directory.
On a side note, are you sure you really need a second instance? Extra
services can be enabled in master.cf and you can override with the -o
flag pretty much anything you can specify in main.cf.