~ubuntu-branches/debian/sid/amavisd-new/sid

« back to all changes in this revision

Viewing changes to amavisd.conf-default

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-12-06 00:55:44 UTC
  • mto: (8.1.1 sid) (9.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20081206005544-4cy0kh36zes10q8t
Tags: upstream-2.6.2~rc2.dfsg
ImportĀ upstreamĀ versionĀ 2.6.2~rc2.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
# $localpart_is_case_sensitive = 0;
39
39
# $enable_db = 0;
40
40
# $enable_global_cache = 0;
41
 
# $nanny_details_level = 1;  # verbosity: 0, 1, 2  
 
41
# $nanny_details_level = 1;  # verbosity: 0, 1, 2
42
42
# @additional_perl_modules = ();
43
43
# @local_domains_maps=(\%local_domains,\@local_domains_acl,\$local_domains_re);
44
44
# @mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
90
90
# $smtp_connection_cache_enable = 1;
91
91
# $enforce_smtpd_message_size_limit_64kb_min = 1;
92
92
 
93
 
# $enable_dkim_verification = 0;
 
93
# $enable_dkim_verification = undef;
94
94
# $reputation_factor = 0.2;
95
95
# @signer_reputation_maps = ();
96
96
 
118
118
# $final_spam_destiny   = D_BOUNCE;   # subject to $sa_dsn_cutoff_level
119
119
# $final_bad_header_destiny = D_PASS;
120
120
 
121
 
# $enable_dkim_signing = 0;
 
121
# $enable_dkim_signing = undef;
122
122
# %dkim_signing_keys = ();
123
123
 
124
124
## QUARANTINE
227
227
# $insert_received_line = 1;  # insert 'Received:' header
228
228
# $remove_existing_x_scanned_headers = 0;
229
229
# $remove_existing_spam_headers = 1;
 
230
# @remove_existing_spam_headers_maps = (\$remove_existing_spam_headers);
230
231
# $allow_fixing_improper_header = 1;   # all-white folding lines and long lines
231
232
# $allow_fixing_improper_header_folding = 1;
232
233
# $allow_fixing_long_header_lines = 1;
350
351
# $viruses_that_fake_sender_re = undef;
351
352
# @viruses_that_fake_sender_maps = (\$viruses_that_fake_sender_re, 1);
352
353
# @virus_name_to_spam_score_maps =
353
 
#   (new_RE( [ qr'^(Email|HTML)\.(Phishing|Spam|Scam[a-z0-9]?)\.'i => 0.1 ],
354
 
#            [ qr'^(Email|Html)\.Malware\.Sanesecurity\.'          => undef ],
355
 
#            [ qr'^(Email|Html)(\.[^., ]*)*\.Sanesecurity\.'       => 0.1 ],
356
 
#            [ qr'^(MSRBL-Images/|MSRBL-SPAM\.)'   => 0.1 ],
 
354
#   (new_RE(  # the order matters!
 
355
#     [ qr'^Phishing\.'                                             => 0.1 ],
 
356
#     [ qr'^(Email|HTML)\.Phishing\.(?!.*Sanesecurity)'             => 0.1 ],
 
357
#     [ qr'^Sanesecurity\.(Malware|Rogue|Trojan)\.' => undef ], # keep infected
 
358
#     [ qr'^Sanesecurity(\.[^., ]*)*\.'                             => 0.1 ],
 
359
#     [ qr'^Sanesecurity_PhishBar_'                                 => 0   ],
 
360
#     [ qr'^Email\.Spam\.Bounce(\.[^., ]*)*\.Sanesecurity\.'        => 0   ],
 
361
#     [ qr'^(MSRBL-Images\b|MSRBL-SPAM\.)'                          => 0.1 ],
 
362
#     [ qr'^VX\.Honeypot-SecuriteInfo\.com\.Joke'                   => 0.1 ],
 
363
#     [ qr'^VX\.not-virus_(Hoax|Joke)\..*-SecuriteInfo\.com(\.|\z)' => 0.1 ],
 
364
#     [ qr'^Email\.Spam.*-SecuriteInfo\.com(\.|\z)'                 => 0.1 ],
 
365
#     [ qr'-SecuriteInfo\.com(\.|\z)'         => undef ],  # keep as infected
 
366
#     [ qr'^MBL_'                             => undef ],  # keep as infected
357
367
#   ));
358
368
 
359
369
# $banned_namepath_re = undef;  # new-style
452
462
#   'sel_policy' => \$sql_select_policy,
453
463
#   'sel_wblist' => \$sql_select_white_black_list,
454
464
#   'sel_adr' =>
455
 
#     'SELECT id FROM maddr WHERE email=?',
 
465
#     'SELECT id FROM maddr WHERE partition_tag=? AND email=?',
456
466
#   'ins_adr' =>
457
 
#     'INSERT INTO maddr (email, domain) VALUES (?,?)',
 
467
#     'INSERT INTO maddr (partition_tag, email, domain) VALUES (?,?,?)',
458
468
#   'ins_msg' =>
459
 
#     'INSERT INTO msgs (mail_id, secret_id, am_id, time_num, time_iso, sid,'.
460
 
#     ' policy, client_addr, size, host) VALUES (?,?,?,?,?,?,?,?,?,?)',
 
469
#     'INSERT INTO msgs (partition_tag, mail_id, secret_id, am_id,'.
 
470
#     ' time_num, time_iso, sid, policy, client_addr, size, host)'.
 
471
#     ' VALUES (?,?,?,?,?,?,?,?,?,?,?)',
461
472
#   'upd_msg' =>
462
473
#     'UPDATE msgs SET content=?, quar_type=?, quar_loc=?, dsn_sent=?,'.
463
 
#     ' spam_level=?, message_id=?, from_addr=?, subject=? WHERE mail_id=?',
 
474
#     ' spam_level=?, message_id=?, from_addr=?, subject=?, client_addr=?'.
 
475
#     ' WHERE partition_tag=? AND mail_id=?',
464
476
#   'ins_rcp' =>
465
 
#     'INSERT INTO msgrcpt (mail_id, rid,'.
466
 
#     ' ds, rs, bl, wl, bspam_level, smtp_resp) VALUES (?,?,?,?,?,?,?,?)',
 
477
#     'INSERT INTO msgrcpt (partition_tag, mail_id, rid,'.
 
478
#     ' ds, rs, bl, wl, bspam_level, smtp_resp) VALUES (?,?,?,?,?,?,?,?,?)',
467
479
#   'ins_quar' =>
468
 
#     'INSERT INTO quarantine (mail_id, chunk_ind, mail_text)'.
469
 
#     ' VALUES (?,?,?)',
 
480
#     'INSERT INTO quarantine (partition_tag, mail_id, chunk_ind, mail_text)'.
 
481
#     ' VALUES (?,?,?,?)',
 
482
#   'sel_msg' =>  # obtains partition_tag if missing in a release request
 
483
#     'SELECT partition_tag FROM msgs WHERE mail_id=?',
470
484
#   'sel_quar' =>
471
 
#     'SELECT mail_text FROM quarantine WHERE mail_id=? ORDER BY chunk_ind',
472
 
#   'sel_penpals' =>
 
485
#     'SELECT mail_text FROM quarantine'.
 
486
#     ' WHERE coalesce(partition_tag,0)=coalesce(?,0) AND mail_id=?'.
 
487
#     ' ORDER BY chunk_ind',
 
488
#   'sel_penpals' =>  # no message-id references list
473
489
#     "SELECT msgs.time_num, msgs.mail_id, subject".
474
 
#     " FROM msgs JOIN msgrcpt ON msgs.mail_id=msgrcpt.mail_id".
475
 
#     " WHERE sid=? AND rid=? AND ds='P' AND content!='V'".
476
 
#     " ORDER BY time_num DESC LIMIT 1",
 
490
#     " FROM msgs JOIN msgrcpt USING (partition_tag,mail_id)".
 
491
#     " WHERE sid=? AND rid=? AND content!='V' AND ds='P'".
 
492
#     " ORDER BY msgs.time_num DESC",  # LIMIT 1
 
493
#   'sel_penpals_msgid' =>  # with a nonempty message-id references list
 
494
#     "SELECT msgs.time_num, msgs.mail_id, subject, message_id, rid".
 
495
#     " FROM msgs JOIN msgrcpt USING (partition_tag,mail_id)".
 
496
#     " WHERE sid=? AND content!='V' AND ds='P' AND message_id IN (%m)".
 
497
#       " AND rid!=sid".
 
498
#     " ORDER BY rid=? DESC, msgs.time_num DESC",  # LIMIT 1
477
499
# );
478
500
 
479
501
## LDAP, Please see file README.lookups for more info.
699
721
    ##   @bypass_virus_checks_maps @bypass_spam_checks_maps
700
722
    ##   @bypass_banned_checks_maps @bypass_header_checks_maps
701
723
    ##   @viruses_that_fake_sender_maps @virus_name_to_spam_score_maps
 
724
    ##   @remove_existing_spam_headers_maps
702
725
    ##
703
726
    ##   %final_destiny_by_ccat %lovers_maps_by_ccat
704
727
    ##   %defang_maps_by_ccat %subject_tag_maps_by_ccat
747
770
    ##   @addr_extension_virus_maps  @addr_extension_spam_maps
748
771
    ##   @addr_extension_banned_maps @addr_extension_bad_header_maps
749
772
 
750
 
1;
 
773
1;  # insure a defined return value