Bug 166872 - mail-mta/postfix - /etc/init.d/postfix does not support multiple instances
|
Bug#:
166872
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: net-mail@gentoo.org
|
Reported By: code@edoceo.com
|
|
Component: Server
|
|
|
URL:
|
|
Summary: mail-mta/postfix - /etc/init.d/postfix does not support multiple instances
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-02-14 18:11 0000
|
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 an attachment (id=110185) [details]
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.