summaryrefslogtreecommitdiffstats
path: root/spamass-milter
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-01-17 12:02:22 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-01-17 12:02:22 +0100
commitdbd1c0d9ff79e45fe66955f48d87eb32c21965a2 (patch)
tree1651dee45f6a694bbebc973fb708639368008b61 /spamass-milter
parentf56ccc71f9d5d564bdbed1946732a456f4a52a63 (diff)
parentcae7b71196612d90c08c39ba2bdc8d0d974aa412 (diff)
downloadaur-packages-dbd1c0d9ff79e45fe66955f48d87eb32c21965a2.tar.gz
aur-packages-dbd1c0d9ff79e45fe66955f48d87eb32c21965a2.tar.xz
Merge branch 'master' of ssh://karif/~flo/git/aur
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)