Discussion:
Dovecot fails to start - Unknown setting: socket
Max Shortte
2014-10-01 18:47:28 UTC
Permalink
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 at 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?
Reindl Harald
2014-10-01 18:54:28 UTC
Permalink
Post by 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20141001/69e224d7/attachment.sig>
Max Shortte
2014-10-01 19:39:49 UTC
Permalink
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 at thelounge.net>
Post by Max Shortte
Post by Max Shortte
I?m receiving the following error(s) messages when trying reloading
dovecot
Post by Max Shortte
(Debian wheezy).
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf
line
Post by Max Shortte
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
Steffen Kaiser
2014-10-02 06:20:44 UTC
Permalink
Post by Max Shortte
socket listen { ####### line 73 ###########
http://www.dovecot.org/list/dovecot/2012-March/064284.html

- --
Steffen Kaiser

Alan McGinlay
2014-10-01 20:50:37 UTC
Permalink
you almost certainly have a missing closing bracket or double quote somewhere.
Max Shortte
2014-10-01 21:46:15 UTC
Permalink
Thanks for responding Alan.

I have taken a look at the configuration file and all seems well.

Max
Post by Alan McGinlay
you almost certainly have a missing closing bracket or double quote somewhere.
Loading...