Closed themancalledjakob closed 11 months ago
!testme
Thank a lot for that PR !! :smiley:
my pleasure! :) i am very excited by yunohost, and super happy for anything i can contribute
damn, somehow i cannot figure out any working smtp settings. it looks as if the mailserver always attempts a TLS connection, nevermind the MAIL_ENCRYPTION=null setting in .env
, and I cannot figure out how to set up TLS properly.
the sendmail
solution does work though. is there any reason why smtp should be preferred?
I don't know. We should ask Yunohost devs
!bookwormtestme
I don't know. We should ask Yunohost devs
I have a hunch, that we should just use sendmail.
If you run $ man sendmail
, it will tell you that it's not ancient sendmail, but actually postfix.
It's sending emails with these settings /etc/postfix/main.cf
.
Looking in these settings, it appears that they are neatly tied to yunohost setup, even including ldap user accounts and TLS.
and also: it just works :)
Then that's perfect, let's go for it ? :)
yep, i prepared a branch with sendmail and will quickly do a fresh install on my yunohost to verify that it indeed works out of the box
alright, here it is: #230
It's a bit confusing, but cool, having another PR (instead of changing it here) is cool too. Archiving this then.
aha, learned something. Next time, I'll rather edit commits of an existing PR :)
Well it reduces the commit history when it's another PR, but it also split the discussion in 2 places, so in that case (a minor change) I would rather keep it in the same PR :)
Problem
Solution
PR Status
Comment
I am unsure whether port
25
or587
should used in.env