summaryrefslogtreecommitdiff
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
commite14cbdd27cfae72c3fa851441853d1bd93a33dda (patch)
tree23fe4f9e9c64a0ad5b5833b45e15af48c86880a0
parenta008fba77abbdb571fa3990a61a21827cf77a777 (diff)
Stop providing hostname for helo in smtp gateway (#4335).
-rw-r--r--changes/feature_4335_stop-providing-hostname-for-helo1
-rw-r--r--src/leap/mail/smtp/gateway.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/changes/feature_4335_stop-providing-hostname-for-helo b/changes/feature_4335_stop-providing-hostname-for-helo
new file mode 100644
index 0000000..f4b6c29
--- /dev/null
+++ b/changes/feature_4335_stop-providing-hostname-for-helo
@@ -0,0 +1 @@
+ o Stop providing hostname for helo in smtp gateway (#4335).
diff --git a/src/leap/mail/smtp/gateway.py b/src/leap/mail/smtp/gateway.py
index a24115b..bef5c6d 100644
--- a/src/leap/mail/smtp/gateway.py
+++ b/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,