The_Nero
Supporter
Hi SSF!
aktuell versuche ich mein oldoldstable squeezy über oldstable auf stable zu bekommen.
Das gelingt auch halbwegs gut, bis auf Dovecot welcher den gesamten Syntax in 2.x geändert hat.
Meine dovecot.conf konnte ich anhand der "Obsolet Settings" Meldungen schon halbwegs anpassen.
Leider kann ich mir unter der letzten Fehlermeldung "doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: Service #22 is missing name" nicht wirklich viel drunter vorstellen.
Daher wäre ich sehr dankbar über ein Experten Tipp.
dovecot -n
dovecot.conf
Vielen Dank und Gruß,
Nero
EDIT: 201507191056: dovecot.conf hinzugefügt.
aktuell versuche ich mein oldoldstable squeezy über oldstable auf stable zu bekommen.
Das gelingt auch halbwegs gut, bis auf Dovecot welcher den gesamten Syntax in 2.x geändert hat.
Meine dovecot.conf konnte ich anhand der "Obsolet Settings" Meldungen schon halbwegs anpassen.
Leider kann ich mir unter der letzten Fehlermeldung "doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: Service #22 is missing name" nicht wirklich viel drunter vorstellen.
Daher wäre ich sehr dankbar über ein Experten Tipp.
dovecot -n
Code:
# 2.1.17: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-11-pve x86_64 Debian 7.8
auth_default_realm = #############
auth_mechanisms = plain login
auth_verbose = yes
dict {
acl = mysql:/etc/dovecot/dovecot-share-folder.conf
expire = db:/var/lib/dovecot/expire/expire.db
quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
}
disable_plaintext_auth = no
first_valid_uid = 5000
last_valid_uid = 5000
listen = *
log_path = /var/log/dovecot.log
mail_gid = 5000
mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
mail_uid = 5000
namespace {
inbox = yes
location =
prefix =
separator = /
type = private
}
namespace {
list = children
location = maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
prefix = Shared/%%u/
separator = /
subscriptions = yes
type = shared
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf
driver = ldap
}
plugin {
acl = vfile
acl_shared_dict = proxy::acl
auth_socket_path = /var/run/dovecot/auth-master
autocreate = INBOX
autocreate2 = Sent
autocreate3 = Trash
autocreate4 = Drafts
autocreate5 = Junk
autosubscribe = INBOX
autosubscribe2 = Sent
autosubscribe3 = Trash
autosubscribe4 = Drafts
autosubscribe5 = Junk
expire = Trash 7 Trash/* 7 Junk 30
expire_dict = proxy::expire
quota = dict:user::proxy::quotadict
quota_rule = *:storage=0
quota_warning = storage=85%% /usr/local/bin/dovecot-quota-warning.sh 85
quota_warning2 = storage=90%% /usr/local/bin/dovecot-quota-warning.sh 90
quota_warning3 = storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95
sieve = /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
sieve_after = /var/vmail/sieve/dovecot.sieve
sieve_dir = /var/vmail/sieve/%Ld/%Ln/
}
protocols = imap sieve
service {
inet_listener {
address = 127.0.0.1
port = 4190
}
service_count = 100
vsz_limit = 1 k
}
service auth {
unix_listener /var/spool/postfix/dovecot-auth {
group = postfix
mode = 0666
user = postfix
}
unix_listener auth-master {
group = vmail
mode = 0666
user = vmail
}
user = vmail
}
ssl_ca = /etc/dovecot/ssl/sub.class2.server.ca.pem
ssl_cert = /etc/dovecot/ssl/mail.host0.net.crt
ssl_key = /etc/dovecot/ssl/server.key
userdb {
args = /etc/dovecot/dovecot-ldap.conf
driver = ldap
}
doveconf: Error: Service #22 is missing name
protocol lda {
auth_socket_path = /var/run/dovecot/auth-master
log_path = /var/log/sieve.log
mail_plugins = quota sieve autocreate acl
postmaster_address = root
}
protocol imap {
imap_client_workarounds = tb-extra-mailbox-sep
mail_plugins = quota imap_quota autocreate acl imap_acl
}
protocol pop3 {
mail_plugins = quota
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_uidl_format = %08Xu%08Xv
}
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: Service #22 is missing name
dovecot.conf
Code:
protocols = imap sieve
listen = *
mail_uid = 5000
mail_gid = 5000
first_valid_uid = 5000
last_valid_uid = 5000
auth_verbose = yes
log_path = /var/log/dovecot.log
service {
vsz_limit = 1024
service_count = 100
inet_listener {
address = 127.0.0.1
port = 4190
}
}
disable_plaintext_auth = no
auth_default_realm = #############
plugin {
quota_warning = storage=85%% /usr/local/bin/dovecot-quota-warning.sh 85
quota_warning2 = storage=90%% /usr/local/bin/dovecot-quota-warning.sh 90
quota_warning3 = storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95
}
ssl = yes
verbose_ssl = no
ssl_cert = /etc/dovecot/ssl/cert.crt
ssl_key = /etc/dovecot/ssl/server.key
ssl_ca = /etc/dovecot/ssl/sub.class2.server.ca.pem
mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
plugin {
quota = dict:user::proxy::quotadict
quota_rule = *:storage=0
}
dict {
expire = db:/var/lib/dovecot/expire/expire.db
}
plugin {
expire = Trash 7 Trash/* 7 Junk 30
expire_dict = proxy::expire
auth_socket_path = /var/run/dovecot/auth-master
}
plugin {
sieve = /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
}
protocol lda {
postmaster_address = root
auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = quota sieve autocreate acl
#sieve_global_path = /var/vmail/sieve/dovecot.sieve
log_path = /var/log/sieve.log
}
protocol imap {
mail_plugins = quota imap_quota autocreate acl imap_acl
imap_client_workarounds = tb-extra-mailbox-sep
}
protocol pop3 {
mail_plugins = quota
pop3_uidl_format = %08Xu%08Xv
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
auth_mechanisms = plain login
service auth {
unix_listener /var/spool/postfix/dovecot-auth {
group = postfix
mode = 0666
user = postfix
}
unix_listener auth-master {
group = vmail
mode = 0666
user = vmail
}
user = vmail
}
passdb {
driver = ldap
args = /etc/dovecot/dovecot-ldap.conf
}
userdb {
driver = ldap
args = /etc/dovecot/dovecot-ldap.conf
}
plugin {
autocreate = INBOX
autocreate2 = Sent
autocreate3 = Trash
autocreate4 = Drafts
autocreate5 = Junk
autosubscribe = INBOX
autosubscribe2 = Sent
autosubscribe3 = Trash
autosubscribe4 = Drafts
autosubscribe5 = Junk
}
dict {
# Dict quota. Used to store realtime quota in SQL.
quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
}
namespace {
type = private
separator = /
prefix =
inbox = yes
}
namespace {
type = shared
separator = /
prefix = Shared/%%u/
location = maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
# this namespace should handle its own subscriptions or not.
subscriptions = yes
list = children
}
plugin {
acl = vfile
acl_shared_dict = proxy::acl
}
dict {
acl = mysql:/etc/dovecot/dovecot-share-folder.conf
}
plugin {
sieve_after = /var/vmail/sieve/dovecot.sieve
sieve = /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
sieve_dir = /var/vmail/sieve/%Ld/%Ln/
}
Vielen Dank und Gruß,
Nero
EDIT: 201507191056: dovecot.conf hinzugefügt.
Last edited by a moderator: