Re: [courier-users] Pythonfilter attachments

2017-07-25 Thread Gordon Messmer
On 07/25/2017 09:53 AM, Alessandro Vesely wrote: I've published my alternative version here: https://www.tana.it/sw/pythonfilter_attachments/ I'll take a look at that shortly. Thanks. -- Check out the vibrant tech

Re: [courier-users] Pythonfilter attachments

2017-07-25 Thread Alessandro Vesely
On Wed 08/Feb/2017 22:11:53 +0100 Gordon Messmer wrote: > On 02/08/2017 10:24 AM, Alessandro Vesely wrote: >> I revamped attachments.py in order to catch Javascript Trojans inside >> a zip, which were driving me crazy. > > The current version supports libarchive, which should allow you to >

Re: [courier-users] Pythonfilter attachments

2017-02-08 Thread SZÉPE Viktor
Idézem/Quoting Gordon Messmer : > On 02/08/2017 10:24 AM, Alessandro Vesely wrote: >> I revamped attachments.py in order to catch Javascript Trojans inside >> a zip, which were driving me crazy. > > > The current version supports libarchive, which should allow you to >

Re: [courier-users] Pythonfilter attachments

2017-02-08 Thread Gordon Messmer
On 02/08/2017 10:24 AM, Alessandro Vesely wrote: > I revamped attachments.py in order to catch Javascript Trojans inside > a zip, which were driving me crazy. The current version supports libarchive, which should allow you to blacklist file types inside zip files, as well.

[courier-users] Pythonfilter attachments

2017-02-08 Thread Alessandro Vesely
Hi all, I revamped attachments.py in order to catch Javascript Trojans inside a zip, which were driving me crazy. While I added that, I removed the configurable archive. The attached flavor of the filter rejects just the extensions hardcoded in the source. Enjoy Ale #!/usr/bin/python #