diff options
author | Kali Kaneko <kali@leap.se> | 2013-10-31 22:34:50 -0200 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-11-01 10:19:59 -0300 |
commit | 64cbb0d02e312a91c324b49ddb99bfb691b4e2cd (patch) | |
tree | ccb71bfb288bcebdb9ca4647960b1720dccca706 /src/leap/mail/imap/service/imap.py | |
parent | d9eaccecf3a4e9677140092bd29e13ea662658f9 (diff) |
notify MUA of new mail as it gets added to mailbox
Diffstat (limited to 'src/leap/mail/imap/service/imap.py')
-rw-r--r-- | src/leap/mail/imap/service/imap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/mail/imap/service/imap.py b/src/leap/mail/imap/service/imap.py index b641d2e..5f7322a 100644 --- a/src/leap/mail/imap/service/imap.py +++ b/src/leap/mail/imap/service/imap.py @@ -77,7 +77,7 @@ class LeapIMAPServer(imap4.IMAP4Server): #self.theAccount = theAccount def lineReceived(self, line): - if "login" in line: + if "login" in line.lower(): # avoid to log the pass, even though we are using a dummy auth # by now. msg = line[:7] + " [...]" @@ -160,7 +160,7 @@ def run_service(*args, **kwargs): try: tport = reactor.listenTCP(port, factory, - interface="localhost") + interface="localhost") fetcher = LeapIncomingMail( keymanager, soledad, |