Open cheywood opened 1 month ago
I had a brief prod at working around this for now. It seems, at least on this instance, having the SMTP server set to localhost no longer works. Some change in Huginn, Ruby or the mail server means that the server now needs to be configured in Huginn to match the name on the certificate.
In case this may help others (or future self), that can be done by changing SMTP_SERVER
in /var/www/huginn/.env
, eg. something like
yunohost service stop huginn-web
yunohost service stop huginn-jobs
vim /var/www/huginn/.env
yunohost service start huginn-jobs
yunohost service start huginn-web
(I'm in so way suggesting this is the right or best way, it's just what quickly worked here)
Also, this can be used to get the server name from the certificate in the case of multiple domains on one instance and not being sure which is on the cert: openssl s_client -starttls smtp -crlf -connect localhost:587
Leaving the issue open as this is obviously a temporary workaround.
Describe the bug
Huginn is no longer able to send mail, it seems to relate to this upstream issue, however I'm creating here in case it's been triggered by a configuration change. This mail agent was working in the past, it's stopped sometime in the last few months.
There are a number of domains configured on this YunoHost instance.
The top section of the log from Huginn UI, I can provide more (but the upstream issue is likely more useful?)
Context
Steps to reproduce
Expected behavior
The alert mails to send
Logs
There's a snippet above, and as stated there let me know if more is useful