Re: [exim] Exim - Exchange 2010 OutofOffice Messages

Top Pagina
Delete this message
Reply to this message
Auteur: Tugdual De Lassat
Datum:  
Aan: exim-users@exim.org
Onderwerp: Re: [exim] Exim - Exchange 2010 OutofOffice Messages
>>Show what you have so far, there are a lot of really clever people on
>>this list :)
>
>Don't laugh at me, I repeat I'm not an exim guru, I try things, when they don't work I ask for examples I can then modify and test to understand ;) .
>Here goes :
>
>This was placed in : 
>Exim4/conf.d/acl/40_exim4-config_check_data
>Just before : 
>  # accept otherwise
>  accept
>Code :
>=========================================================================
>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..

Any guru's willing to have a look ?

@tdldp


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/