Advertisement
Guest User

Untitled

a guest
Jun 18th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. $sa_tag_level_deflt = 3.0; # add spam info headers if at, or above that level
  2. $sa_tag2_level_deflt = 3; # add 'spam detected' headers at that level
  3. $sa_kill_level_deflt = 3; # triggers spam evasive actions
  4. $sa_dsn_cutoff_level = 3; # spam level beyond which a DSN is not sent
  5. $sa_quarantine_cutoff_level = 1; # spam level beyond which quarantine is off
  6. # $penpals_bonus_score = 4; # (no effect without a @storage_sql_dsn database)
  7. $penpals_threshold_high = $sa_kill_level_deflt; # don't waste time on hi spam
  8.  
  9. $sa_mail_body_size_limit = 600*1024; # don't waste time on SA if mail is larger
  10. $sa_local_tests_only = 0; # only tests which do not require internet access?
  11.  
  12. # @lookup_sql_dsn =
  13. # ( ['DBI:mysql:database=mail;host=127.0.0.1;port=3306', 'user1', 'passwd1'],
  14. # ['DBI:mysql:database=mail;host=host2', 'username2', 'password2'],
  15. # ["DBI:SQLite:dbname=$MYHOME/sql/mail_prefs.sqlite", '', ''] );
  16. # @storage_sql_dsn = @lookup_sql_dsn; # none, same, or separate database
  17.  
  18. # $timestamp_fmt_mysql = 1; # if using MySQL *and* msgs.time_iso is TIMESTAMP;
  19. # defaults to 0, which is good for non-MySQL or if msgs.time_iso is CHAR(16)
  20.  
  21. $virus_admin = "kfarmer\@atlantictesting.com"; # notifications recip.
  22.  
  23. $mailfrom_notify_admin = "shdwbox\@gearboxsystems.com"; # notifications sender
  24. $mailfrom_notify_recip = "shdwbox\@gearboxsystems.com"; # notifications sender
  25. $mailfrom_notify_spamadmin = "shdwbox\@gearboxsystems.com"; # notifications sender
  26. $mailfrom_to_quarantine = ''; # null return path; uses original sender if undef
  27.  
  28. @addr_extension_virus_maps = ('virus');
  29. @addr_extension_banned_maps = ('banned');
  30. @addr_extension_spam_maps = ('spam');
  31. @addr_extension_bad_header_maps = ('badh');
  32. # $recipient_delimiter = '+'; # undef disables address extensions altogether
  33. # when enabling addr extensions do also Postfix/main.cf: recipient_delimiter=+
  34.  
  35. $path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
  36. # $dspam = 'dspam';
  37.  
  38. $MAXLEVELS = 14;
  39. $MAXFILES = 1500;
  40. $MIN_EXPANSION_QUOTA = 100*1024; # bytes (default undef, not enforced)
  41. $MAX_EXPANSION_QUOTA = 300*1024*1024; # bytes (default undef, not enforced)
  42.  
  43. $sa_spam_subject_tag = 'SPAM';
  44. $defang_virus = 1; # MIME-wrap passed infected mail
  45. $defang_banned = 1; # MIME-wrap passed mail containing banned name
  46. # for defanging bad headers only turn on certain minor contents categories:
  47. $defang_by_ccat{+CC_BADH.",3"} = 1; # NUL or CR character in header
  48. $defang_by_ccat{+CC_BADH.",5"} = 1; # header line longer than 998 characters
  49. $defang_by_ccat{+CC_BADH.",6"} = 1; # header field syntax error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement