Open SnejPro opened 1 year ago
This is very annoying. It took me a while with changing PHP code to figure out why emails weren't sending. I hadn't setup "Sent" folder in Dovecot and Nextcloud Mail didn't like that but was failing quite silently. There were no error logs anywhere and in UI message wasn't helpful.
This is how it looks like:
We do log at the debug (0) log level:
Don't like the idea of logging subjects/etc in the system log by default, but maybe we should consider logging something at warn (2
) or at least error level here.
@davispuh Your situation is unrelated. It's for the Mail app, not Nextcloud Server so mail handling is separate. Check https://github.com/nextcloud/mail/ for reports and/or report your suggestion there. Also possibly of interest: https://github.com/nextcloud/mail/blob/main/doc/admin.md#troubleshooting
⚠️ This issue respects the following points: ⚠️
Bug description
When there is a configuration error or the mail server is unable to accept mails from nextcloud (e.g. due to fail2ban) there is no indication that nextcloud is not able to send emails in the nextcloud logging or in the warnings on admin page.
Steps to reproduce
Expected behavior
Installation method
Community Manual installation with Archive
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response