LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-15-2018, 07:58 AM   #1
mikudo
Member
 
Registered: Aug 2018
Posts: 82

Rep: Reputation: Disabled
Amavis scanning config questions


I find the documentation available for amavis to be incomplete especially in regards to block and scan rules.

I want to make sure that zip files are not blocked by extension but are still scanned for viruses.

The categories in the default amavisd.conf are:
allow
blocked anywhere
allow, stop looking if zipped
block the following except within unix archives
block the following except within archives
block certain double extensions
banned extensions

I need a category for:
Allow extension, then scan for viruses

blocked anywhere syntax:
qr'^\.(blah|blah2)$'

allow, stop looking if zipped:
[qr'^\.(blah|blah2)$=> 0]

banned extensions
qr'^.\.(blah|blah2)$'i,

In general this syntax is arcane enough but for some reason over at the amavis project they think we'll just be able to guess at these settings and the 10k+ threads like this one I found asking for every specific case other than what appears in the official docs seems to confirm. tia, especially if anyone can point out a manual where these things are actually explained.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanning the PCI config space from a C application L2S Programming 1 02-25-2009 09:12 AM
Active Scanning or Passive Scanning Paris Heng Linux - Networking 2 02-15-2008 09:37 AM
Help a newbie. Scanning questions supertrucker SUSE / openSUSE 1 07-10-2006 10:39 PM
Amavis Spamassassin Config, Where to change settings? schoeppchen Linux - General 1 08-15-2005 10:19 AM
2 Questions About Config inescapeableus Linux - Newbie 2 04-26-2004 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration