What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.3 (testing)
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No
Describe your issue
2 times per day the diagnosis fails with the following message :
smtplib.smtprecipientsrefused: {'root': (504, b'5.5.2 <root>: Recipient address rejected: need fully-qualified address')}
Looks like that the command tries to send the summary to the email root but Yunohost is expecting more like root@a_domain and i don’t know why and how to change that
Share relevant logs or error messages
18786 SUCCESS Everything looks OK for System configurations! (+ 5 ignored issue(s))
18786 DEBUG Running diagnosis for apps …
18786 DEBUG Loading diagnoser apps
19668 DEBUG Updating cache /var/cache/yunohost/diagnosis/apps.json
19673 SUCCESS Everything looks OK for Applications!
19916 DEBUG action executed in 19.651s
19916 DEBUG lock has been released
Traceback (most recent call last):
File “/usr/bin/yunohost”, line 77, in
yunohost.cli(
File “/usr/lib/python3/dist-packages/yunohost/init.py”, line 41, in cli
ret = moulinette.cli(
^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/moulinette/init.py”, line 115, in cli
).run(args, output_as=output_as, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/moulinette/interfaces/cli.py”, line 498, in run
ret = self.actionsmap.process(args, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/moulinette/actionsmap.py”, line 561, in process
return func(**arguments)
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/yunohost/diagnosis.py”, line 206, in diagnosis_run
email_diagnosis_issues()
File “/usr/lib/python3/dist-packages/yunohost/diagnosis.py”, line 705, in email_diagnosis_issues
smtp.sendmail(from, [to], message.encode(“utf-8”))
File “/usr/lib/python3.11/smtplib.py”, line 901, in sendmail
raise SMTPRecipientsRefused(senderrs)
smtplib.SMTPRecipientsRefused: {‘root’: (504, b’5.5.2 : Recipient address rejected: need fully-qualified address’)}