[Dovecot] chown
Yann Shukor
yann.shukor at azurtem.net
Mon Jun 24 23:54:40 EEST 2013
Hi
I currently have to execute the following command everytime I restart
Dovecot :
chown dovenull:vmail /var/run/dovecot/login
What should I change in my config files to avoidhaving to do this ?
thanks
yann
=========
Dovecot -n:
=========
# 2.2.2 (45399357008a): /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-686-pae i686 Debian 7.0 ext4
auth_debug = yes
auth_mechanisms = plain login
auth_socket_path = /var/run/dovecot/auth-userdb
auth_verbose = yes
disable_plaintext_auth = no
first_valid_gid = 5000
first_valid_uid = 5000
hostname = holimail.holinice.com
last_valid_gid = 5000
last_valid_uid = 5000
listen = *
mail_debug = yes
mail_gid = vmail
mail_location = maildir:/var/vmail/%d/%n/Maildir
mail_privileged_group = mail
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
namespace inbox {
inbox = yes
location = maildir:/var/vmail/%d/%n/Maildir
mailbox Brouillons {
special_use = \Drafts
}
mailbox "Courrier indesirable" {
special_use = \Junk
}
mailbox "Elements envoyes" {
special_use = \Sent
}
mailbox "Elements supprimes" {
special_use = \Trash
}
prefix =
subscriptions = yes
}
passdb {
args = scheme=CRAM-MD5 /etc/dovecot/users.conf
driver = passwd-file
}
passdb {
driver = pam
}
plugin {
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
postmaster_address = azurtem at holinice.com
protocols = " imap sieve pop3"
service auth-worker {
user = $default_internal_user
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
unix_listener auth-userdb {
group = vmail
mode = 0600
user = vmail
}
}
service imap-login {
group = dovecot
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
}
service imap {
process_limit = 1024
}
service pop3-login {
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
service pop3 {
process_limit = 1024
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
args = uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes
driver = static
}
userdb {
driver = passwd
}
protocol lda {
mail_plugins = " sieve"
}
More information about the dovecot
mailing list