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

Melanie Dymond Harper mel at herald.co.uk
Fri Jan 25 19:19:15 EST 2019


On Fri, Jan 25, 2019 at 06:48:30PM -0500, Stuart D. Gathman wrote:
> 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

Ah, I think the requirement for the milter _and_ the HACK may have been 
where I was stumbling. I'll give that a go. - cheers, Mel


<!DSPAM:168877A64972869669214895>



More information about the Pymilter mailing list