Mailing List Archive

Exim mime problem
Hi

I am trying to log

$mime_content_transfer_encoding

in an exim filter file and also from a perl script i used embedded in
exim. All other, non "mime*" are working but all these are empty

       $mimecontenttransferencoding =
Exim::expand_string('$mime_content_transfer_encoding');
       $mimecontenttype                       =
Exim::expand_string('$mime_content_type');
       $mimecontentdisposition          =
Exim::expand_string('$mime_content_disposition');
       $mimecontentid                          =
Exim::expand_string('$mime_content_id');

Do i need to enable something in the exim config for this to work?



--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Exim mime problem [ In reply to ]
On 20/10/2023 07:55, Laura Williamson via Exim-users wrote:
> I am trying to log
>
> $mime_content_transfer_encoding

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

lists that as being available in the MIME ACL. I think you should
not assume it can be see in a filter.

--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Exim mime problem [ In reply to ]
Ok thanks, understand it better now. Made a workaround from

$message_headers

to get the information needed.

On 10/30/2023 10:00 AM, Jeremy Harris via Exim-users wrote:
> On 20/10/2023 07:55, Laura Williamson via Exim-users wrote:
>> I am trying to log
>>
>> $mime_content_transfer_encoding
>
> https://exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html#SECTscanmimepart
>
>
> lists that as being available in the MIME ACL.  I think you should
> not assume it can be see in a filter.
>

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/