Can't receive emails fix
11-08-2015, 02:44 AM
(This post was last modified: 11-08-2015, 02:49 AM by pinguy.)
If you keep getting the message:
This is how you fix it.
I faced this issue when I cleaned the logs. For some reason dovecot doesn't recreate the needed log files when they have been deleted, so you have to create them manually and set the correct permissions.
To do this simply run these commands.
That should be it. You will now be able to receive emails.
Quote:<email@domain.com>: temporary failure. Command output: Can't open log
file /var/log/dovecot.log: Permission denied
This is how you fix it.
I faced this issue when I cleaned the logs. For some reason dovecot doesn't recreate the needed log files when they have been deleted, so you have to create them manually and set the correct permissions.
To do this simply run these commands.
Code:
touch /var/log/dovecot.log
touch /var/log/dovecot-info.log
touch /var/log/dovecot-debug.log
chown vmail.mail /var/log/dovecot*
service dovecot restart
That should be it. You will now be able to receive emails.