On 2021-11-25, Jim Pazarena via Exim-users <[email protected]> wrote:
> when the entire content of a spam email message is in base64 , is there 
> a variable available that has that content in decoded text so that a 
> filter can view it ?

In the MIME ACL you can access the decoded parts of the
message using readfile 

  decode=default
  set acl_m_this_part_content=${readfile{$mime_decoded_filename}}

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html#SECTscanmimepart

MIME ACL is somewhat a maze of twisty passages all alike due to the
recursive nature of MIME. be prepared for your code to execute
multiple times: once on each part of each message.

I'm using the MIME ACL to process MDRs and log them in a postgresql
database.

-- 
  Jasen.

-- 
## 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/

Reply via email to