[Pymilter] How to send email even if pysrs has stopped
Stuart D. Gathman
stuart at gathman.org
Fri Feb 21 11:21:37 EST 2020
On Fri, 2020-02-21 at 09:14 -0500, Roger Yerbanga wrote:
>
> However, when I stop pysrs, and try to send email, they get rejected
> with " DSN: Service unavailable" :
Pysrs integrates with sendmail via the socketmap. Sendmail does not
have a graceful degradation for failing socketmap that I know of.
There is an experimental srsmilter - but it has many limitations due to
the milter api not supporting all that is needed for SRS. Depending on
your application, you might be able to use srsmilter - and sendmail can
be configured to return 4.x.x status for failing milters.
It's also possible that there is a sendmail configuration to return
4.x.x instead of 5.x.x for failing socketmap. I would search for that
first. If you find it, let us know so we can add that to docs for
pysrs - and make it the default if possible
More information about the Pymilter
mailing list