[Dovecot] More Dovecot 2.0 permissions issues

Tim Traver tt-list at simplenet.com
Tue Jun 22 21:12:53 EEST 2010


On 6/21/2010 12:44 PM, Timo Sirainen wrote:
> 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
>
>   
Timo,

thanks for that info...I would not normally remove the log file, but if
for some reason it was not there anymore and dovecot got restarted, then
errors would occur and mail would fail to be delivered...

So, I took your advice and logged the lda stuff to a separate file.

Thanks,

Tim.




More information about the dovecot mailing list