On 10/09/15 10:24, Emmanuel Dreyfus manu@... [milter-greylist] wrote:
>
>
> On Thu, Sep 10, 2015 at 07:48:43AM +0100, Steven Hiscocks
> steven@... [milter-greylist] wrote:
>> 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?
>
> Or a more compact syntax with optional index?
> addheader 0:"Name:Value"
>
I've attached a new patch which allows setting of optional integer after
the addheader ACL clause for inserting (as appose to appending), and
includes string substitution for SPF header. Example:
racl whitelist spf pass addheader "Received-SPF: %Qs" 0
--
Steven HiscocksMessage
Re: [milter-greylist]
2015-09-11 by Steven Hiscocks
Attachments
- No local attachments were found for this message.