Le 09/11/2010 20:13, motty.cruz a écrit :
Hello,
I have a server running with two instance of Postfix named postfix-in and
postfix-out however when I enter the following command
# postfix status
postfix-in/postfix-script: the Postfix mail system is running: PID: 1241
postfix-in/postfix-script: the Postfix mail system is running: PID: 1241
outgoing/postfix-script: the Postfix mail system is running: PID: 1242
here is the last line of main.cf in /usr/local/etc/postfix-in
content_filter=smtp-amavis:[127.0.0.1]:10024
alternate_config_directories = /usr/local/etc/postfix-out
multi_instance_name = postfix-in
multi_instance_wrapper = ${command_directory}/postmulti -p --
multi_instance_enable = yes
multi_instance_group = mta
multi_instance_directories = /usr/local/etc/postfix
/usr/local/etc/postfix-out
And main.cf of /usr/local/etc/postfix-out
syslog_name = outgoing
multi_instance_name = postfix-out
multi_instance_wrapper = ${command_directory}/postmulti -p --
multi_instance_enable = yes
multi_instance_directories = /usr/local/etc/postfix-out
multi_instance_group = mta
It looks like I'm running postfix-out twice but I can't find the way to fix
it. Please help!,
what makes you believe that? are you bothered with 'postfix status'
returing 3 lines? if so: Even if you try hard, very hard, it is not
possible to run two different processes with same pid on the same OS. so
your postfix status (pid 1241) refer to a single process.
so if there's any problem, it's with the 'postfix status' command. maybe
you're repeating the instance name somewhere.