From 7cb36bc0b232c4eeb0d491d384a4f6079f1cc674 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Thu, 8 Mar 2018 14:25:05 +0100 Subject: [PATCH] Don't autorespond to Communigate autoresponses Signed-off-by: Sven Strickroth --- VIRTUAL_VACATION/vacation.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/VIRTUAL_VACATION/vacation.pl b/VIRTUAL_VACATION/vacation.pl index 46a8f555..7199121c 100644 --- a/VIRTUAL_VACATION/vacation.pl +++ b/VIRTUAL_VACATION/vacation.pl @@ -601,6 +601,7 @@ while () { elsif (/^(x\-(anti|avas\-)?virus\-status):\s+(infected)/i) { $logger->debug("$1: $3 found; exiting"); exit (0); } elsif (/^(x\-(avas\-spam|spamtest|crm114|razor|pyzor)\-status):\s+(spam)/i) { $logger->debug("$1: $3 found; exiting"); exit (0); } elsif (/^(x\-osbf\-lua\-score):\s+[0-9\/\.\-\+]+\s+\[([-S])\]/i) { $logger->debug("$1: $2 found; exiting"); exit (0); } + elsif (/^x\-autogenerated:\s*reply/i) { $logger->debug('x-autogenerated found; exiting'); exit (0); } else {$lastheader = '' ; } }