Last Yunohost update broke my SMTP server

, ,

My YunoHost server

Hardware: Helios64 (ARM server)
YunoHost version: 4.1.4
I have access to my server : Through SSH + through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

My emails don’t get out. Local mail works.

/var/log/mail.err:

Jan 14 15:21:46 salamandar postfix/smtp[11654]: warning: hash:/etc/postfix/sasl_passwd is unavailable. open database /etc/postfix/sasl_passwd.db: No such file or directory

Workaround

You should have an update for yunohost:

sudo apt update
sudo apt upgrade

… Yeah, as I was writing this issue I saw there was a yunohost update available. It fixed the issue for me.
I post this anyways so that people can find the fixup.

do you know, is there a way to do reset of mailing system?

it would be cool to know how to reset dovecot/postfix and rspamd to default settings provided by yunohost.

Yes,

yunohost tools regen-conf postfix dovecot rspamd --force

But not sure why you’re jumping in this thread since that’s a different question …

1 Like

because reseting setting might return it back after upgrade also.

ps. it doesn’t recover everything.
if remove /etc/postfix at all - only few files are being recreated. Would be great to have something like: yunohost tools regen-conf postfix dovecot rspamd --force --defaults

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.