--- vacation.c.orig	2010-08-17 12:19:29.763988718 +0200
+++ vacation.c	2010-08-17 12:20:03.835238665 +0200
@@ -344,6 +344,17 @@
 			    !strncasecmp(p, "list", 4))
 				discard_exit();
 			break;
+		case 'H':		/* "Header X-Spam-Flag:" */
+			cont = 0;
+			if (strncasecmp(buf, "X-Spam-Flag:", 12) ||	/* If first 12 chars is "X-Spam-Flag:" */
+			    (buf[12] != ' ' && buf[12] != '\t'))	/* But not followed by space or tab */
+				break;					/* Exit */
+			while (*++p && isspace(*p));			/* Read next string up to first space */
+			if (!*p)					/* If empty */
+				break;					/* Exit */
+			if (!strncasecmp(p, "yes", 3))			/* If header value is "yes" regardless char case */
+				discard_exit();				/* Do not autoreply nor forward such message */
+			break;
 		case 'S':		/* "Subject" */
 			cont = 0;
 			if (strncasecmp(buf, "Subject:", 8) ||
