On 10 September 2015 00:13:59 BST, "manu@... [milter-greylist]" <milter-greylist@yahoogroups.com> wrote: >Steven Hiscocks steven@... [milter-greylist] ><milter-greylist@yahoogroups.com> wrote: > >> I've created a patch which optionally adds a 'Received-SPF' header >when >> using 'libspf2' (probably could support 'libspf' and version varients >if >> there's interest). Avoids having a seperate milter to achieve this. >One >> example where this is useful is prior to 'spamassassin' as it will >use >> the header rather than duplicating the lookups etc. > >milter-greylist already has a addheader ACLclause that let you do >things >like this: >racl continue spf pass addheader "Received-SPF: pass" > >Therefore a more usefull contribution IMO would be a format string >substitution for SPF status. Something like this: >%is -> SPF status >%id -> DKIM status > >-- >Emmanuel Dreyfus >http://hcpnet.free.fr/pubz >manu@... Sure thing. The only issue is that a SPF header needs to be inserted before the top most "received" header to be valid. How about adding a 'insheader' ACL clause where the first argument is the header index (should be 0 in the case of SPF, and typically 1 for a DKIM auth result header) and second the header string? -- Steven Hiscocks
Message
Re: [milter-greylist]
2015-09-10 by Steven Hiscocks
Attachments
- No local attachments were found for this message.