Dear all,
i have a problem when install dovecot on CentOS 5, below my configuration
[root@mail home]# vim /etc/dovecot-sql.conf driver = mysql connect = host = localhost dbname=postfix user=mail password=password default_pass_scheme = PLAIN password_query = SELECT password FROM mailbox WHERE username = '%u'
[root@mail home]# vim /etc/dovecot.conf log_path = /var/log/dovecot.log auth_username_format = %Lu
passdb sql { args = /etc/dovecot-sql.conf }
userdb static { args = uid=501 gid=501 home=/home/vmail/%d/%n }
[root@mail home]# service dovecot restart Stopping Dovecot Imap: [FAILED] Starting Dovecot Imap: Error: Can't write to log directory /var/log: Permission denied Fatal: Invalid configuration in /etc/dovecot.conf [FAILED]
i have try searching but i don't see step fix it,