On Thu, 2005-09-08 at 17:56 +0530, KISHOR.MV wrote:
> Hi
> How about encypted/password protected zip files which may contains documents
> I tried the below option
>   [ qr'^\.(zip|rar)$'=> 0 ],  # allow any within such archives
> And it still deletes it as virus

Then looking at Banned files won't help.

In clamd.conf:

# Mark encrypted archives as viruses (Encrypted.Zip, Encrypted.RAR).
# Default: disabled
#ArchiveBlockEncrypted

> 
> regards
> kishor
> 
> 
> ----- Original Message ----- 
> From: "Martin Svensson" <[EMAIL PROTECTED]>
> To: "armin langhofer" <[EMAIL PROTECTED]>
> Cc: <[email protected]>
> Sent: Thursday, September 08, 2005 5:09 PM
> Subject: Re: [AMaViS-user] exe in zip file
> 
> 
> > Hi Armin,
> >
> > There is.  In this example we allow all types in the specified archives 
> > but stop exe,vbs, pif etc.
> >
> > $banned_filename_re = new_RE(
> >  # block certain double extensions anywhere in the base name
> >  qr'\.[^./]*[A-Za-z][^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i,
> >  qr'^application/x-msdownload$'i,                  # block these MIME 
> > types
> >  qr'^application/x-msdos-program$'i,
> >  qr'^application/hta$'i,
> >  [ qr'^\.(Z|gz|bz2)$'           => 0 ],  # allow any in Unix-compressed
> >  [ qr'^\.(rpm|cpio|tar)$'       => 0 ],  # allow any in Unix-type archives
> >  [ qr'^\.(zip|rar)$'=> 0 ],  # allow any within such archives
> >
> >  qr'.\.(exe|vbs|pif|scr|bat|cmd|com|cpl)$'i, # banned extension - basic
> >  qr'^\.(exe-ms)$',                       # banned file(1) types
> > );
> >
> > Take a look at the sample configuration files.
> >
> > BR,
> > Martin
> >
> > armin langhofer wrote:
> >
> >> hi there
> >>
> >> as i'm sending a .exe file zipped as a .zip file through amavis the mail 
> >> gets rejected because .exe files are probibited.
> >> is there a way to allow .exe files IN a .zip file but not as a .exe 
> >> attachment?
> >> regards, armin
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
> > Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________
> > AMaViS-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/amavis-user
> > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> > AMaViS-HowTos:http://www.amavis.org/howto/ 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> AMaViS-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to