On 6/19/23 16:33, Viktor Dukhovni via Postfix-users wrote:
On Mon, Jun 19, 2023 at 04:10:46PM +0000, Anton Hvornum via Postfix-users wrote:My understanding was that the "check_policy_service unix:private/policy-spf" would hand over key=value pairs, I would use that information to perform one spf-check, finalized by me returning all the headers I would want from my script with PREPEND (being one action).A careful reading (yeah, not always easy to be that attentive) of the documentation can reveal: https://www.postfix.org/SMTPD_POLICY_README.html#protocol The client request is a sequence of name=value attributes separated ------ --------------------------------- by newline, and is terminated by an empty line. The server reply is ------ one name=value attribute and it, too, is terminated by an empty ------------------------ line.
Hi. Thank you, yes that one slipped by me entirely.I'll have to re-evaluate how to mark mails as spam with multiple headers when SPF is not passing then.
But again, thank you. Glad to know this is a dead-end and bashing my head against the issue is of no use hehe.
//Anton
OpenPGP_0x5FBBB32941E3740A.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org