Re: Whitelisting File Extension Types?

Damian <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
> I am not sure why it is finding an "asc" file as only a PDF was attached.

The banned files mechanism checks mime parts, not only attachments.

> Furthermore, even if I added ".asc" to the list above, it is still flagging the email as having banned content.
A text-file attachment internally transforms to a list of strings:

> ["multipart/mixed","application/octet-stream",".asc","file.txt"]

Your default policy has to handle those mime-types appropriately.

Example of a PDF inside a zip archive:

> ["multipart/mixed","application/octet-stream",".zip","file.zip",".pdf","file.pdf"]

A plain text body of a mail without attachments:

> ["text/plain",".asc"]
Your case probably has been:

> ["multipart/mixed","text/plain",".asc"]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.