It's possible to run seperate instances of postfix on a single host (provided postfix is configured properly) To make it work the init scripts need to pass the "-c /etc/postfix.alt/" parameter. So what I did was to modify the init scripts to work like the openvpn scripts for multiple instances. /etc/init.d/postfix will start postfix from the normal dir (/etc/postfix) then make a symlnk /etc/init.d/postfix.gate will start postfix from /etc/postfix.gate and so forth There are no changes in /etc/conf.d
Created attachment 110185 [details, diff] Modifies /etc/init.d/postfix to support multiple instances like openvn script does This is closely related to the /etc/init.d/openvpn script. It was a copy, paste, tweak job
Hi David, i implemented it in postfix-2.5.0 and 2.5.1. Please try and report if there is some trouble. Thanks for the idea and the patch.