Wouter van Marle: > Hi list, > > I am trying to run a second instance of postfix for a separate queue > (see my thread "Prioritising outgoing mail" for why). I have followed > information on the Internet but still can't get it running. > > I have set up a second instance with a second IP and separate config and > spool directories, but am stuck with the /var/lib/postfix/master.lock > file. I can not find where I can change this, so the second instance can > create it's own lockfile e.g. /var/lib/postfix/master2.lock > or /var/lib/postfix2/master.lock. All the tutorials/howtos I have found > on the net completely ignore this issue. > > The /var/spool/postfix2/pid/master.pid file is created. Spool dirs and > so are all in place.
Every Postfix instance must have its own config_directory, queue_directory AND DATA_DIRECTORY. Postfix 2.6 has multi-instance support built-in. It will be released once I have time to clean up the documentation. Wietse