This might work to configure monit on Debian (Jessie) to monitor postsrsd.
check process postsrsd matching "/usr/sbin/postsrsd"
start program = "/etc/init.d/postsrsd start"
stop program = "/etc/init.d/postsrsd stop"
if failed host localhost port 10001 then restart
if failed host localhost port 10002 then restart
A python script which can be used as a Postfix content_filter to headers email going through it … (example shows changing the Subject).
Continue reading “python content_filter for Postfix (rewriting the subject)”
One server I poke around on, has a number of postfix instances
Interestingly, one instance was logging things like :
Oct 26 22:02:05 mail postfix-blah/smtpd: connect from unknown[184.108.40.206]
Oct 26 22:02:05 mail postfix-blah/smtpd: CA9292EE2C0: client=unknown[220.127.116.11]
Continue reading “Postfix – connect from unknown[ip.address]”