Closed leolivier closed 1 year ago
Hi,
I assume you have to configure the smtp configuration with docker-compose.
But it used to work a few weeks or months ago...
Are you using the environment variables to configure the mailer credentials?
Yes, the variables are defined in the .env file associated to the docker-compose.yml file
thanks to @kesselb I checked the .env file and changed the line
MAIL_FROM_ADDRESS=nextcloud@lev...
into
MAIL_FROM_ADDRESS=nextcloud
and it worked.
Nevertheless, I think this changed in version 25 as it used to work before, so I don't close the issue
I remember another issue with a similar problem. Maybe we changed something here. The actual behavior is the documented one. I will send a pull request for the docker documentation.
⚠️ This issue respects the following points: ⚠️
Bug description
I have this setup for sending notification emails, and I see nothing wrong in it, but when I test it, I get a very strange error message:![image](https://user-images.githubusercontent.com/4014752/221368325-baf35d9c-9355-47f3-a766-586fb91e1027.png)
This is written in French but it says "An error occurred while sending the email. Please check your settings (Error: Address in mailbox given [nextcloud@levillain.eu@localhost.localdomain] does not comply with RFC 2822, 3.6.2.)"
Furthermore, when I go to another admin screen and come back to this one, the email address, the encryption type are messed up:
as if the changes were not stored
Same for the password: the email parameters are right (I get a green message saying it's saved when giving user/pwd) but when I go to another screen and come back the pwd is the old one
And my log file is flooded of errors (see below)
Steps to reproduce
Expected behavior
No error ;)
Installation method
Community Docker image
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info