From cbf63f5a4eec9f3a8f12c4496b1fe27cb60f01c6 Mon Sep 17 00:00:00 2001 From: Jocelyn Delande Date: Sun, 26 Jan 2014 17:17:09 +0100 Subject: [PATCH] default smtp to port=587 and security=starttls --- docs/docs/configuration/server.rst | 4 ++-- docs/isso.example.cfg | 4 ++-- isso/core.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/configuration/server.rst b/docs/docs/configuration/server.rst index 5d12193..b7ec976 100644 --- a/docs/docs/configuration/server.rst +++ b/docs/docs/configuration/server.rst @@ -158,8 +158,8 @@ also can moderate (=activate or delete) comments. Don't forget to configure username = password = host = localhost - port = 465 - security = ssl + port = 587 + security = starttls to = from = diff --git a/docs/isso.example.cfg b/docs/isso.example.cfg index 9028995..b17199d 100644 --- a/docs/isso.example.cfg +++ b/docs/isso.example.cfg @@ -78,12 +78,12 @@ password = host = localhost # SMTP port -port = 465 +port = 587 # use a secure connection to the server, possible values: "none", "starttls" # or "ssl". Python 2.X probably does not validate certificates (needs # research). But you should use a dedicated email account anyways. -security = ssl +security = starttls # recipient address, e.g. your email address to = diff --git a/isso/core.py b/isso/core.py index bbb41cf..d3ca4cc 100644 --- a/isso/core.py +++ b/isso/core.py @@ -117,7 +117,7 @@ class Config: "reload = off", "profile = off", "[smtp]", "username = ", "password = ", - "host = localhost", "port = 465", "security = ssl", + "host = localhost", "port = 587", "security = tls", "to = ", "from = ", "[guard]", "enabled = true",