Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: TheRavenKing on November 09, 2016, 11:41:32 AM

Title: SOLVED: mail not sending - permission denied
Post by: TheRavenKing 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
Title: SOLVED Re: mail not sending - permission denied
Post by: TheRavenKing 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
Title: Re: SOLVED: mail not sending - permission denied
Post by: emar on February 23, 2021, 09:38:22 PM
Thanks for referencing your fix, 5 years ago.  :)
Title: Re: SOLVED: mail not sending - permission denied
Post by: TheRavenKing on February 23, 2021, 09:56:25 PM
Glad it solved your issue even after 5 years :-)