According to the latest server admin manual, section email_configuration, I should be able to choose Encryption from NONE, SSL/TLS and STARTTLS. I should also be able to choose and set an Authentication method. In my newly installed NC26.0.0beta2 instance, I see that the dialog has changed.
For me, it's unclear what to set. I want STARTTLS. Must I choose "NONE"? If so, will PHP try to use STARTTLS anyway? If so, it should be named "NONE/STARTLS" or "Opportunistic". Else it's a drawback since my server only accepts STARTTLS and setting it to "SSL/TLS" yields an error upon testing. I consider it a drawback anyway since I can no longer enforce encryption using STARTTLS.
Apart from the dialog, the documentation needs to be adapted. Could be worth to also mention it in the NC26 release notes.
NC25:
NC26:
Steps to reproduce
freshly install OR update to NC26.0.0beta2 (I tested both)
open /settings/admin
compare Email settings between NC26 and NC25
compare Email settings between NC26 and latest documentation
Expected behavior
Allow to enforce encryption not only with SSL/TLS but also with STARTTLS (if that's still possible)
Clearify in dialog that STARTLS is being used (if that's what happens)
Don't forget to update the docs :)
Installation method
Community Manual installation with Archive
Operating system
Other
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?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
⚠️ This issue respects the following points: ⚠️
Bug description
According to the latest server admin manual, section email_configuration, I should be able to choose Encryption from NONE, SSL/TLS and STARTTLS. I should also be able to choose and set an Authentication method. In my newly installed NC26.0.0beta2 instance, I see that the dialog has changed.
For me, it's unclear what to set. I want STARTTLS. Must I choose "NONE"? If so, will PHP try to use STARTTLS anyway? If so, it should be named "NONE/STARTLS" or "Opportunistic". Else it's a drawback since my server only accepts STARTTLS and setting it to "SSL/TLS" yields an error upon testing. I consider it a drawback anyway since I can no longer enforce encryption using STARTTLS.
Apart from the dialog, the documentation needs to be adapted. Could be worth to also mention it in the NC26 release notes.
NC25:
NC26:
Steps to reproduce
Expected behavior
Installation method
Community Manual installation with Archive
Operating system
Other
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?
Fresh Nextcloud Server install
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
Additional info
No response