Re: [exim] How to Auto Decode RFC2047 Messages

Góra strony
Delete this message
Reply to this message
Autor: Tom Kistner
Data:  
Dla: Craig Whitmore
CC: exim-users
Temat: Re: [exim] How to Auto Decode RFC2047 Messages
Craig Whitmore wrote:

> Someone Gets Spam
> They "forward as attachment" the message to report@???
> exim decodes the message (or messages) forwarded and places them into a
> Folder
> so I can do something with them later
> Like Spamcop does when you report spam


Use the MIME ACL.

Something like (untested):

acl_check_mime:

warn log_message = Stored spam report from $sender_address.
      condition = ${if eq{$received_for}{report@???}{1}{0}}
      condition = ${if eq{$mime_content_type}{message/rfc822}{1}{0}}
      decode = /path/to/store/folder


You'll then have all the unmodified attached messages in the
/path/to/store/folder directory.

/tom