IQSS / dataverse-docker

Dataverse 6.2 on Docker with integrated services called "Archive in a box" and could be used both as demo and production system and easily integrated with other services.
57 stars 45 forks source link

Issue with SMTP relay #57

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, I've setup dataverse using docker-compose.yml and update the smtp relay for outlook.com using these commands in the dataverse container:

./asadmin delete-javamail-resource mail/notifyMailSession ./asadmin create-javamail-resource --mailhost smtp-mail.outlook.com --mailuser myemail@outlook.com --fromaddress myemail@outlook.com --property mail.smtp.auth=true:mail.smtp.password=mypassword:mail.smtp.port=587:mail.smtp.socketFactory.port=587:mail.smtp.socketFactory.fallback=false:mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory mail/notifyMailSession

However, when I click on "forgot password" for another test user, I can see "attempted to send mail to testuser@email.com" in the docker logs. But I do not get any email responses in the test user's mailbox including spam folder.

can anyone help me out with this?

Thank you in advance

4tikhonov commented 3 years ago

Hi @thpsg, it looks like there is appropriate command, it should work. Can you share your logs after you're sending email? You can get them by running 'docker logs -f dataverse' command.