]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/amavisd/amavisd.conf
Fixed some minor things in networking/red script.
[people/pmueller/ipfire-2.x.git] / config / amavisd / amavisd.conf
1 use strict;
2
3 # a minimalistic configuration file for amavisd-new with all necessary settings
4 #
5 # see amavisd.conf-default for a list of all variables with their defaults;
6 # see amavisd.conf-sample for a traditional-style commented file;
7 # for more details see documentation in INSTALL, README_FILES/*
8 # and at http://www.ijs.si/software/amavisd/amavisd-new-docs.html
9
10
11 # COMMONLY ADJUSTED SETTINGS:
12
13 # @bypass_virus_checks_maps = (1); # controls running of anti-virus code
14 # @bypass_spam_checks_maps = (1); # controls running of anti-spam code
15 # $bypass_decode_parts = 1; # controls running of decoders&dearchivers
16
17 $max_servers = 2; # num of pre-forked children (2..15 is common), -m
18 $daemon_user = 'amavis'; # (no default; customary: vscan or amavis), -u
19 $daemon_group = 'amavis'; # (no default; customary: vscan or amavis), -g
20
21 $mydomain = 'ipfire.org'; # a convenient default for other settings
22
23 # $MYHOME = '/var/amavis'; # a convenient default for other settings, -H
24 $TEMPBASE = "$MYHOME/tmp"; # working directory, needs to exist, -T
25 $ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR, used by SA, etc.
26 $QUARANTINEDIR = '/var/virusmails'; # -Q
27 # $quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine
28
29 # $daemon_chroot_dir = $MYHOME; # chroot directory or undef, -R
30
31 # $db_home = "$MYHOME/db"; # dir for bdb nanny/cache/snmp databases, -D
32 # $helpers_home = "$MYHOME/var"; # working directory for SpamAssassin, -S
33 # $lock_file = "$MYHOME/var/amavisd.lock"; # -L
34 # $pid_file = "$MYHOME/var/amavisd.pid"; # -P
35 #NOTE: create directories $MYHOME/tmp, $MYHOME/var, $MYHOME/db manually
36
37 $log_level = 2; # verbosity 0..5, -d
38 $log_recip_templ = undef; # disable by-recipient level-0 log entries
39 $DO_SYSLOG = 1; # log via syslogd (preferred)
40 $syslog_facility = 'mail'; # Syslog facility as a string
41 # e.g.: mail, daemon, user, local0, ... local7
42 $syslog_priority = 'debug'; # Syslog base (minimal) priority as a string,
43 # choose from: emerg, alert, crit, err, warning, notice, info, debug
44
45 $enable_db = 1; # enable use of BerkeleyDB/libdb (SNMP and nanny)
46 $enable_global_cache = 1; # enable use of libdb-based cache if $enable_db=1
47 $nanny_details_level = 2; # nanny verbosity: 1: traditional, 2: detailed
48
49 @local_domains_maps = ( [".$mydomain"] ); # list of all local domains
50
51 @mynetworks = qw( 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 );
52
53 $unix_socketname = "$MYHOME/amavisd.sock"; # amavisd-release or amavis-milter
54 # option(s) -p overrides $inet_socket_port and $unix_socketname
55
56 $inet_socket_port = 10024; # listen on this local TCP port(s)
57 # $inet_socket_port = [10024,10026]; # listen on multiple TCP ports
58
59 $policy_bank{'MYNETS'} = { # mail originating from @mynetworks
60 originating => 1, # is true in MYNETS by default, but let's make it explicit
61 os_fingerprint_method => undef, # don't query p0f for internal clients
62 };
63
64 # it is up to MTA to re-route mail from authenticated roaming users or
65 # from internal hosts to a dedicated TCP port (such as 10026) for filtering
66 $interface_policy{'10026'} = 'ORIGINATING';
67
68 $policy_bank{'ORIGINATING'} = { # mail supposedly originating from our users
69 originating => 1, # declare that mail was submitted by our smtp client
70 allow_disclaimers => 1, # enables disclaimer insertion if available
71 # notify administrator of locally originating malware
72 virus_admin_maps => ["virusalert\@$mydomain"],
73 spam_admin_maps => ["spamalert\@$mydomain"],
74 warnbadhsender => 1,
75 # forward to a smtpd service providing DKIM signing service
76 forward_method => 'smtp:[127.0.0.1]:10027',
77 # force MTA conversion to 7-bit (e.g. before DKIM signing)
78 smtpd_discard_ehlo_keywords => ['8BITMIME'],
79 bypass_banned_checks_maps => [1], # allow sending any file names and types
80 terminate_dsn_on_notify_success => 0, # don't remove NOTIFY=SUCCESS option
81 };
82
83 $interface_policy{'SOCK'} = 'AM.PDP-SOCK'; # only applies with $unix_socketname
84
85 # Use with amavis-release over a socket or with Petr Rehor's amavis-milter.c
86 # (with amavis-milter.c from this package or old amavis.c client use 'AM.CL'):
87 $policy_bank{'AM.PDP-SOCK'} = {
88 protocol => 'AM.PDP',
89 auth_required_release => 0, # do not require secret_id for amavisd-release
90 };
91
92 $sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level
93 $sa_tag2_level_deflt = 6.2; # add 'spam detected' headers at that level
94 $sa_kill_level_deflt = 6.9; # triggers spam evasive actions (e.g. blocks mail)
95 $sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent
96 # $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is off
97 $penpals_bonus_score = 8; # (no effect without a @storage_sql_dsn database)
98 $penpals_threshold_high = $sa_kill_level_deflt; # don't waste time on hi spam
99
100 $sa_mail_body_size_limit = 400*1024; # don't waste time on SA if mail is larger
101 $sa_local_tests_only = 0; # only tests which do not require internet access?
102
103 $virus_admin = "virusalert\@$mydomain"; # notifications recip.
104
105 $mailfrom_notify_admin = "virusalert\@$mydomain"; # notifications sender
106 $mailfrom_notify_recip = "virusalert\@$mydomain"; # notifications sender
107 $mailfrom_notify_spamadmin = "spam.police\@$mydomain"; # notifications sender
108 $mailfrom_to_quarantine = ''; # null return path; uses original sender if undef
109
110 @addr_extension_virus_maps = ('virus');
111 @addr_extension_banned_maps = ('banned');
112 @addr_extension_spam_maps = ('spam');
113 @addr_extension_bad_header_maps = ('badh');
114 # $recipient_delimiter = '+'; # undef disables address extensions altogether
115 # when enabling addr extensions do also Postfix/main.cf: recipient_delimiter=+
116
117 $path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
118 # $dspam = 'dspam';
119
120 $MAXLEVELS = 14;
121 $MAXFILES = 1500;
122 $MIN_EXPANSION_QUOTA = 100*1024; # bytes (default undef, not enforced)
123 $MAX_EXPANSION_QUOTA = 300*1024*1024; # bytes (default undef, not enforced)
124
125 $sa_spam_subject_tag = '***SPAM*** ';
126 $defang_virus = 1; # MIME-wrap passed infected mail
127 $defang_banned = 1; # MIME-wrap passed mail containing banned name
128 # for defanging bad headers only turn on certain minor contents categories:
129 $defang_by_ccat{+CC_BADH.",3"} = 1; # NUL or CR character in header
130 $defang_by_ccat{+CC_BADH.",5"} = 1; # header line longer than 998 characters
131 $defang_by_ccat{+CC_BADH.",6"} = 1; # header field syntax error
132
133
134 # OTHER MORE COMMON SETTINGS (defaults may suffice):
135
136 $myhostname = 'ipfire.localdomain'; # must be a fully-qualified domain name!
137
138 # $notify_method = 'smtp:[127.0.0.1]:10025';
139 # $forward_method = 'smtp:[127.0.0.1]:10025'; # set to undef with milter!
140
141 $final_virus_destiny = D_DISCARD;
142 $final_banned_destiny = D_BOUNCE;
143 $final_spam_destiny = D_DISCARD;
144 $final_bad_header_destiny = D_PASS;
145
146
147 # Notify virus sender? Bloß nicht!
148 $warnvirussender = 0;
149 # Notify spam sender? Bloß nicht!
150 $warnspamsender = 0;
151 # Notify sender of banned files? Kann man machen.
152 $warnbannedsender = 1;
153 # Notify sender of syntactically invalid header containing non-ASCII characters? Bloß nicht!
154 #$warnbadsender = 0;
155 # Notify virus (or banned files) RECIPIENT? Wie man möchte, ich finde es sinnvoll.
156 $warnvirusrecip = 1;
157 $warnbannedrecip = 1;
158 $warnbadhrecip = 1;
159
160 # SOME OTHER VARIABLES WORTH CONSIDERING (see amavisd.conf-default for all)
161
162 # $warnbadhsender,
163 # $warnvirusrecip, $warnbannedrecip, $warnbadhrecip, (or @warn*recip_maps)
164 #
165 # @bypass_virus_checks_maps, @bypass_spam_checks_maps,
166 # @bypass_banned_checks_maps, @bypass_header_checks_maps,
167 #
168 # @virus_lovers_maps, @spam_lovers_maps,
169 # @banned_files_lovers_maps, @bad_header_lovers_maps,
170 #
171 # @blacklist_sender_maps, @score_sender_maps,
172 #
173 # $clean_quarantine_method, $virus_quarantine_to, $banned_quarantine_to,
174 # $bad_header_quarantine_to, $spam_quarantine_to,
175 #
176 # $defang_bad_header, $defang_undecipherable, $defang_spam
177
178
179 # REMAINING IMPORTANT VARIABLES ARE LISTED HERE BECAUSE OF LONGER ASSIGNMENTS
180
181 @keep_decoded_original_maps = (new_RE(
182 # qr'^MAIL$', # retain full original message for virus checking (can be slow)
183 qr'^MAIL-UNDECIPHERABLE$', # recheck full mail if it contains undecipherables
184 qr'^(ASCII(?! cpio)|text|uuencoded|xxencoded|binhex)'i,
185 # qr'^Zip archive data', # don't trust Archive::Zip
186 ));
187
188
189 # for $banned_namepath_re (a new-style of banned table) see amavisd.conf-sample
190
191 $banned_filename_re = new_RE(
192
193 ### BLOCKED ANYWHERE
194 # qr'^UNDECIPHERABLE$', # is or contains any undecipherable components
195 qr'^\.(exe-ms|dll)$', # banned file(1) types, rudimentary
196 # qr'^\.(exe|lha|tnef|cab|dll)$', # banned file(1) types
197
198 ### BLOCK THE FOLLOWING, EXCEPT WITHIN UNIX ARCHIVES:
199 # [ qr'^\.(gz|bz2)$' => 0 ], # allow any in gzip or bzip2
200 [ qr'^\.(rpm|cpio|tar)$' => 0 ], # allow any in Unix-type archives
201
202 qr'.\.(pif|scr)$'i, # banned extensions - rudimentary
203 # qr'^\.zip$', # block zip type
204
205 ### BLOCK THE FOLLOWING, EXCEPT WITHIN ARCHIVES:
206 # [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ], # allow any within these archives
207
208 qr'^application/x-msdownload$'i, # block these MIME types
209 qr'^application/x-msdos-program$'i,
210 qr'^application/hta$'i,
211
212 # qr'^message/partial$'i, # rfc2046 MIME type
213 # qr'^message/external-body$'i, # rfc2046 MIME type
214
215 # qr'^(application/x-msmetafile|image/x-wmf)$'i, # Windows Metafile MIME type
216 # qr'^\.wmf$', # Windows Metafile file(1) type
217
218 # block certain double extensions in filenames
219 qr'\.[^./]*[A-Za-z][^./]*\.\s*(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)[.\s]*$'i,
220
221 # qr'\{[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}\}?'i, # Class ID CLSID, strict
222 # qr'\{[0-9a-z]{4,}(-[0-9a-z]{4,}){0,7}\}?'i, # Class ID extension CLSID, loose
223
224 qr'.\.(exe|vbs|pif|scr|cpl)$'i, # banned extension - basic
225 # qr'.\.(exe|vbs|pif|scr|cpl|bat|cmd|com)$'i, # banned extension - basic+cmd
226 # qr'.\.(ade|adp|app|bas|bat|chm|cmd|com|cpl|crt|emf|exe|fxp|grp|hlp|hta|
227 # inf|ins|isp|js|jse|lnk|mda|mdb|mde|mdw|mdt|mdz|msc|msi|msp|mst|
228 # ops|pcd|pif|prg|reg|scr|sct|shb|shs|vb|vbe|vbs|
229 # wmf|wsc|wsf|wsh)$'ix, # banned ext - long
230 # qr'.\.(ani|cur|ico)$'i, # banned cursors and icons filename
231 # qr'^\.ani$', # banned animated cursor file(1) type
232
233 # qr'.\.(mim|b64|bhx|hqx|xxe|uu|uue)$'i, # banned extension - WinZip vulnerab.
234 );
235 # See http://support.microsoft.com/default.aspx?scid=kb;EN-US;q262631
236 # and http://www.cknow.com/vtutor/vtextensions.htm
237
238
239 # ENVELOPE SENDER SOFT-WHITELISTING / SOFT-BLACKLISTING
240
241 @score_sender_maps = ({ # a by-recipient hash lookup table,
242 # results from all matching recipient tables are summed
243
244 # ## per-recipient personal tables (NOTE: positive: black, negative: white)
245 # 'user1@example.com' => [{'bla-mobile.press@example.com' => 10.0}],
246 # 'user3@example.com' => [{'.ebay.com' => -3.0}],
247 # 'user4@example.com' => [{'cleargreen@cleargreen.com' => -7.0,
248 # '.cleargreen.com' => -5.0}],
249
250 ## site-wide opinions about senders (the '.' matches any recipient)
251 '.' => [ # the _first_ matching sender determines the score boost
252
253 new_RE( # regexp-type lookup table, just happens to be all soft-blacklist
254 [qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i => 5.0],
255 [qr'^(greatcasino|investments|lose_weight_today|market\.alert)@'i=> 5.0],
256 [qr'^(money2you|MyGreenCard|new\.tld\.registry|opt-out|opt-in)@'i=> 5.0],
257 [qr'^(optin|saveonlsmoking2002k|specialoffer|specialoffers)@'i => 5.0],
258 [qr'^(stockalert|stopsnoring|wantsome|workathome|yesitsfree)@'i => 5.0],
259 [qr'^(your_friend|greatoffers)@'i => 5.0],
260 [qr'^(inkjetplanet|marketopt|MakeMoney)\d*@'i => 5.0],
261 ),
262
263 # read_hash("/var/amavis/sender_scores_sitewide"),
264
265 { # a hash-type lookup table (associative array)
266 'nobody@cert.org' => -3.0,
267 'cert-advisory@us-cert.gov' => -3.0,
268 'owner-alert@iss.net' => -3.0,
269 'slashdot@slashdot.org' => -3.0,
270 'securityfocus.com' => -3.0,
271 'ntbugtraq@listserv.ntbugtraq.com' => -3.0,
272 'security-alerts@linuxsecurity.com' => -3.0,
273 'mailman-announce-admin@python.org' => -3.0,
274 'amavis-user-admin@lists.sourceforge.net'=> -3.0,
275 'amavis-user-bounces@lists.sourceforge.net' => -3.0,
276 'spamassassin.apache.org' => -3.0,
277 'notification-return@lists.sophos.com' => -3.0,
278 'owner-postfix-users@postfix.org' => -3.0,
279 'owner-postfix-announce@postfix.org' => -3.0,
280 'owner-sendmail-announce@lists.sendmail.org' => -3.0,
281 'sendmail-announce-request@lists.sendmail.org' => -3.0,
282 'donotreply@sendmail.org' => -3.0,
283 'ca+envelope@sendmail.org' => -3.0,
284 'noreply@freshmeat.net' => -3.0,
285 'owner-technews@postel.acm.org' => -3.0,
286 'ietf-123-owner@loki.ietf.org' => -3.0,
287 'cvs-commits-list-admin@gnome.org' => -3.0,
288 'rt-users-admin@lists.fsck.com' => -3.0,
289 'clp-request@comp.nus.edu.sg' => -3.0,
290 'surveys-errors@lists.nua.ie' => -3.0,
291 'emailnews@genomeweb.com' => -5.0,
292 'yahoo-dev-null@yahoo-inc.com' => -3.0,
293 'returns.groups.yahoo.com' => -3.0,
294 'clusternews@linuxnetworx.com' => -3.0,
295 lc('lvs-users-admin@LinuxVirtualServer.org') => -3.0,
296 lc('owner-textbreakingnews@CNNIMAIL12.CNN.COM') => -5.0,
297
298 # soft-blacklisting (positive score)
299 'sender@example.net' => 3.0,
300 '.example.net' => 1.0,
301
302 },
303 ], # end of site-wide tables
304 });
305
306
307 @decoders = (
308 ['mail', \&do_mime_decode],
309 ['asc', \&do_ascii],
310 ['uue', \&do_ascii],
311 ['hqx', \&do_ascii],
312 ['ync', \&do_ascii],
313 ['F', \&do_uncompress, ['unfreeze','freeze -d','melt','fcat'] ],
314 ['Z', \&do_uncompress, ['uncompress','gzip -d','zcat'] ],
315 ['gz', \&do_uncompress, 'gzip -d'],
316 ['gz', \&do_gunzip],
317 ['bz2', \&do_uncompress, 'bzip2 -d'],
318 ['lzo', \&do_uncompress, 'lzop -d'],
319 ['rpm', \&do_uncompress, ['rpm2cpio.pl','rpm2cpio'] ],
320 ['cpio', \&do_pax_cpio, ['pax','gcpio','cpio'] ],
321 ['tar', \&do_pax_cpio, ['pax','gcpio','cpio'] ],
322 ['deb', \&do_ar, 'ar'],
323 # ['a', \&do_ar, 'ar'], # unpacking .a seems an overkill
324 ['zip', \&do_unzip],
325 ['7z', \&do_7zip, ['7zr','7za','7z'] ],
326 ['rar', \&do_unrar, ['rar','unrar'] ],
327 ['arj', \&do_unarj, ['arj','unarj'] ],
328 ['arc', \&do_arc, ['nomarch','arc'] ],
329 ['zoo', \&do_zoo, ['zoo','unzoo'] ],
330 ['lha', \&do_lha, 'lha'],
331 # ['doc', \&do_ole, 'ripole'],
332 ['cab', \&do_cabextract, 'cabextract'],
333 ['tnef', \&do_tnef_ext, 'tnef'],
334 ['tnef', \&do_tnef],
335 # ['sit', \&do_unstuff, 'unstuff'], # broken/unsafe decoder
336 ['exe', \&do_executable, ['rar','unrar'], 'lha', ['arj','unarj'] ],
337 );
338
339
340 @av_scanners = (
341
342 # ### http://www.clamav.net/
343 ['ClamAV-clamd',
344 \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamd"],
345 qr/\bOK$/, qr/\bFOUND$/,
346 qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
347 # # NOTE: run clamd under the same user as amavisd, or run it under its own
348 # # uid such as clamav, add user clamav to the amavis group, and then add
349 # # AllowSupplementaryGroups to clamd.conf;
350 # # NOTE: match socket name (LocalSocket) in clamav.conf to the socket name in
351 # # this entry; when running chrooted one may prefer socket "$MYHOME/clamd".
352
353 # ### http://www.f-prot.com/
354 # ['FRISK F-Prot Daemon',
355 # \&ask_daemon,
356 # ["GET {}/*?-dumb%20-archive%20-packed HTTP/1.0\r\n\r\n",
357 # ['127.0.0.1:10200','127.0.0.1:10201','127.0.0.1:10202',
358 # '127.0.0.1:10203','127.0.0.1:10204'] ],
359 # qr/(?i)<summary[^>]*>clean<\/summary>/,
360 # qr/(?i)<summary[^>]*>infected<\/summary>/,
361 # qr/(?i)<name>(.+)<\/name>/ ],
362
363 ### http://www.kaspersky.com/ (kav4mailservers)
364 ['KasperskyLab AVP - aveclient',
365 ['/usr/local/kav/bin/aveclient','/usr/local/share/kav/bin/aveclient',
366 '/opt/kav/5.5/kav4mailservers/bin/aveclient','aveclient'],
367 '-p /var/run/aveserver -s {}/*',
368 [0,3,6,8], qr/\b(INFECTED|SUSPICION|SUSPICIOUS)\b/,
369 qr/(?:INFECTED|WARNING|SUSPICION|SUSPICIOUS) (.+)/,
370 ],
371 # NOTE: one may prefer [0],[2,3,4,5], depending on how suspicious,
372 # currupted or protected archives are to be handled
373
374 ### http://www.avira.com/
375 ### Avira AntiVir (formerly H+BEDV) or (old) CentralCommand Vexira Antivirus
376 ['Avira AntiVir', ['antivir','vexira'],
377 '--allfiles -noboot -nombr -rs -s -z {}', [0], qr/ALERT:|VIRUS:/,
378 qr/(?x)^\s* (?: ALERT: \s* (?: \[ | [^']* ' ) |
379 (?i) VIRUS:\ .*?\ virus\ '?) ( [^\]\s']+ )/ ],
380 # NOTE: if you only have a demo version, remove -z and add 214, as in:
381 # '--allfiles -noboot -nombr -rs -s {}', [0,214], qr/ALERT:|VIRUS:/,
382
383 # ### http://www.avast.com/
384 # ['avast! Antivirus daemon',
385 # \&ask_daemon, # greets with 220, terminate with QUIT
386 # ["SCAN {}\015\012QUIT\015\012", '/var/run/avast4/mailscanner.sock'],
387 # qr/\t\[\+\]/, qr/\t\[L\]\t/, qr/\t\[L\]\t([^[ \t\015\012]+)/ ],
388
389 # ### http://www.avast.com/
390 # ['avast! Antivirus - Client/Server Version', 'avastlite',
391 # '-a /var/run/avast4/mailscanner.sock -n {}', [0], [1],
392 # qr/\t\[L\]\t([^[ \t\015\012]+)/ ],
393
394 ### http://www.avast.com/
395 ['avast! Antivirus', ['/usr/bin/avastcmd','avastcmd'],
396 '-a -i -n -t=A {}', [0], [1], qr/\binfected by:\s+([^ \t\n\[\]]+)/ ],
397
398 ### http://www.bitdefender.com/
399 ['BitDefender', 'bdc',
400 '--arc --mail {}', qr/^Infected files *:0+(?!\d)/,
401 qr/^(?:Infected files|Identified viruses|Suspect files) *:0*[1-9]/,
402 qr/(?:suspected|infected): (.*)(?:\033|$)/ ],
403 # consider also: --all --nowarn --alev=15 --flev=15. The --all argument may
404 # not apply to your version of bdc, check documentation and see 'bdc --help'
405
406 );
407
408
409 @av_scanners_backup = (
410
411 ### http://www.clamav.net/ - backs up clamd or Mail::ClamAV
412 ['ClamAV-clamscan', 'clamscan',
413 "--stdout --no-summary -r --tempdir=$TEMPBASE {}",
414 [0], qr/:.*\sFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
415
416 ### http://www.f-prot.com/ - backs up F-Prot Daemon
417 ['FRISK F-Prot Antivirus', ['f-prot','f-prot.sh'],
418 '-dumb -archive -packed {}', [0,8], [3,6], # or: [0], [3,6,8],
419 qr/(?:Infection:|security risk named) (.+)|\s+contains\s+(.+)$/ ],
420
421 ### http://www.kaspersky.com/
422 ['Kaspersky Antivirus v5.5',
423 ['/opt/kaspersky/kav4fs/bin/kav4fs-kavscanner',
424 '/opt/kav/5.5/kav4unix/bin/kavscanner',
425 '/opt/kav/5.5/kav4mailservers/bin/kavscanner', 'kavscanner'],
426 '-i0 -xn -xp -mn -R -ePASBME {}/*', [0,10,15], [5,20,21,25],
427 qr/(?:INFECTED|WARNING|SUSPICION|SUSPICIOUS) (.*)/ ,
428 # sub {chdir('/opt/kav/bin') or die "Can't chdir to kav: $!"},
429 # sub {chdir($TEMPBASE) or die "Can't chdir back to $TEMPBASE $!"},
430 ],
431
432 # always succeeds (uncomment to consider mail clean if all other scanners fail)
433 # ['always-clean', sub {0}],
434
435 );
436
437
438 1; # insure a defined return