<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi,<br></div><div><br data-mce-bogus="1"></div><div>Following documentations here <a href="https://pythonhosted.org/milter/faq.html">https://pythonhosted.org/milter/faq.html</a>, there <a href="https://pythonhosted.org/milter/pysrs.html">https://pythonhosted.org/milter/pysrs.html</a>, and over there <a href="https://github.com/sdgathman/pysrs/blob/master/pysrs.cfg">https://github.com/sdgathman/pysrs/blob/master/pysrs.cfg</a> I implemented pysrs wich works very well on a test environment (sendmail 8.13 on CentOS7 with pysrs 1.0-4).<br></div><div><br data-mce-bogus="1"></div><div>In sendmail.mc, I have :<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><span style="font-size: 11pt;" data-mce-style="font-size: 11pt;"><em>define(`NO_SRS_FILE',`/etc/mail/no-srs-mailers')dnl</em></span><br><span style="font-size: 11pt;" data-mce-style="font-size: 11pt;"><em>define(`NO_SRS_FROM_LOCAL')dnl</em></span><br><span style="font-size: 11pt;" data-mce-style="font-size: 11pt;"><em>HACK(`pysrs',`/var/run/milter/pysrs')dnl</em></span><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>However, when I stop pysrs, and try to send email, they get rejected with " DSN: Service unavailable" :<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><span style="font-size: 11pt;" data-mce-style="font-size: 11pt;"><em>Feb 21 08:57:24 srs-test sendmail[9488]: 01LDvOaL009488: from=<roger.yerbanga__AT__polymtl.ca>, size=2248, class=0, nrcpts=1, msgid=<1883298681.12213912.1582293443371.JavaMail.zimbra@polymtl.ca>, proto=ESMTP, daemon=MTA, relay=smtp.polymtl.ca [132.207.4.11]</em></span><br><span style="font-size: 11pt;" data-mce-style="font-size: 11pt;"><em>Feb 21 08:57:25 srs-test sendmail[9489]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128</em></span><br><span style="font-size: 11pt;" data-mce-style="font-size: 11pt;"><em>Feb 21 08:57:25 srs-test sendmail[9489]: 01LDvOaL009488: to=yerbanga__AT_gmail.com, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=32458, relay=gmail-smtp-in.l.google.com. [173.194.204.26], dsn=5.0.0, stat=Service unavailable</em></span><br><span style="font-size: 11pt;" data-mce-style="font-size: 11pt;"><em>Feb 21 08:57:25 srs-test sendmail[9489]: 01LDvOaL009488: 01LDvPaL009489: DSN: Service unavailable</em></span><br><span style="font-size: 11pt;" data-mce-style="font-size: 11pt;"><em>Feb 21 08:57:25 srs-test sendmail[9489]: STARTTLS=client, relay=smtp.polymtl.ca., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256</em></span><br><span style="font-size: 11pt;" data-mce-style="font-size: 11pt;"><em>Feb 21 08:57:26 srs-test sendmail[9489]: 01LDvPaL009489: to=<roger.yerbanga_AT__polymtl.ca>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=33482, relay=smtp.polymtl.ca. [132.207.4.11], dsn=2.0.0, stat=Sent (01LDvOQA000445 Message accepted for delivery)</em></span><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>On a Linux machine, we can not garantee 100% that pysrs will be running all the time without crashing, or accidentally stop, or kill by OOMK.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>So to prevent email rejecting in case pysrs does not run, what changes can we do to the solution ?<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks in adavance,<br data-mce-bogus="1"></div><div><br></div><div data-marker="__SIG_PRE__"><div><em>Roger </em><span style="font-size:11pt"><em></em></span></div></div></div></body></html>