Re: [exim] Attachment count

Top Pagina
Delete this message
Reply to this message
Auteur: Jeremy Harris
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Attachment count
On 12/01/18 09:14, John McMurray via Exim-users wrote:
> Is there some way of counting attachments in the exim config file to
> block mails with > than n number of attachments?


Presumably each attachment was a MIME part. Run a MIME ACL:

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

and have it incrementing a counter. Deny when it gets
too large.
--
Cheers,
Jeremy