Author Topic: SOLVED: mail not sending - permission denied  (Read 9742 times)

0 Members and 1 Guest are viewing this topic.

SOLVED: mail not sending - permission denied
« on: November 09, 2016, 11:41:32 AM »
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
« Last Edit: November 09, 2016, 12:32:25 PM by TheRavenKing »

SOLVED Re: mail not sending - permission denied
« Reply #1 on: November 09, 2016, 12:32:06 PM »
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

Offline
*
Re: SOLVED: mail not sending - permission denied
« Reply #2 on: February 23, 2021, 09:38:22 PM »
Thanks for referencing your fix, 5 years ago.  :)
« Last Edit: February 23, 2021, 09:53:12 PM by emar »

Re: SOLVED: mail not sending - permission denied
« Reply #3 on: February 23, 2021, 09:56:25 PM »
Glad it solved your issue even after 5 years :-)