Banned filenames not extensions

Tone Kravanja Tone.Kravanja at alarix.si
Thu Feb 18 17:40:50 CET 2016


With a help from Oliver who pointed me into right direction, I corrected my filter and improved on it. And I also aded checking for the file extension.

So my filter now looks like this:

qr'(invoice|scan|rechnung|fattura){1,}.*(doc|xls|docx|xlsx){1,}'ix, # Ban anything that sounds like invoice and is opened by Microsoft office.

Hope this helps someone else too.

Best regards,
Tone Kravanja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20160218/388117fc/attachment.html>


More information about the amavis-users mailing list