[Dovecot] dovecot.log file permissions and ownership

Jerry gesbbb at yahoo.com
Sun Oct 25 13:14:43 EET 2009


Using FreeBSD-7.2 and Dovecot v1.2.4

what user does dovecot use to write to its log file? I have the logfile
located in the /var/log directory.

I have Postfix configured to use 'virtual' users and use dovecot for
delivery.

While dove can write to the file when accessed for POP services, when
accessed via Postfix, I get this error message:

Oct 25 07:02:15 scorpio postfix/pipe[56956]: B01BD2287E: to=<user at domain.com>, relay=dovecot, delay=220, delays=220/0.01/0/0.04, dsn=4.3.0, status=deferred (temporary failure. Command output: Can't open log file /var/log/dovecot.log: Permission denied )

I have used the following ownership types for the file:

1) root:wheel
2) dovecot:dovecot
3) root:dovecot
4) dovecot:wheel

The only thing that works all the time is to give the file full r/w
(0666) permission. That seems extreme.

-- 
Jerry
gesbbb at yahoo.com

|::::=======
|::::=======
|===========
|===========
|

A nuclear war can ruin your whole day.



More information about the dovecot mailing list