Stream: troubleshooting

Topic: Regarding the Email Configuration in Dataverse


view this post on Zulip Mansoor Koormath (Mar 06 2025 at 11:41):

Dear Team,

I have installed the dataverse 6.5 in RHEL 9 successfully. However, the emails are not delivered from the applications. After configuring the Postfix on this server, I tried, and the test emails were delivered successfully. I am using the smtp.office365.com as the SMTP host. I have provided these details while installing. But the emails are not delivered to the email inbox once you try for forgot password, email verification, etc. Could you please help me to resolve the issue with the email services? What additional configurations are required if I use Office365 as an SMTP server?

I am looking forward to hearing from you. I appreciate your help in advance.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 06 2025 at 11:43):

Hi! You're using the settings at https://guides.dataverse.org/en/6.5/installation/config.html#dataverse-mail-mta ?

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 06 2025 at 11:44):

I've never used Office 365 specifically but I think I got those settings working with Gmail (but it was a while ago).

view this post on Zulip Mansoor Koormath (Mar 06 2025 at 14:10):

@Philip Durbin โ˜€๏ธ Thank you for your response. Do we need to do any additional setup if we use Gmail, or does it work just if we provide a Gmail ID and Gmail SMTP server?

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 06 2025 at 14:14):

I'm not sure. You might want to ask at https://groups.google.com/g/dataverse-community where you will reach more people.

view this post on Zulip Mansoor Koormath (Mar 06 2025 at 14:19):

@Philip Durbin โ˜€๏ธ Let me check. Thank you

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 06 2025 at 14:19):

There are threads there that explain how to set it up but it's the old way.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 06 2025 at 14:19):

The old way to configure things, I mean.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 06 2025 at 14:20):

I'd suggest configuring things with the modern way, with dataverse.mail.mta.host etc.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 06 2025 at 14:20):

But you might be able to draw inspiration from those old posts.

view this post on Zulip Mansoor Koormath (Mar 10 2025 at 10:27):

Dear Team,
Are these values correct? Please let me know if any changes are required.
dataverse.mail.system-email=myemailid
dataverse.mail.mta.host=smtp.office365.com
dataverse.mail.user=myemailid
dataverse.mail.password=myemailpassword
dataverse.mail.mta.port=587
dataverse.mail.mta.auth=false
dataverse.mail.mta.ssl.enable=false
dataverse.mail.mta.user=myemailid
dataverse.mail.mta.password=myemailpassword
dataverse.mail.mta.allow-utf8-addresses=true

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 10 2025 at 12:26):

Well, dataverse.mail.system-email=myemailid should be an actual email address. Otherwise, it looks more more or less right. Does it work?

view this post on Zulip Mansoor Koormath (Mar 11 2025 at 12:33):

Dear Team,

  I have set these details. However, the email service is not working for me. The server log shows "When UTF-8 characters in recipients: make sure MTA supports it and JVM option dataverse.mail.mta.allow-utf8-addresses=true]]", when I send a verification email. Then, I enabled the utf8-address. But it still shows the same message in the server log. I have tried so many times, and the result is the same. I am getting the utf8-address, which is true once I check the mail property. Then,  I have signed up on the demo dataverse site and tried to verify the email. However, I haven't received any email from the demo site either. Could you please check on the demo site to see whether it is working from your end and let me know the solution to resolve this email issue?

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 11 2025 at 13:27):

I can't read what you wrote so I'm copying and pasting it here:

I have set these details. However, the email service is not working for me. The server log shows "When UTF-8 characters in recipients: make sure MTA supports it and JVM option dataverse.mail.mta.allow-utf8-addresses=true]]", when I send a verification email. Then, I enabled the utf8-address. But it still shows the same message in the server log. I have tried so many times, and the result is the same. I am getting the utf8-address, which is true once I check the mail property. Then, I have signed up on the demo dataverse site and tried to verify the email. However, I haven't received any email from the demo site either. Could you please check on the demo site to see whether it is working from your end and let me know the solution to resolve this email issue?

view this post on Zulip Mansoor Koormath (Mar 11 2025 at 14:38):

@Philip Durbin โ˜€๏ธ Thank you :smile:

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 11 2025 at 14:39):

@Mansoor Koormath sure. Would you be able to ask about SMTP and Office 365 at https://groups.google.com/g/dataverse-community ? I don't have any experience with it.

view this post on Zulip Mansoor Koormath (Mar 11 2025 at 15:53):

@Philip Durbin โ˜€๏ธ Thank you for your assistance. I have posted it in Google Community. :smile:

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 11 2025 at 15:54):

https://groups.google.com/g/dataverse-community/c/uDq4ZPZV-Cg/m/vLVVNlQNAQAJ looks great. Thanks!

view this post on Zulip Mansoor Koormath (Mar 12 2025 at 17:58):

Thank you all. It is worked after pointing the dataverse.mail.* to the localhost (Postfix).

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 12 2025 at 18:39):

Wonderful! Thanks @Don Sizemore for replying on the google group!


Last updated: Oct 30 2025 at 06:21 UTC