[ckan-dev] Email Config: SMTPException(
lucia.espona at wsl.ch
lucia.espona at wsl.ch
Mon Oct 17 09:53:48 UTC 2016
Thanks Pierre and Hendrik,
I solved it shortly afterwards, I sent the mail to list but I should't have changed the subject :(
The SMTP server of WSL doesn't support authentication neither starttls (and it only works behind firewall).
It worked by deleting username and password parameters in the config file.
For the moment I leave it like this but someday for production I guess I will need an alternative, (@Pierre) your advice with mailutils looks very useful.
The mail on registration is something one will have to implement for what I see.
Best,
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
-----"ckan-dev" <ckan-dev-bounces at lists.okfn.org> wrote: -----
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
From: Forum
Sent by: "ckan-dev"
Date: 17.10.2016 11:12
Subject: Re: [ckan-dev] Email Config: SMTPException(
Dear Lucia,
I worked around the same issue. But in my situation I did not want to have my password in conf file. It's the reason why I just setup
email_to = email at mydomain.ch
As I have a dedicated workstation for CKAN I installed mailutils and it works fine. May be it can be another option for you
Install mailutils #sudo apt-get install mailutils
Keep all by default
1. Make sure to select “Internet site”
2. Make sure to have hostname.wsl.ch, on the next window
Nota bene:
It works fine, but I still can not get e-mail when there is an new activities or when there is a new registration, but I think this is another problem... :o).
I receive error system is well sent to email at mydomain.ch. even if I have not configured :
smtp.server =
smtp.starttls = False
smtp.user =
smtp.password = xxxxxxx
smtp.mail_from =
Cheers
Pierre
On 10/17/16 10:49 AM, Hendrik Bunke wrote:
--On 2016-10-15 22:17, lucia.espona at wsl.ch wrote:
Is this a CKAN configuration issue or is the STMP server of my institution not compatible? Any hints will be appreciated.
Hi Luca,
the SMTP server of your institution is not configured for user authentication.
Try to unset the smtp.server und smtp.user config variables. CKAN then tries to
send the mail without authentication. However, you'll might have to set
the starttls True. If it does not work ask your local mail admin for help.
regards
hendrik
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161017/f2677b6a/attachment-0003.html>
More information about the ckan-dev
mailing list