[Pymilter] Possible to use a milter for reverse SRS?

Stuart D. Gathman stuart at gathman.org
Fri Jan 25 18:48:30 EST 2019


On Fri, 25 Jan 2019, Melanie Dymond Harper wrote:

>> The SRS I use in production uses pysrs.py (a socket map) in conjunction
>> with the pysrs.m4 feature for sendmail.cf for outgoing mail.
>
> I was struggling to figure out a functional config for that; perhaps I
> need to look again.

>From sendmail.mc:
...
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl
define(`NO_SRS_FILE',`/etc/mail/no-srs-mailers')dnl
dnl define(`NO_SRS_FROM_LOCAL')dnl
HACK(`pysrs',`/var/run/milter/pysrs')dnl
INPUT_MAIL_FILTER(`pythonfilter', `S=local:/var/run/milter/pythonsock,
F=T, T=C:5m;S:20s;R:5m;E:5m')
LOCAL_CONFIG
...

-- 
 	      Stuart D. Gathman <stuart at gathman.org>
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.


More information about the Pymilter mailing list