#! /bin/sh /usr/share/dpatch/dpatch-run ## 20_spamass-milter-0.3.1-default.dpatch by Herbert Straub ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Add new features in the default configuration file @DPATCH@ --- spamass-milter-0.3.1/debian/spamass-milter.default.ORIG 2006-06-18 15:23:59.000000000 +0200 +++ spamass-milter-0.3.1/debian/spamass-milter.default 2006-06-18 15:28:08.000000000 +0200 @@ -2,13 +2,34 @@ # OPTIONS are passed directly to spamass-milter. # man spamass-milter for details +# If the strings in options -R and -S contains blanks, +# then use the REJECT and REJECTTEXT_INTERN +# see below # Default, use the nobody user as the default user, ignore messages # from localhost -OPTIONS="-u nobody -i 127.0.0.1" +#OPTIONS="-u nobody -i 127.0.0.1" # Reject emails with spamassassin scores > 15. #OPTIONS="-r 15" # Do not modify Subject:, Content-Type: or body. #OPTIONS="-m" + +# Define the internal netwerk mailserver and +# don't modify the outgoing mails, but reject it, if +# the Spamassassin count is greater equel 10 +#OPTIONS="-u nobody -r 10 -n 10.1.1.123 -s 10 -O" + +# Socket location +#SOCKET=/var/run/spamass-milter/spamass.sock + +# Specifiy an alternate reject text +# You have to specify the score with -r +#REJECTTEXT="Blocked by Spamassassin, see http://fqdn/" + +# Specify an alternate reject text for interal networks +# You have to specify the internal network with the +# options -n and the score with -s +#REJECTTEXT_INTERN="Blocked by Spamassassin, call you helpdesk" +