summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e7d1c7)
raw | patch | inline | side by side (parent: 3e7d1c7)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 6 Jan 2003 21:28:38 +0000 (21:28 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 6 Jan 2003 21:28:38 +0000 (21:28 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1422 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/mailgw.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index e2ea9849d57ee38e64c8b1ace33dfd5c27b14dfb..171bd3e74d07960d43fa0bb1f273ad42dfcf1a94 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
- applied patches for handling Outlook quirks (thanks Andrey Lebedev)
(multipart/alternative, "fw" and content-type "name")
- fire auditors and reactors in rdbms retire (thanks Sheila King)
+- better match for mailgw help "command" text
2002-12-11 0.5.3
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index 9d1fc8e1e031c08472067447b4d16b3172d45be6..bca88512ca436da354579c4f19f646c1e9cc3a64 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
an exception, the original message is bounced back to the sender with the
explanatory message given in the exception.
-$Id: mailgw.py,v 1.103 2002-12-27 23:54:05 richard Exp $
+$Id: mailgw.py,v 1.104 2003-01-06 21:28:38 richard Exp $
'''
import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
# handle the subject line
subject = message.getheader('subject', '')
- if subject.strip() == 'help':
+ if subject.strip().lower() == 'help':
raise MailUsageHelp
m = subject_re.match(subject)