[exim] mime_part_count and rfc822 attachments

Top Page
Delete this message
Reply to this message
Author: exim-users
Date:  
To: Exim-users
Subject: [exim] mime_part_count and rfc822 attachments
Greetz everybody,

while implementing the old demime error level 3 checks with decode and
the MIME ACL as proposed by Steven Dickenson in the posting at
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050523/msg00120.html,
I realized that $mime_part_count gets reset for rfc822 attachments -
which is perfectly in accordance with the specification, but
unfortunately spoils the checks for the maximum number of mime parts. No
matter how many nested mime parts are in an rfc822 attachment, they
always count as one on the nesting layer one above.

Is there currently any way how to enforce a maximum number of mime parts
that a message is allowed to have, no matter how nested in rfc822
attachments they are? If not, can this feature please be added?

Is the old demime check counting them the same way as mime_part_count or
does it count every single mime part contained in rfc822 attachments?


Patrick