Nextcloud default email configuration does not work

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.11
What app is this about: Nextcloud

Describe your issue

Hi,

I just installed Nextcloud (version 30.0.5~ynh1), and when trying to finalise setting it up from the admin user, I discovered that the email service does not work.

From within Nextcloud, I logged in as admin, and went to Administration > Basic settings. I tried to send a test email with the default configuration and got the following error: A problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log). Trying to set up a different email configuration gave me the same error.

Thank you.

Share relevant logs or error messages

Nothing pops up in the Yunohost or Postfix logs when clicking the Send email button on Nextcloud, I’m not sure where to look for other logs.

Screenshot of the error. I did not change the settings from the default configuration, domain is hidden for privacy

Can you send emails from your YunoHost server?
Look at the logs of nextcloud.
I have the same config, so I don’t think that it’s a problem with the nextcloud config.
Check /etc/yunohost/apps/nextcloud/settings.yml for mail_pwd
You can try disabling authentication and test.

Have you tried selecting Sendmail in the Send Mode dropdown?

I reinstalled Nextcloud, I didn’t change the default settings, and the mails seem delivered with no issues. Probably the bug is just in the test email feature? I’ll do more tests and update this thread in case.
Thank you all!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.