[Dovecot] More Dovecot 2.0 permissions issues

Timo Sirainen tss at iki.fi
Mon Jun 21 22:44:31 EEST 2010


On Fri, 2010-06-18 at 22:42 -0700, Tim Traver wrote:

> I can't figure out the settings for the log file to have the correct
> permissions. When the log file is created, it is created owned by root
> and 0600 permissions, which doesn't allow the lda to write to it if I
> use different users and groups for that main config...

Right.

> If I then chmod the log file to 666, then everything is happy, but
> again, if that log file is removed and created by dovecot, it will
> create it back with 0600 and the lda will error and not deliver mail
> because of it...

Right.

> I was not able to find anywhere else to set the mode of the log files or
> the mask that is used...

There is none. Why are you deleting the log file?

Another possibility would be to have lda log into a different file
http://wiki.dovecot.org/LDA#logging



More information about the dovecot mailing list