i am using the smtpchk option to validate postfix for SMTP and
Submission availability. This is working nicely, but i am looking to
reduce the "noise level" in the application logs. i constantly get the
below messages in my logs, and i am wondering if anyone knows how to get
rid of them. be it with additional configs in haproxy.cfg or in postfix
configs, i am looking to get rid of the logs due to service checking...
postfix/postscreen[1244]: CONNECT from [192.168.88.254]:32964 to
[192.168.1.152]:25
postfix/postscreen[1244]: WHITELISTED [192.168.88.254]:32964
postfix/submission/smtpd[22359]: connect from
router-vlan88.bpk2.com[192.168.88.254]
postfix/smtpd[22360]: connect from router-vlan88.bpk2.com[192.168.88.254]
postfix/smtpd[22360]: lost connection after EHLO from
router-vlan88.bpk2.com[192.168.88.254]
postfix/smtpd[22360]: disconnect from
router-vla:0n88.bpk2.com[192.168.88.254]
postfix/submission/smtpd[22359]: lost connection after EHLO from
router-vlan88.bpk2.com[192.168.88.254]
postfix/submission/smtpd[22359]: disconnect from
router-vlan88.bpk2.com[192.168.88.254]
haproxy.cfg:
....
listen smtp 192.168.120.6:25
mode tcp
option tcplog
option smtpchk EHLO bpk2.com
source 192.168.88.254 usesrc client
server smtp1 192.168.88.1:25 check inter 10000
server smtp2 192.168.88.2:25 check inter 10000
server smtp3 test.bpk2.com:25 check inter 10000
....
listen submission 192.168.120.6:587
mode tcp
option tcplog
option smtpchk EHLO bpk2.com
source 192.168.88.254 usesrc client
server smtp1 192.168.88.1:587 check inter 10000
server smtp2 192.168.88.2:587 check inter 10000
server smtp3 test.bpk2.com:587 check inter 10000
any ideas?
Submission availability. This is working nicely, but i am looking to
reduce the "noise level" in the application logs. i constantly get the
below messages in my logs, and i am wondering if anyone knows how to get
rid of them. be it with additional configs in haproxy.cfg or in postfix
configs, i am looking to get rid of the logs due to service checking...
postfix/postscreen[1244]: CONNECT from [192.168.88.254]:32964 to
[192.168.1.152]:25
postfix/postscreen[1244]: WHITELISTED [192.168.88.254]:32964
postfix/submission/smtpd[22359]: connect from
router-vlan88.bpk2.com[192.168.88.254]
postfix/smtpd[22360]: connect from router-vlan88.bpk2.com[192.168.88.254]
postfix/smtpd[22360]: lost connection after EHLO from
router-vlan88.bpk2.com[192.168.88.254]
postfix/smtpd[22360]: disconnect from
router-vla:0n88.bpk2.com[192.168.88.254]
postfix/submission/smtpd[22359]: lost connection after EHLO from
router-vlan88.bpk2.com[192.168.88.254]
postfix/submission/smtpd[22359]: disconnect from
router-vlan88.bpk2.com[192.168.88.254]
haproxy.cfg:
....
listen smtp 192.168.120.6:25
mode tcp
option tcplog
option smtpchk EHLO bpk2.com
source 192.168.88.254 usesrc client
server smtp1 192.168.88.1:25 check inter 10000
server smtp2 192.168.88.2:25 check inter 10000
server smtp3 test.bpk2.com:25 check inter 10000
....
listen submission 192.168.120.6:587
mode tcp
option tcplog
option smtpchk EHLO bpk2.com
source 192.168.88.254 usesrc client
server smtp1 192.168.88.1:587 check inter 10000
server smtp2 192.168.88.2:587 check inter 10000
server smtp3 test.bpk2.com:587 check inter 10000
any ideas?