Advertisement
Guest User

/etc/amavis/conf.d/40-kolab

a guest
Feb 22nd, 2014
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.68 KB | None | 0 0
  1. # this file is automatically written by the Kolab config backend
  2. # manual additions are lost unless made to the template in the Kolab config directory
  3.  
  4. use strict;
  5.  
  6. ##
  7. ## Kolab
  8. ##
  9. $local_domains_re = new_RE( qr'.*' );
  10.  
  11. # threashold and tagging
  12. $sa_local_tests_only = 0;     # only tests which do not require internet access?
  13. $sa_tag_level_deflt  = undef; # all mail gets X-Spam headers
  14. $sa_tag2_level_deflt = 7.00;  # add 'spam detected' headers at that level
  15. #$sa_spam_subject_tag = '*** SPAM *** ';
  16. $sa_spam_subject_tag = undef;
  17. $sa_kill_level_deflt = 7.00;  # foreward spam to final_*_destiny
  18. $sa_mail_body_size_limit = 256*1024; # 256kB, don't waste time on SA if mail is larger
  19.  
  20. $recipient_delimiter = '+';
  21. $addr_extension_spam = 'Spam';
  22. # discard highly rated spam and virus mail, sending a copy to the quarantine-address
  23. $final_spam_destiny   = D_PASS;  # pass spam to local recipients to user+Spam@domain.com
  24. $final_virus_destiny  = D_DISCARD; # discard virus mail
  25. $final_banned_destiny = D_BOUNCE; # send bounced-message to sender
  26. $final_bad_header_destiny = D_PASS; # let invalid header-messages pass
  27.  
  28. $spam_quarantine_to = 'shared+shared/Spam@domain.com';
  29. $virus_quarantine_to = 'shared+shared/Virus@domain.com';
  30.  
  31. $spam_admin = "kolab-admin\@domain.com";
  32. $spam_lovers{lc("kolab-admin\@domain.com")} = 1;
  33. $virus_admin = "kolab-admin\@domain.com";
  34.  
  35. # reinjection path
  36. $notify_method  = 'smtp:[127.0.0.1]:10025'; # notifications about scanned messages
  37. $forward_method = $notify_method; # scanned messages
  38.  
  39. # LOGGING
  40. #$log_level = 0;
  41. #$SYSLOG_LEVEL = 'mail.debug';
  42. $DO_SYSLOG = 1;
  43. $LOGFILE = "/var/log/amavis.log"; # (defaults to empty, no log)
  44. #$sa_debug = 1;
  45.  
  46. 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement