Re: [exim] Exim - Exchange 2010 OutofOffice Messages

Top Pagina
Delete this message
Reply to this message
Auteur: Tugdual de LASSAT - @tdldp
Datum:  
Aan: exim-users
CC: 'Martin Schuster \(IFKL IT OS DC CD\)'
Onderwerp: Re: [exim] Exim - Exchange 2010 OutofOffice Messages
>> Exim lists uses this last one, and I didn't receive any return when OOF
was
>> activated during the bug period (2-08 to 6-08)
>>
>So it seems Exchange already knows not to reply to those mails, and you
>don't need to add any headers.


Quite not true... As stated in my first post, exchange seems to know and
accept certain headers... Others are ignored which originates my problem and
my need to modify headers at gateway stage...


>> I've tried one with no success (exim panic), but I'm not a regex

specialist
>> and it could be an error of mine...
>>
>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
========================================================================



@tdldp