Blocking all Java attachments

Mark Sapiro mark at msapiro.net
Thu Sep 21 19:13:04 UTC 2017


On 09/21/2017 03:14 AM, Andrews, Vincent wrote:
> 
> Can anyone give me some advice on how to?
> 
>  
> 
>   * Block messages that have Java attachments.
>   * Or strip the attachments off the message.


See
<https://www.mailscanner.info/MailScanner.conf.index.html#Deny%20File%20MIME%20Types>,
<https://www.mailscanner.info/MailScanner.conf.index.html#Deny%20Filetypes>
and the documentation in MailScanner.conf for these settings.

Also see /etc/MailScanner/filetype.rules.conf although the above
settings may be easier than editing this file and should survive upgrades.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list