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",