summaryrefslogtreecommitdiff
path: root/mail/src/leap
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-12-19 22:57:07 -0200
committerdrebs <drebs@leap.se>2013-12-19 22:57:07 -0200
commitc6d5c0050b3cbefe79e9d1e2e770defc734dcec7 (patch)
treeab9cbe5f069cf5c9f15908b17278ec161b1e07b3 /mail/src/leap
parenteabff1070531efaf30899fb13f66710233e04dd0 (diff)
Stop providing hostname for helo in smtp gateway (#4335).
Diffstat (limited to 'mail/src/leap')
-rw-r--r--mail/src/leap/mail/smtp/gateway.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/src/leap/mail/smtp/gateway.py b/mail/src/leap/mail/smtp/gateway.py
index a24115b..bef5c6d 100644
--- a/mail/src/leap/mail/smtp/gateway.py
+++ b/mail/src/leap/mail/smtp/gateway.py
@@ -52,6 +52,7 @@ from leap.common.events import proto, signal
from leap.keymanager import KeyManager
from leap.keymanager.openpgp import OpenPGPKey
from leap.keymanager.errors import KeyNotFound
+from leap.mail import __version__
from leap.mail.smtp.rfc3156 import (
MultipartSigned,
MultipartEncrypted,
@@ -492,7 +493,7 @@ class EncryptedMessage(object):
heloFallback=True,
requireAuthentication=False,
requireTransportSecurity=True)
- factory.domain = LOCAL_FQDN
+ factory.domain = __version__
signal(proto.SMTP_SEND_MESSAGE_START, self._user.dest.addrstr)
reactor.connectSSL(
self._host, self._port, factory,