In the past, including up to 2.11.3, I compiled Postfix and ran two instances of it with different IPs. One was an MX, and the other dedicated SMTP. The dedicated SMTP instance required a unique queue_directory, slightly different init script, etc. The dedicated SMTP instance used a config directory /etc/postfix-internal , and in main.cf we had:
config_directory = /etc/postfix-internal In 3.0 INSTALL instructions, I read: ******************* 4.6.1 - Postfix 3.0 and later All Postfix configuration parameters can be changed by editing a Postfix configuration file, except for one: the parameter that specifies the location of Postfix configuration files. In order to build Postfix with a configuration directory other than /etc/postfix, use: $ make makefiles config_directory=/some/where ...other arguments... $ make ****************** Do I now need a second set of binaries compiled for the second instance? If so, what is the best way to set that up? Do I simply add a unique daemon_directory and config_directory to make makefiles args? I normally compiled Postfix with these arguments to make makefiles... make makefiles CCARGS='-fPIC -DUSE_TLS -DUSE_SSL -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DPREFIX=\"/usr\" -DHAS_PCRE -DSNAPSHOT -I/usr/include/openssl -I/usr/include/sasl -I/usr/include' AUXLIBS='-L/usr/lib -L/usr/lib/openssl -lssl -lcrypto -lsasl2 -lpcre -lz -lm -llber -Wl,-rpath,/usr/lib/openssl -pie -Wl,-z,relro'