Don't autorespond to Outlook autoresponses

Signed-off-by: Sven Strickroth <email@cs-ware.de>
pull/148/head
Sven Strickroth 7 years ago
parent 7cb36bc0b2
commit 6c12800a78

@ -602,6 +602,7 @@ while (<STDIN>) {
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 = '' ; }
}

Loading…
Cancel
Save