aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-04-06 14:57:24 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-04-06 17:42:23 +0100
commitcff9dd65aed09d552f728a54719ed0587a538aee (patch)
treeb2bd0c018b1b1c64f608ba69fe1c05af2ca1ac3a
parent3ddf1e7b8aae9aafbac7b06ec5f161087d06f1d8 (diff)
Updates to bounce handling strings.
-rwxr-xr-xbin/handlemail2
m---------commonlib0
2 files changed, 1 insertions, 1 deletions
diff --git a/bin/handlemail b/bin/handlemail
index e027b8f58..f85ad3e65 100755
--- a/bin/handlemail
+++ b/bin/handlemail
@@ -112,7 +112,7 @@ sub is_out_of_office {
my (%attributes) = @_;
return 1 if $attributes{problem} && $attributes{problem} == mySociety::HandleMail::ERR_OUT_OF_OFFICE;
my $subject = $data{message}->head()->get("Subject");
- return 1 if $subject =~ /Auto(matic|mated)?[ -]?(reply|response|responder)|Thank you for (your email|contacting)|Thank_you_for_your_email|Out of 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/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/i;
return 0;
}
diff --git a/commonlib b/commonlib
-Subproject 085ca9523d780d676695d58dcd95ba22be43bad
+Subproject 20f0ad17b4d0d1a0772690ed5fbfea1581a909c