Dovecot is failed

What type of hardware are you using: Other(?)
What YunoHost version are you running: 12.0.12
How are you able to access your server: The webadmin
SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No

Describe your issue

In a completely new installation of Yuno, I have two error messages in the very first diagnosis, which I believe belong together: Port 993 is not accessible from the outside. And: The service dovecot is failed :frowning:
Of course I tried to restart the dovecot service, but this also failed. As can be seen from the attached log, the reason seems to be: “User doesn’t exist: vmail”. But now I don’t know what to do - can anyone help me?

Share relevant logs or error messages

Urgh yeah that’s weird … we in fact have a piece of code to auto-create this user if it doesn’t exists, but apparently in your even that autofix didnt work

So let’s dig in, can you share the output of

sudo yunohost tools regen-conf dovecot --debug

?

Shure:

WARNING adduser: The UID 500 is already in use.

Hmkay can you share the output of id 500 to see what’s using this uid ?

(I guess we can fix the issue by running adduser --system --ingroup mail --uid 501 vmail --home /var/vmail --no-create-home, note the uid = 501 instead of 500 - but still would be nice to know if something specific is using id 500)

uid=500(avahi) gid=500(avahi) groups=500(avahi)

Hmyeah i see … Well anyway, it should do the trick to run adduser --system --ingroup mail --uid 501 vmail --home /var/vmail --no-create-home and then re-run sudo yunohost tools regen-conf dovecot and dovecot should be up

Thank you - I could start the service now. The diagnosis didn´t realize it yet - but maybe it will take an hour so … I´ll check later. For now: Thank You very much!!!

1 Like