Regarding the Emai Configuration in Dataverse 6.5

85 views
Skip to first unread message

Mansoor Koormath

unread,
Mar 11, 2025, 11:54:15 AMMar 11
to Dataverse Users Community
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 configured the JavaMailservices using the following settings.

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

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.

Could you please help me to resolve this issue?  I am looking forward to hearing from you. Thank you in advance for your help.

Don Sizemore

unread,
Mar 11, 2025, 12:03:43 PMMar 11
to dataverse...@googlegroups.com
Hello,

Rather than banging your head on Payara mail configuration, it may be
simpler to keep your (working) Postfix configuration, and simply point
dataverse.mail.* to the Postfix installation listening on localhost?

This is what I've done with my installations, particularly the ones in
AWS using SendGrid.

Thank you,
Don
> --
> You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/2f2db42e-6487-4c3c-9059-49be5114e5b4n%40googlegroups.com.

o.be...@fz-juelich.de

unread,
Mar 12, 2025, 9:02:33 AMMar 12
to Dataverse Users Community
Hi there.

As you may or may not be aware of, you need to follow the specs given to you by MS about their SMTP server: https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365#set-up-client-smtp-submission In the config bits above I see you deliberatly disabled SSL and disabled auth, which isn't supported by them.

If you already use a Postfix MTA locally to send out mail, it's probably easier to configure Dataverse to use that one without any auth or SSL.

Cheers,
Oliver

Mansoor Koormath

unread,
Mar 12, 2025, 9:54:57 AMMar 12
to dataverse...@googlegroups.com

Thank you all for your response. Let me try with Postfix.


Mansoor Koormath

unread,
Mar 12, 2025, 1:56:44 PMMar 12
to dataverse...@googlegroups.com
Thank you Don Sizemore and Oliver for your response. It is worked after pointing the dataverse.mail.* to the localhost (Postfix).

Regards

Mansoor Koormath
Reply all
Reply to author
Forward
0 new messages