2012-04-07 1 views
-2

CentOS 6.2 상자에는 postfix 및 postfix-bounce라고하는 두 개의 Postfix 인스턴스가 the multiple instance setup document on Postfix's site을 통해 설정되어 있습니다. 그들은 init.d 스크립트 (service postfix start)를 통해 수동으로 시작할 때 잘 작동합니다.Postfix 및 CentOS - 부팅시 여러 인스턴스를 시작하지 않음

하지만 서버를 재부팅 할 때, 아무리 내가 뭘, 중 서비스를 설정하면 시작하지 않거나 /etc/rc.local에있는 "접미사 시작"을 넣어하기 위해서는 성공적으로 두 번째 인스턴스를 시작하지 않습니다 :

/etc/postfix/main.cf에서
Apr 6 22:09:19 server postfix/postfix-script[1246]: starting the Postfix mail system 
Apr 6 22:09:19 server postfix/master[1247]: daemon started -- version 2.6.6, configuration /etc/postfix 
Apr 6 22:09:20 server postfix-bounce/postfix-script[1256]: fatal: the Postfix mail system is already running 

다중 인스턴스 구성 : /etc/postfix-bounce/main.cf에서

multi_instance_wrapper = ${command_directory}/postmulti -p -- 
multi_instance_enable = yes 
multi_instance_directories = /etc/postfix-bounce 
multi_instance_group = mta 

다중 인스턴스 구성 :

multi_instance_group = mta 
multi_instance_name = postfix-bounce 
multi_instance_enable = yes 
multi_instance_wrapper = ${command_directory}/postmulti -p -- 

내가 뭘 잘못하고 있니?

답변

3

당신은 SELinux를 사용하지 않도록 설정하여이 작업을 얻을 수 있습니다 SELinux를 사용하지 않도록 설정하면 시스템에서 중요한 보안 보호 기능을 제거하는 것이

setenforce 0 

참고. 추적 도구를 사용하여 정책을 수정하는 것이 더 좋으며, SELinux 불린이 있는지 여부를 확인하여 완전히 해제하지 않고 느슨하게 설정할 수 있습니다.