summaryrefslogtreecommitdiffstats
path: root/spamass-milter
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-01-17 11:59:51 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-01-17 11:59:54 +0100
commitcae7b71196612d90c08c39ba2bdc8d0d974aa412 (patch)
tree8a293f8e7396a57bdddd40599d2caaa44ea935d8 /spamass-milter
parente318f0b35c97d42347d4784cb5706e0f69d06532 (diff)
downloadaur-packages-cae7b71196612d90c08c39ba2bdc8d0d974aa412.tar.gz
aur-packages-cae7b71196612d90c08c39ba2bdc8d0d974aa412.tar.xz
mass updates/adds
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'spamass-milter')
-rw-r--r--spamass-milter/message.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/spamass-milter/message.diff b/spamass-milter/message.diff
new file mode 100644
index 0000000..53a32c3
--- /dev/null
+++ b/spamass-milter/message.diff
@@ -0,0 +1,15 @@
+--- src/spamass-milter-0.3.1/spamass-milter.cpp 2006-03-23 22:41:36.000000000 +0100
++++ src_new/spamass-milter-0.3.1/spamass-milter.cpp 2010-01-02 01:52:00.000000000 +0100
+@@ -451,8 +451,10 @@
+ }
+ if (do_reject)
+ {
+- debug(D_MISC, "Rejecting");
+- smfi_setreply(ctx, "550", "5.7.1", "Blocked by SpamAssassin");
++ const char *spam_status = assassin->spam_status().c_str();
++ debug(D_MISC, "Rejecting %s", smfi_getsymval(ctx,"i"));
++ debug(D_MISC, spam_status);
++ smfi_setreply(ctx, "550", "5.7.1", "Your message seems to be Spam. Please contact postmaster@server-speed.net for more information.");
+
+
+ if (flag_bucket)