This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Can't receive emails fix
#1
Can't receive emails fix
If you keep getting the message:

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.
Reply
Thanks given by:


Messages In This Thread
Can't receive emails fix - by pinguy - 11-08-2015, 02:44 AM
RE: Can't receive emails fix - by Me.B - 12-02-2015, 08:01 PM
RE: Can't receive emails fix - by pinguy - 12-18-2015, 05:47 AM
RE: Can't receive emails fix - by chukran - 02-10-2016, 04:58 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)