[Dovecot] More Dovecot 2.0 permissions issues
Tim Traver
tt-list at simplenet.com
Sat Jun 19 08:42:06 EEST 2010
Hi Timo,
ok, using the latest 2.0beta6...
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...
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...
I was not able to find anywhere else to set the mode of the log files or
the mask that is used...
here is the current config :
# 2.0.beta6: /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 8.0-RELEASE-p3 i386
auth_username_format = %Lu
auth_username_translation = %@
auth_verbose = yes
disable_plaintext_auth = no
dotlock_use_excl = yes
first_valid_uid = 100
listen = *
lock_method = dotlock
log_path = /local/logs/dovecot.errors
mail_gid = 100
mail_location = maildir:%h/Maildir
mail_nfs_index = yes
mail_nfs_storage = yes
mail_uid = 100
mmap_disable = yes
passdb {
args = /bin/checkpassword_dovecot_auth
driver = checkpassword
}
plugin {
quota = maildir
sieve = ~/.dovecot.sieve
sieve_dir = ~/Maildir/sieve
}
protocols = imap pop3 managesieve
quota_full_tempfail = yes
service auth {
unix_listener auth-userdb {
mode = 0660
}
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = prefetch
}
userdb {
args = /bin/checkpassword_dovecot_deliver
driver = checkpassword
}
verbose_proctitle = yes
protocol pop3 {
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
mail_plugins = quota sieve
}
protocol imap {
mail_plugins = quota imap_quota
}
Thanks,
Tim.
More information about the dovecot
mailing list