default smtp to port=587 and security=starttls

This commit is contained in:
Jocelyn Delande 2014-01-26 17:17:09 +01:00
parent aae07a3c24
commit cbf63f5a4e
3 changed files with 5 additions and 5 deletions

View File

@ -158,8 +158,8 @@ also can moderate (=activate or delete) comments. Don't forget to configure
username = username =
password = password =
host = localhost host = localhost
port = 465 port = 587
security = ssl security = starttls
to = to =
from = from =

View File

@ -78,12 +78,12 @@ password =
host = localhost host = localhost
# SMTP port # SMTP port
port = 465 port = 587
# use a secure connection to the server, possible values: "none", "starttls" # use a secure connection to the server, possible values: "none", "starttls"
# or "ssl". Python 2.X probably does not validate certificates (needs # or "ssl". Python 2.X probably does not validate certificates (needs
# research). But you should use a dedicated email account anyways. # research). But you should use a dedicated email account anyways.
security = ssl security = starttls
# recipient address, e.g. your email address # recipient address, e.g. your email address
to = to =

View File

@ -117,7 +117,7 @@ class Config:
"reload = off", "profile = off", "reload = off", "profile = off",
"[smtp]", "[smtp]",
"username = ", "password = ", "username = ", "password = ",
"host = localhost", "port = 465", "security = ssl", "host = localhost", "port = 587", "security = tls",
"to = ", "from = ", "to = ", "from = ",
"[guard]", "[guard]",
"enabled = true", "enabled = true",