diff options
Diffstat (limited to 'spamass-milter')
-rw-r--r-- | spamass-milter/message.diff | 15 |
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) |