Submit it to the bug tracker as a feature request. It'll probably be
included once the next distro is added.
http://devel.qmailtoaster.com/flyspray
Erik
On 2/14/07, Quinn Comendant <[EMAIL PROTECTED]> wrote:
FYI: a patch for autorespond to prevent spam from getting a reply. I would
recommend adding this to the toaster.
Quinn
---------------------------------------------------------------------
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 624 4410
----- Begin forwarded message -----
Subject: [qmailadmin] Patch for autorespond
Date: Wed, 14 Feb 2007 15:14:50 +0100
From: Simone Lazzaris <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
X-Spam-Status: No, score=-2.4 required=3.2 tests=BAYES_00,DK_POLICY_SIGNSOME,
SARE_SUB_OBFU_Q1 autolearn=no version=3.1.7
Hi anybody/everybody
I've patched autorespond (v2.0.4, but the patch also apply to 2.0.5) to detect
spam messages tagged by spamassassin; this to avoid to respond to spam
messages. Patch is:
--- autorespond-2.0.4-orig/autorespond.c 2003-08-25 18:11:58.000000000
+0200
+++ autorespond-2.0.4/autorespond.c 2007-02-14 14:53:00.000000000 +0100
@@ -640,7 +640,8 @@
}
if ( inspect_headers("precedence", "junk" ) != (char *)NULL ||
inspect_headers("precedence", "bulk" ) != (char *)NULL ||
- inspect_headers("precedence", "list" ) != (char *)NULL )
+ inspect_headers("precedence", "list" ) != (char *)NULL ||
+ inspect_headers("X-Spam-Status", "Yes" ) != (char *)NULL )
{
fprintf(stderr,"AUTORESPOND: Junk mail received.\n");
_exit(100);
It would be nice to have this integrated in autorespond.
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]