X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fspamassassin%2Flocal.cf;h=ff92911338ccc1d8ba00e00b98a38a5376c550c8;hb=37ffa905548fd0a926cf3fb420546f89b30080fc;hp=c2c7a27f09e8014f898dceeb037c7f9c3622263d;hpb=20444802ae54c9c82fffc18d5f53f0bfb3824dfc;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/spamassassin/local.cf b/etc/spamassassin/local.cf index c2c7a27..ff92911 100644 --- a/etc/spamassassin/local.cf +++ b/etc/spamassassin/local.cf @@ -1,53 +1,28 @@ # This is the right place to customize your installation of SpamAssassin. # -# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be -# tweaked. -# -# Only a small subset of options are listed below +# See http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html +# for all configuration options. # ########################################################################### -# Add *****SPAM***** to the Subject header of spam e-mails -# -# rewrite_header Subject *****SPAM***** - - -# Save spam messages as a message/rfc822 MIME attachment instead of -# modifying the original message (0: off, 2: use text/plain instead) -# -# report_safe 1 - - -# Set which networks or hosts are considered 'trusted' by your mail -# server (i.e. not spammers) -# -# trusted_networks 212.17.35. - - -# Set file-locking method (flock is not safe over NFS, but is faster) -# -# lock_method flock - - -# Set the threshold at which a message is considered spam (default: 5.0) -# -# required_score 5.0 - - -# Use Bayesian classifier (default: 1) -# -# use_bayes 1 - - -# Bayesian classifier auto-learning (default: 1) -# -# bayes_auto_learn 1 - - -# Set headers which may provide inappropriate cues to the Bayesian -# classifier -# -# bayes_ignore_header X-Bogosity -# bayes_ignore_header X-Spam-Flag -# bayes_ignore_header X-Spam-Status - +# The SMTP of utwente are trusted and regarded as internal, so received header +# DNS checks with -lastexternal check the address before utwente instead of the +# utwente adresses. Also add kat to this list, since she fetches and resends +# mails. + +# Note that by not setting trusted_networks, all internal_networks are also +# trusted (which is what we want) + +# utwente MX +internal_networks 130.89.2.0/24 +# utwente mailboxes +internal_networks 130.89.5.0/24 +# SNT mailservers (at least 130.89.175.26 is one, that delivers for *.student.utwente.nl) +internal_networks 130.89.175.0/24 +# kat +internal_networks 130.89.168.160/32 + +# Treat any score as spam. Exim checks the spamscore against its own +# threshold for denial. Exim also sets the spam headers and should do so for +# every message, not just ones with a high spamscore. +required_score -100.0