summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/service/imap.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-09-03 20:35:00 +0200
committerKali Kaneko <kali@leap.se>2013-09-03 20:35:00 +0200
commit6aa4e588c84579b785e49d903d0239e9ae13aba6 (patch)
tree71feb74d8e0aba16d852f980e8fb6b432a90ff4d /src/leap/mail/imap/service/imap.py
parentdaf11353454378378d54ba3244a7c3b6f30e586b (diff)
Make mail services bind to 127.0.0.1 instead of 0.0.0.0
Closes: #3627
Diffstat (limited to 'src/leap/mail/imap/service/imap.py')
-rw-r--r--src/leap/mail/imap/service/imap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/mail/imap/service/imap.py b/src/leap/mail/imap/service/imap.py
index 9e9a524..b840e86 100644
--- a/src/leap/mail/imap/service/imap.py
+++ b/src/leap/mail/imap/service/imap.py
@@ -157,7 +157,8 @@ def run_service(*args, **kwargs):
from twisted.internet import reactor
try:
- reactor.listenTCP(port, factory)
+ reactor.listenTCP(port, factory,
+ interface="localhost")
fetcher = LeapIncomingMail(
keymanager,
soledad,