aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorRobin Houston <robin@lenny.robin>2011-09-08 06:18:35 +0100
committerRobin Houston <robin@lenny.robin>2011-09-08 06:18:35 +0100
commite6c088e6b72e5bfee26fda8d933e8d71ea672b30 (patch)
tree272a44d425d1e460bf4cb39f13d6e7344bf57c77 /script
parent71048a2bd639943801d626fa89e2dfcb2ebb7ee2 (diff)
More out-of-office message detection
Diffstat (limited to 'script')
-rwxr-xr-xscript/handle-mail-replies3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/handle-mail-replies b/script/handle-mail-replies
index fa45d135a..b4846b440 100755
--- a/script/handle-mail-replies
+++ b/script/handle-mail-replies
@@ -106,6 +106,9 @@ def is_oof?(message)
if subject.start_with? "Out of Office AutoReply:"
return true
end
+ if subject.end_with? "is out of the office"
+ return true
+ end
return false
end