[Pymilter] minimal working example of pymilter script

Stuart D. Gathman stuart at gathman.org
Mon Oct 28 21:56:06 EDT 2019


On Sun, 27 Oct 2019, Fourhundred Thecat wrote:

> I would like to process mail that arrives at my Postfix server via smtpd
> (SMTP-only filter).
>
> I am new to milters, and I am looking for simplest possible working
> example of a python3 pymilter script. Something that does nothing
> useful, perhaps just adds "hello world" at the beginning of the message
> body.

https://github.com/sdgathman/pymilter/blob/master/sample.py

-- 
 	      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