SOLVED: mail not sending - permission denied

Started by TheRavenKing, November 09, 2016, 11:41:32 AM

Previous topic - Next topic

TheRavenKing

Hi,

I can receive email, but they keep stuck in the queue with the following error:

(temporary failure. Command output: Can't open log file /var/log/dovecot-info.log: Permission denied

-rw-------   1 vmail mail  10118 Nov  9 09:49 dovecot.log

How to fix this, and why does it happen?

Thanks

TheRavenKing

Sorted:

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

emar

#2
Thanks for referencing your fix, 5 years ago.  :)

TheRavenKing

Glad it solved your issue even after 5 years :-)