# inhalt von /etc/spamassassin/local.cf # How many hits before a message is considered spam. required_score 5.0 # Whether to change the subject of suspected spam rewrite_header Subject ****SPAM****(_SCORE_) # Encapsulate spam in an attachment report_safe 0 # Set which networks or hosts are considered 'trusted' by your mail # server (i.e. not spammers) # #trusted_networks 127.0.0.0/8 # Some shortcircuiting, if the plugin is enabled # ifplugin Mail::SpamAssassin::Plugin::Shortcircuit # # default: strongly-whitelisted mails are *really* whitelisted now, if the # shortcircuiting plugin is active, causing early exit to save CPU load. # Uncomment to turn this on shortcircuit USER_IN_WHITELIST on shortcircuit USER_IN_DEF_WHITELIST on shortcircuit USER_IN_ALL_SPAM_TO on shortcircuit SUBJECT_IN_WHITELIST on # the opposite; blacklisted mails can also save CPU shortcircuit USER_IN_BLACKLIST on shortcircuit USER_IN_BLACKLIST_TO on shortcircuit SUBJECT_IN_BLACKLIST on # if you have taken the time to correctly specify your "trusted_networks", # this is another good way to save CPU # #shortcircuit ALL_TRUSTED on # and a well-trained bayes DB can save running rules, too shortcircuit BAYES_99 spam shortcircuit BAYES_00 ham endif # Mail::SpamAssassin::Plugin::Shortcircuit # Add report into headers add_header spam Report _REPORT_ add_header spam Flag _YESNOCAPS_ add_header all Status _YESNO_, hits=_HITS_ required=_REQD_ tests=_TESTSSCORES(,)_ bayes=_BAYES_ autolearn=_AUTOLEARN_ add_header all Level _STARS(*)_ add_header all Checker-Version SpamAssassin _VERSION_ on _HOSTNAME_ # Set file-locking method (flock is not safe over NFS, but is faster) lock_method flock allow_user_rules 1 rbl_timeout 4 ok_locales all dns_available yes dns_server 127.0.0.1 #auto_whitelist_factor 0.03 whitelist_to root@* whitelist_to abuse@* whitelist_from root@* whitelist_from postmaster@* #bayes konfiguration use_bayes 1 # Note that the argument to bayes_path is a combination of a directory (/var/spamassassin/bayes_db/) and a filename prefix (bayes). bayes_path /var/lib/spamassassin/.spamassassin/bayes # bayes_file_mode 0777 bayes_journal_max_size 15000000 bayes_expiry_max_db_size 20000000 bayes_auto_learn 1 bayes_learn_to_journal 1 bayes_ignore_header Return-Path bayes_ignore_header Received bayes_ignore_header X-Bogosity bayes_ignore_header X-Spam-Flag bayes_ignore_header X-Spam-Status bayes_ignore_header X-Spam-Flag bayes_ignore_header X-Spam-Level bayes_ignore_header X-purgate bayes_ignore_header X-purgate-ID bayes_ignore_header X-purgate-Ad bayes_ignore_header X-GMX-Antispam bayes_ignore_header X-Resent-For bayes_ignore_header X-Resent-By bayes_ignore_header X-Resent-To bayes_ignore_header Resent-To bayes_ignore_header Sender bayes_ignore_header Precedence bayes_ignore_header X-Antispam bayes_ignore_header X-Sieve bayes_ignore_header X-Spamcount bayes_ignore_header X-Spamsensitivity bayes_ignore_header To bayes_ignore_header X-Sieve bayes_ignore_header X-WEBDE-FORWARD #pyzor konfiguration pyzor_max 3 #dcc konfiguration use_dcc 1 dcc_path /usr/local/bin/dccproc dcc_dccifd_path /var/dcc/libexec/dccifd full DCC_CHECK eval