spamassassin: Mark a bunch of hosts as internal.
[matthijs/servers/drsnuggles.git] / etc / spamassassin / local.cf
index c2c7a27f09e8014f898dceeb037c7f9c3622263d..065a15eb6f6489fe0f1567ed1594b2b59fb7ebb8 100644 (file)
@@ -1,53 +1,23 @@
 # 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