> From: unix.iingen
> hi,> what i have to make in amavisd.conf> for accept files .exe?> thanks
 
You should ask on the amavis user's list. This might get you there however:
 
You will find a line like this:
 
  qr'^\.(exe-ms|dll)$',                   # banned file(1) types, rudimentary
 
Comment it out.
You will find a couple lines like this:
 
  qr'^application/x-msdownload$'i,        # block these MIME types  
qr'^application/x-msdos-program$'i,
Comment them out.
You will find a line like this:
 
  qr'.\.(exe|vbs|pif|scr|cpl)$'i,             # banned extension - basic
 
Change it to:
 
  qr'.\.(dll|vbs|pif|scr|cpl)$'i,             # banned extension - basic
You can read amavisd.conf-sample for more information. These settings are in a 
section called:
$banned_filename_re = new_RE();
This section is most likely the section that is controlling which files 
amavisd-new bans.
 
Gary V
_________________________________________________________________
Get in touch in an instant. Get Windows Live Messenger now.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_getintouch_042008
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to