This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP Proxy File Extension Filter

I have Virus Protection turned on for my SMTP Proxy and I have several extensions listed under the 'File extension filter'. The extensions I have listed are:
exe, scr, com, dot, vbs & lnk.

But when I send an email from an outside domain with , for example an exe attachment, the email comes through without any problems.

What gives?


This thread was automatically locked due to age.
  • Make sure all e-mail traffic is really going over the relay (check your MX record), it doesn't work if you have DNAT for incomming SMTP instead.
  • I too am not getting astaro to filter out emails with ext. defined as "exe".  Note I do not have Virus Protection turned on (no license), but I do have a file ext. defined as "exe" and my only MX record points to the astaro box.  I do NOT have a DNAT for port 25.  However emails with "exe" ext. pass through.  Do you have to have Virus Protection turned on to filter by ext.?
  • Can someone please address why the ext. filter is not working?  I know two things were posted to be checked, however I have checked both of those and it does not apply to my situation.

    Do you need a AV license to use ext. filtering?
  • Originally posted by tank:
    Can someone please address why the ext. filter is not working?  I know two things were posted to be checked, however I have checked both of those and it does not apply to my situation.

    Do you need a AV license to use ext. filtering?
    The ext filter only works when the antivirus license is installed.
  • Perhaps it's a matter of this thread being old, but for me file extension filtering works without the antivirus license. My Astaro is currently 3.216. Since this thread misinformed me i had post this so someone else doesn't get misinformed too [:)]  
  • Here's a pretty broad list of executables that can be filtered, hope someone finds it useful, I spent a while gathering and sorting them out:

    Windows Clearly Dangerous

    .bat: Batch file
    .chm: Compiled HTML Help file
    .com: Microsoft MS-DOS program
    .cpl: Control Panel extension
    .exe: Program
    .hta: HTML program
    .inf: Setup Information
    .js : JScript file 
    .jse: Jscript Encoded Script file 
    .pcd: Photo CD image, Microsoft Visual compiled script
    .pif: Shortcut to MS-DOS program
    .reg: Registration entries
    .scr: Screen saver
    .sct: Windows Script Component
    .shs: Shell Scrap object
    .shb: Shell Scrap object
    .msi: Microsoft Windows Installer package
    .msp: Microsoft Windows Installer patch
    .url: Internet shortcut
    .vb : VBScript file
    .vbe: VBScript Encoded script file
    .vbs: VBScript file
    .wsc: Windows Script Component
    .wsf: Windows Script file
    .wsh: Windows Script Host Settings file

    Windows Rarely/Barely Dangerous

    .cmd: Microsoft Windows NT Command script
    .crt: Security certificate
    .hlp: Help file
    .ins: Internet Naming Service (Inspiration documents allowed)
    .isp: Internet Communication settings
    .lnk: Shortcut
    .msc: Microsoft Common Console document
    .mst: Microsoft Visual Test source files
    .ade: Microsoft Access project extension
    .adp: Microsoft Access project
    .bas: Microsoft Visual Basic class module
    .mdb: Microsoft Access program
    .mde: Microsoft Access MDE database

    MAC

    .hqx: MAC Program
    .appc: MAC 
    .appl: MAC 
    .bin: MAC 
    .cdev: MAC 
    .init: MAC 
    .osas: MAC