On June 19, 2023 9:44:59 PM UTC, Viktor Dukhovni via Postfix-users 
<[email protected]> wrote:
>On Mon, Jun 19, 2023 at 09:12:29PM +0000, Anton Hvornum via Postfix-users 
>wrote:
>
>> Yea found libmilter, appears to have some python bindings too.
>
>You don't need to go that far down the stack.  Try the "Milter" package.
>There are sample Milters available, just tweak one to your needs.
>
>For example:
>
>    https://pythonhosted.org/pymilter/index.html

In fact, the spf-engine project that was mentioned up thread has a milter front 
end that uses pymilter, in addition to supporting the Postfix policy interface.

I'll also mention that there are multiple standardized ways to record SPF 
authentication results in the header of an email.  I would recommend using one 
of those, rather than inventing your own.

Scott K

Scott K
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to