danami
Silver Pleskian
---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Product version: 12.0.18 Update #53
Update date: 2015/07/02 09:01
Build date: 2015/06/15 10:00
Build target: CentOS 6
Revision: 333059
Architecture: 64-bit
Wrapper version: 1.1
CentOS release 6.6 (Final)
Kernel: 2.6.32-504.16.2.el6.x86_64
PROBLEM DESCRIPTION
Enabling postscreen breaks the mchk command. Postscreen is a great program to stop bots and spam for Postfix. See:
http://www.postfix.org/POSTSCREEN_README.html
Unfortunately when you enable it mchk fails because mailsrv_conf_init can no longer parse the /etc/postfix/master.cf config file.
STEPS TO REPRODUCE
To enable postscreen:
Edit /etc/postfix/master.cf
Default
smtp inet n - n - - smtpd
#smtp inet n - n - 1 postscreen
#smtpd pass - - n - - smtpd
#dnsblog unix - - n - 0 dnsblog
#tlsproxy unix - - n - 0 tlsproxy
Uncomment and change to
#smtp inet n - n - - smtpd
smtp inet n - n - 1 postscreen
smtpd pass - - n - - smtpd
dnsblog unix - - n - 0 dnsblog
tlsproxy unix - - n - 0 tlsproxy
ACTUAL RESULT
/usr/local/psa/admin/sbin/mchk --with-spam now fails
/usr/lib64/plesk-9.0/mailsrv_conf_init
Fatal error: plesk::mail:ostfix:ostfixConfigurationError(unable to parse /etc/postfix/master.cf)
Fatal error: plesk::mail:ostfix:ostfixConfigurationError(unable to parse /etc/postfix/master.cf)
EXPECTED RESULT
/usr/lib64/plesk-9.0/mailsrv_conf_init should be able to parse the changed config file as Postfix says that its a valid config file
--------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Product version: 12.0.18 Update #53
Update date: 2015/07/02 09:01
Build date: 2015/06/15 10:00
Build target: CentOS 6
Revision: 333059
Architecture: 64-bit
Wrapper version: 1.1
CentOS release 6.6 (Final)
Kernel: 2.6.32-504.16.2.el6.x86_64
PROBLEM DESCRIPTION
Enabling postscreen breaks the mchk command. Postscreen is a great program to stop bots and spam for Postfix. See:
http://www.postfix.org/POSTSCREEN_README.html
Unfortunately when you enable it mchk fails because mailsrv_conf_init can no longer parse the /etc/postfix/master.cf config file.
STEPS TO REPRODUCE
To enable postscreen:
Edit /etc/postfix/master.cf
Default
smtp inet n - n - - smtpd
#smtp inet n - n - 1 postscreen
#smtpd pass - - n - - smtpd
#dnsblog unix - - n - 0 dnsblog
#tlsproxy unix - - n - 0 tlsproxy
Uncomment and change to
#smtp inet n - n - - smtpd
smtp inet n - n - 1 postscreen
smtpd pass - - n - - smtpd
dnsblog unix - - n - 0 dnsblog
tlsproxy unix - - n - 0 tlsproxy
ACTUAL RESULT
/usr/local/psa/admin/sbin/mchk --with-spam now fails
/usr/lib64/plesk-9.0/mailsrv_conf_init
Fatal error: plesk::mail:ostfix:ostfixConfigurationError(unable to parse /etc/postfix/master.cf)
Fatal error: plesk::mail:ostfix:ostfixConfigurationError(unable to parse /etc/postfix/master.cf)
EXPECTED RESULT
/usr/lib64/plesk-9.0/mailsrv_conf_init should be able to parse the changed config file as Postfix says that its a valid config file
--------------------------------------------------------------