[ckan-dev] Email Config: SMTPException(
lucia.espona at wsl.ch
lucia.espona at wsl.ch
Sat Oct 15 20:17:22 UTC 2016
Dear all
I am trying to set up the SMTP server from my institution so that CKAN Server can send mails.
My configuration is following (@ replaced by ' at '):
## Email settings
email_to = envidat at wsl.ch
error_email_from = envidat at wsl.ch
smtp.server = xxxxx.wsl.ch
smtp.starttls = False
smtp.user = envidat at wsl.ch
smtp.password = xxxxxxx
smtp.mail_from = envidat at wsl.ch
When I try to reset the password (user/reset), it fails to send a mail with the following message:
Could not send reset link: SMTPException('SMTP AUTH extension not supported by server.',) Further messages in the console:
2016-10-15 22:14:13,808 DEBUG [ckan.logic] check access OK - request_reset user=
2016-10-15 22:14:13,812 DEBUG [ckan.logic] check access OK - user_show user=
2016-10-15 22:14:13,831 DEBUG [ckan.lib.activity_streams_session_extension] session had no _object_cache or no revision, skipping this commit
Traceback (most recent call last):
File "/usr/lib/ckan/default/src/ckan/ckan/lib/activity_streams_session_extension.py", line 52, in before_commit
revision = session.revision
AttributeError: 'Session' object has no attribute 'revision'
2016-10-15 22:14:13,842 ERROR [ckan.lib.mailer] SMTPException('SMTP AUTH extension not supported by server.',)
Traceback (most recent call last):
File "/usr/lib/ckan/default/src/ckan/ckan/lib/mailer.py", line 80, in _mail_recipient
smtp_connection.login(smtp_user, smtp_password)
File "/usr/lib/python2.7/smtplib.py", line 585, in login
raise SMTPException("SMTP AUTH extension not supported by server.")
SMTPException: SMTP AUTH extension not supported by server.
2016-10-15 22:14:13,845 DEBUG [ckan.lib.base] rendering /usr/lib/ckan/default/src/ckan/ckan/templates/user/request_reset.html [jinja2]
Is this a CKAN configuration issue or is the STMP server of my institution not compatible? Any hints will be appreciated.
Thanks a lot and best regards,
Lucia
_________________________________________________________
Dr. Lucia Espona Pernas
Swiss Federal Institute for Forest, Snow and Landscape Research WSL
Hauptgebäaude Labortrakt (HL C21)
Zürcherstrasse 111
8903 Birmensdorf
Switzerland
+41 44 739 28 71 phone direct
+41 44 739 21 11 reception
www.wsl.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161015/9eb2efb8/attachment-0002.html>
More information about the ckan-dev
mailing list