Sentora Support Forums

Full Version: Sending email but not receiving
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've got Sentora installed on CentOS 7, and am able to send email, but not receive.
I find the following error in /var/dovecot.log when I try to send an email to an account hosted by Sentora:

Fatal: setuid(xyz from userdb lookup) failed with euid=994(vmail):
Operation not permitted (This binary should probably be called with process user set to xyz instead of 994(vmail)

I am also still getting a warning that the server does not support TLS when I us mxtoolbox, but I presume that is an unrelated issue.
So I fixed it. For anyone troubleshooting this problem, here's what I found:

The users' mail folders were owned by XYZ:mail. Not sure what happened there, but XYZ seemed to be an invalid user. So I did "chown -R vmail:mail /var/sentora/vmail/* " to match the configuration of the auth service in /var/sentora/configs/dovecot2/dovecot.conf.

/var/sentora/configs/dovecot2/dovecot-mysql.conf was hard-coding the uid to XYZ, which as we covered earlier was invalid. I changed it to the uid for the vmail user(994), restarted dovecot, and all is right with the world!