On 2007-05-16 12:50, Alexandros Fragkiadakis wrote: > hi, > > i'm using mailscanner with clamav. Clamav uses its default options for > fitering the emails so as, executable files (.exe) are not allowed but > .zip files are allowed. > > The problem is that when i zip an executable file into a zip file, the > email is blocked. > > What am i doing wrong?
Drink a coffee first? Doing your homework? 1. First you posted this to the postfix mailing list, which is wrong (the word postfix doesn't even get mentioned in your problem description). 2. Now you posted it again to the clamav mailing list. Here you claim clamav blocks .exe files. Clamav blocks nothing. It just scans files, including .exe's for possible virusses. If there is no virus in an exe-file, the file is not marked as dangerous. > > In /etc/Mailscanner/filename.rules.conf: Ah, a mailscanner question? So wouldn't the mailscanner mailinglist not be more suited for such questions? (nitpicking: the directory is named "MailScanner" with a capital "S") > > allow \.zip$ - - > deny \.exe$ Windows/DOS Executable So, I did a quick google, and found on the first page: http://www.configserver.com/techfaq/faqlist.php?catid=5&faqid=25&page=1 which is even more than you asked for. 3. You didn't read the reply that was given on the postfix list either which said to set "Maximum Archive Depth = 0". (The above url is a more restrictive way to implement this, taking into account the from and/or to.) -- Paul Bijnens, xplanation Technology Services Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *********************************************************************** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, * * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * *********************************************************************** _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html