On 30/08/13 09:06, Tugdual De Lassat wrote:
>> =========================================================================
>> accept
>> condition = ${if or {\
>> { !eq{$h_list-id:$h_list-post:$h_list-subscribe:}{} }\
>> { match{$h_precedence:}{(?i)bulk|list|junk} }\
>> { match{$h_ X-Auto-Response-Suppress:}{(?i)OOF|AutoReply|NDR|RN|DR|NRN} }\
>> { match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }\
>> } {no}{yes}}
>> headers remove "Precedence"
>> headers remove "X-Auto-Response-Suppress"
>> add_header = : at_start_rfc: X-Auto-Response-Suppress: OOF, AutoReply
>> add_header = : at_start_rfc: Precedence: List
>> ========================================================================
>
> I didn't give in return error messages :
> error in ACL: unknown ACL condition/modifier in "headers remove "Precedence""
> If I comment the 2 "headers remove" lines, passes through but doesn't seem to add the headers neither..
You can't remove headers in an ACL in the version of Exim you're running
(and it wouldn't be spelled like that, either).
--
Cheers,
Jeremy