Attachment filter removes zipped JS-files [message #123061] |
Fri, 24 July 2015 15:08  |
Grabsteinschubser
Messages: 64 Registered: May 2013 Location: Berlin
|
|
|
|
Hi everyone,
*.js is not in mail attachment rules. If I send a *.js file to my account I receive it. If I zip it the attachement filter removes the attachment.
I tested it with admin-bar.js from wordpress:
Quote:This part of mail contained prohibited file extension within a zip attachment:
File name: admin-bar.zip
File size: 4.94 kB
File name in zip: "admin-bar.js"
The attachment was removed by Kerio Connect 8.5.1
|
|
|
Re: Attachment filter removes zipped JS-files [message #123555 is a reply to message #123061] |
Fri, 14 August 2015 14:39   |
Kedar
Messages: 356 Registered: April 2005
|
|
|
|
Filtered content of ZIP archive is defined in mailserver.cfg
<list name="ZipFilterExtensions">
<listitem>
<variable name="Extension">.exe</variable>
</listitem>
<listitem>
<variable name="Extension">.com</variable>
</listitem>
<listitem>
<variable name="Extension">.bat</variable>
</listitem>
<listitem>
<variable name="Extension">.cmd</variable>
</listitem>
<listitem>
<variable name="Extension">.scr</variable>
</listitem>
<listitem>
<variable name="Extension">.vbs</variable>
</listitem>
<listitem>
<variable name="Extension">.vbe</variable>
</listitem>
<listitem>
<variable name="Extension">.js</variable>
</listitem>
<listitem>
<variable name="Extension">.jse</variable>
</listitem>
<listitem>
<variable name="Extension">.wsf</variable>
</listitem>
<listitem>
<variable name="Extension">.wsh</variable>
</listitem>
<listitem>
<variable name="Extension">.msc</variable>
</listitem>
</list>
|
|
|
|
|
|
|
|
Re: Attachment filter removes zipped JS-files [message #129973 is a reply to message #129923] |
Wed, 25 May 2016 09:08   |
howare
Messages: 20 Registered: May 2015
|
|
|
|
Since i added entrys in the mailconfig.cfg to the ZipFileExtensions, no Extension will be identified.
<list name="ZipFilterExtensions">
<listitem>
<variable name="Extension">.exe</variable>
</listitem>
<listitem>
<variable name="Extension">.com</variable>
</listitem>
<listitem>
<variable name="Extension">.bat</variable>
</listitem>
<listitem>
<variable name="Extension">.cmd</variable>
</listitem>
<listitem>
<variable name="Extension">.scr</variable>
</listitem>
<listitem>
<variable name="Extension">.vbs</variable>
</listitem>
<listitem>
<variable name="Extension">.vbe</variable>
</listitem>
<listitem>
<variable name="Extension">.js</variable>
</listitem>
<listitem>
<variable name="Extension">.jse</variable>
</listitem>
<listitem>
<variable name="Extension">.wsf</variable>
</listitem>
<listitem>
<variable name="Extension">.wsh</variable>
</listitem>
<listitem>
<variable name="Extension">.msc</variable>
</listitem>
<listitem>
<variable name="Extension">.docm</variable>
</listitem>
<listitem>
<variable name="Extension">.xlsm</variable>
</listitem>
<listitem>
<variable name="Extension">.msi</variable>
</listitem>
<listitem>
<variable name="Extension">.reg</variable>
</listitem>
<listitem>
<variable name="Extension">.shb</variable>
</listitem>
<listitem>
<variable name="Extension">.shs</variable>
</listitem>
<listitem>
<variable name="Extension">.sys</variable>
</listitem>
<listitem>
<variable name="Extension">.url</variable>
</listitem>
<listitem>
<variable name="Extension">.vb</variable>
</listitem>
<listitem>
<variable name="Extension">.vxd</variable>
</listitem>
</list>
[Updated on: Wed, 25 May 2016 09:08] Report message to a moderator
|
|
|
|
Re: Attachment filter removes zipped JS-files [message #130103 is a reply to message #129999] |
Wed, 01 June 2016 15:19   |
Maerad
Messages: 275 Registered: August 2013
|
|
|
|
Just to clearify things a bit... 
In the admin site you can config the forbidden Attachments. You can also enable to filter out forbidden Attachments in ZIP-Files BUT those are different to the list in the admin website.
The Mailserver.cfg has a section <list name="AttachFilter">, those are the filters from the website. The ZIP Filters are in the <list name="ZipFilterExtensions"> and can only be edited in the file.
If you use Windows, copy the mailserver.cfg out of the kerio connect dir to the desktop, edit it there, save it, stop the server and copy it back to the folder and start the server. That's because the directory needs admin rights to edit AND the file is in use when kerio is running.
|
|
|
|