Re: [exim] How to Auto Decode RFC2047 Messages

Top Page
Delete this message
Reply to this message
Author: Tom Kistner
Date:  
To: Craig Whitmore
CC: exim-users
Subject: Re: [exim] How to Auto Decode RFC2047 Messages
Craig Whitmore wrote:

> The problem is: $mime_is_rfc822 - Attached message decoding is fully
> recursive.
> Any way to turn OFF the recursive stuff or is this a "feature request"


Just add another negated condition:

warn log_message = Stored spam report from $sender_address.
      condition = ${if match{$acl_m3}{report2@???}{true}{false}}
      condition = ${if eq{$mime_content_type}{message/rfc822}{1}{0}}
      !condition = $mime_is_rfc822
      decode = /tmp/spam


Docs:
$mime_is_rfc822
     This variable has the value 1 (true) if the current part is not a 
part of the checked message itself, but part of an attached message. 
Attached message decoding is fully recursive.


/tom