Ok .. thats working as below.. but a small problem. If I forward 2 messages
and 1 message already has RFC-822 attachment in it.. it will decode ALL the
messages :-(
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"
Thanks
Craig
--------------------------
acl_check_rcpt:
#
# Set acl_m3 as you can't use $local_part@$domain in acl_check_mime
#
warn set acl_m3 = $local_part@$domain
acl_check_mime:
#
# This decodes RFC-2047 Attachments into RFC-822 Files into a Maildir Folder
#
warn log_message = Stored spam report from $sender_address.
condition = ${if match{$acl_m3}{report@???}{true}{false}}
condition = ${if eq{$mime_content_type}{message/rfc822}{1}{0}}
decode = /mail/spam/Maildir/.Reported Spam/new/
------------------------------
----- Original Message -----
From: "Tom Kistner" <tom@???>
To: "Craig Whitmore" <lennon@???>
Cc: <exim-users@???>
Sent: Tuesday, January 17, 2006 10:33 PM
Subject: Re: [exim] How to Auto Decode RFC2047 Messages
> Craig Whitmore wrote:
>
>> warn log_message = email = $local_part@$domain received_for =
>> $received_for
>>
>> gives in logfile
>>
>> 2006-01-17 22:03:51 1Eymkp-0002Nz-Nr H=(terminal) [60.234.13.222]
>> Warning: email = @ received_for =
>
> Ah sorry. Shame that this happens to me :)
>
>> 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}}
>> decode = /tmp/spam
>
> /tmp/spam is a kind of mailbox. Create a maildir folder, then write the
> messages into Maildir/new:
>
> decode = /tmp/spam/Maildir/new
>
> I wouldn't pipe these messages into Exim since you don't want to change
> them.
>
> /tom
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim
> details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>