Dovecot fails to start - Unknown setting: socket
I’m receiving the following error(s) messages when trying reloading dovecot (Debian wheezy).
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 73: Unknown setting: socket
doveconf: Error: managesieve-login: dump-capability process returned 89
Configuration file /etc/dovecot/dovecot.conf :
# If you only want to use dovecot-auth, you can set this to "none".
protocols = imap sieve
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/var/mail/%d/%n:INDEX=/var/mail/indexes/%d/%n
mail_privileged_group = vmail
mail_debug = no
first_valid_uid = 5000
last_valid_uid = 5000
maildir_copy_with_hardlinks = yes
mail_chroot = yes
default_login_user = dovecot
ssl_cert = /etc/ssl/certs/star_palibrary_org_combined.crt
ssl_key = /etc/ssl/private/star_palibrary_org.key
protocol imap {
# imap_client_workarounds = outlook-idle delay-newmail
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
##
## MANAGESIEVE specific settings
##
protocol sieve {
}
plugin {
sieve_storage = ~/sieve
sieve_global_path = /var/vmail/globalsieverc
sieve = ~/dovecot.sieve
}
protocol lda {
#log_path = /var/vmail/dovecot-deliver.log
auth_socket_path = /var/run/dovecot/auth-master
postmaster_address = shortte@mvs.org
mail_plugins = sieve
}
###################################
##
## LDA specific settings
##
auth_default_realm = mvs.org
auth_debug = no
auth_debug_passwords = no
auth_mechanisms = auth_plain auth_login auth_digest-md5 auth_cram-md5
# dovecot-auth only needs to be able to connect to SQL
# default_login_user = mail
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf.ext
}
userdb {
driver= sql
args = /etc/dovecot/dovecot-sql.conf.ext
}
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
group = vmail
}
client {
# The client socket is generally safe to export to everyone. Typical
use
# is to export it to your SMTP server so it can do SMTP AUTH lookups
# using it.
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
Packages:
ii dovecot-common 1:2.1.7-7+deb7u1 ii dovecot-core 1:2.1.7-7+deb7u1 ii dovecot-gssapi 1:2.1.7-7+deb7u1 ii dovecot-imapd 1:2.1.7-7+deb7u1 ii dovecot-ldap 1:2.1.7-7+deb7u1 ii dovecot-lmtpd 1:2.1.7-7+deb7u1 ii dovecot-managesieved 1:2.1.7-7+deb7u1 ii dovecot-mysql 1:2.1.7-7+deb7u1 ii dovecot-pgsql 1:2.1.7-7+deb7u1 ii dovecot-pop3d 1:2.1.7-7+deb7u1
Any ideas?
Am 01.10.2014 um 20:47 schrieb Max Shortte:
I’m receiving the following error(s) messages when trying reloading dovecot (Debian wheezy).
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 73: Unknown setting: socket
doveconf: Error: managesieve-login: dump-capability process returned 89
Configuration file /etc/dovecot/dovecot.conf
honestly it would make more sense if you post line 73 as mentioned in the message followed by the surrounding context
Here are the lines in question:
socket listen { ####### line 73 ###########
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
group = vmail
}
client {
# The client socket is generally safe to export to everyone. Typical
use
# is to export it to your SMTP server so it can do SMTP AUTH lookups
# using it.
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
On Wed, Oct 1, 2014 at 2:54 PM, Reindl Harald <h.reindl@thelounge.net> wrote:
I’m receiving the following error(s) messages when trying reloading dovecot (Debian wheezy).
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf
Am 01.10.2014 um 20:47 schrieb Max Shortte: line
73: Unknown setting: socket
doveconf: Error: managesieve-login: dump-capability process returned 89
Configuration file /etc/dovecot/dovecot.conf
honestly it would make more sense if you post line 73 as mentioned in the message followed by the surrounding context
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 1 Oct 2014, Max Shortte wrote:
Here are the lines in question:
socket listen { ####### line 73 ###########
http://www.dovecot.org/list/dovecot/2012-March/064284.html
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBVCzuvXz1H7kL/d9rAQIMywf/VcSTNKp/C0PjHPl1Kd3bsOB/eYlyGLO2 TX90Z8mKdVNPJHHeVcU/8p4ZKqGHQtxzagnbsmmaEpG8H50umRzYEVnEvvoNyfFH YOhVsJ+KSg7zMowVQ9GV0lxLL6E2Dd70MjwyRZEbK6mWhfqSalMyu16/CFfdWabK mCEN9hMFRNL+N2qMMb7r/P3E4FyJGPyCmCoCgPROb0SOc5q97alc1oOitynjYK8X rn5V840Xqyomc4LH/1P6mYQNo/+omc0vsrIDuboIRyynCn7LXHXtJv9Ze9pCXTbL ytixc77rD35N76sA+eutHga5piujNG6DVM/vwmfrK2TeV9wspJGqFQ== =J+D4 -----END PGP SIGNATURE-----
participants (3)
-
Max Shortte
-
Reindl Harald
-
Steffen Kaiser