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.
--
Simone Lazzaris
Interactive S.r.L.