From 7cb36bc0b232c4eeb0d491d384a4f6079f1cc674 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Thu, 8 Mar 2018 14:25:05 +0100 Subject: [PATCH 1/2] 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 = '' ; } } From 6c12800a7892352deed64eab42f169fdc8027023 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Thu, 8 Mar 2018 14:26:16 +0100 Subject: [PATCH 2/2] Don't autorespond to Outlook 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 7199121c..e4965fe3 100644 --- a/VIRTUAL_VACATION/vacation.pl +++ b/VIRTUAL_VACATION/vacation.pl @@ -602,6 +602,7 @@ while () { 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); } + elsif (/^x\-auto\-response\-suppress:\s*oof/i) { $logger->debug('x-auto-response-suppress: oof found; exiting'); exit (0); } else {$lastheader = '' ; } }