X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fspamassassin%2Flocal.cf;h=0ac80b6db36af1adca4bdff645d9dd9318618f52;hb=refs%2Fheads%2Fmail;hp=c2c7a27f09e8014f898dceeb037c7f9c3622263d;hpb=20444802ae54c9c82fffc18d5f53f0bfb3824dfc;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/spamassassin/local.cf b/etc/spamassassin/local.cf index c2c7a27..0ac80b6 100644 --- a/etc/spamassassin/local.cf +++ b/etc/spamassassin/local.cf @@ -1,53 +1,38 @@ # 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 + +# Mark any messages with score > 20 as spam, making exim reject them at the +# door. Any messages with lower spamscores should be filtered by users +# themselves. +required_score 20.0 + +# Report template. Should fit within 78 character (dots below). +# ........................................................................ +clear_report_template +report Spamchecked on "_HOSTNAME_" +report +report pts rule name description +report ---- ---------------------- ------------------------------------------- +report _SUMMARY_ +# ........................................................................