the second option seems more elegant to me, as it follows yunohost instructions, possibly more future proof.
the settings would have to be verified though, in my changes i am not sure whether port 25 or 587should be set. with the correct settings, i think this would be the way to go though.
Describe the bug
Default mail settings in .env do not work out of the box.
Context
Steps to reproduce
Expected behavior
Send confirmation email instead.
Proposal
Afaik there are two ways to solve this issue.
Option 1 - using sendmail
Either the default
.env
could be adjusted like so: https://github.com/themancalledjakob/pixelfed_ynh/blob/fix-mail-sendmail/conf/.env#L87Option 2 - smtp with dedicated system user PR
or, the settings could be updated to fit in the new way of connecting apps with the mailserver as described here Which would probably be done like this: https://github.com/themancalledjakob/pixelfed_ynh/blob/fix-mail-smtp/manifest.toml#L45 and https://github.com/themancalledjakob/pixelfed_ynh/blob/fix-mail-smtp/conf/.env#L86-L94
the second option seems more elegant to me, as it follows yunohost instructions, possibly more future proof. the settings would have to be verified though, in my changes i am not sure whether port
25
or587
should be set. with the correct settings, i think this would be the way to go though.@lapineige what do you think?