diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-01-29 12:00:38 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-01-29 15:24:30 +0000 |
commit | 9f48fd21d8ab9dea7726dec169506629c9611f4d (patch) | |
tree | a6c9bf98d3f1f695f027149f901dd4c870e08caa | |
parent | fe26614bc604bcb7111b075381fc1e4992764306 (diff) |
Add new out-of-office string.
-rwxr-xr-x | bin/handlemail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/handlemail b/bin/handlemail index 38f5cf41d..ade5d42d3 100755 --- a/bin/handlemail +++ b/bin/handlemail @@ -130,7 +130,7 @@ sub is_out_of_office { my $precedence = $head->get("Precedence") || ''; return 1 if $precedence =~ /auto_reply/; my $subject = $head->get("Subject"); - return 1 if $subject =~ /Auto(matic|mated)?[ -_]?(reply|response|responder)|Thank[ _]you[ _]for[ _](your[ _]email|contacting)|Out of (the )?Office|away from the office|This office is closed until|^Re: (Problem Report|New updates)|^Auto: |^E-Mail Response$|^Message Received:|have received your email|Acknowledgement of your email|away from my desk/i; + return 1 if $subject =~ /Auto(matic|mated)?[ -_]?(reply|response|responder)|Thank[ _]you[ _]for[ _](your[ _]email|contacting)|Out of (the )?Office|away from the office|This office is closed until|^Re: (Problem Report|New updates)|^Auto: |^E-Mail Response$|^Message Received:|have received your email|Acknowledgement of your email|away from my desk|We got your email/i; return 0; } |