[Dovecot] could not start dovecot - unknown section type
Daminto Lie
dlie76 at yahoo.com.au
Thu Jan 12 04:30:49 EET 2012
Hi,
I was wondering if I could get some help with the following error when trying to start dovecot service on Ubuntu Server 10.04.
The error message is as follows
* Starting IMAP/POP3 mail server dovecot
Error: Error in configuration file /usr/local/etc/dovecot/dovecot.conf line 15: Unknown section type
Fatal: Invalid configuration in /usr/local/etc/dovecot/dovecot.conf [fail]
I have just managed to upgrade it from 1.2.19 to 2.0.17. Then, I tried to start the dovecot by running the command
$ sudo /etc/init.d/dovecot start
And I received the above message.
Below is the configuration for dovecot.conf
# 2.0.17 (684381041dc4+): /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-37-generic-pae i686 Ubuntu 10.04.3 LTS ext4
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_username_format = %Lu
auth_verbose = yes
base_dir = /var/run/dovecot
disable_plaintext_auth = no
first_valid_uid = 1001
last_valid_uid = 2000
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/home/vmail/%u/Maildir
mail_privileged_group = mail
passdb {
driver = pam
}
passdb {
args = /usr/local/etc/dovecot/dovecot-ldap.conf
driver = ldap
}
plugin {
quota = maildir
quota_rule = *:storage=3GB
quota_rule2 = Trash:storage=20%%
quota_rule3 = Spam:storage=10%%
quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80
}
protocols = imap
service auth {
unix_listener /var/run/dovecot-auth-master {
group = vmail
mode = 0660
user = vmail
}
unix_listener /var/spool/postfix/private/auth {
group = mail
mode = 0660
user = postfix
}
user = root
}
service imap-login {
chroot = login
executable = /usr/lib/dovecot/imap-login
inet_listener imap {
address = *
port = 143
}
user = dovecot
}
service imap {
executable = /usr/lib/dovecot/imap
}
service pop3-login {
chroot = login
user = dovecot
}
ssl = no
userdb {
driver = passwd
}
userdb {
args = uid=1001 gid=1001 home=/home/vmail/%u allow_all_users=yes
driver = static
}
verbose_proctitle = yes
protocol imap {
imap_client_workarounds = delay-newmail
mail_plugins = quota imap_quota
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
auth_socket_path = /var/run/dovecot-auth-master
mail_plugins = quota
postmaster_address = postmaster at example.com
rejection_reason = Your message to <%t> was automatically rejected:%n%r
sendmail_path = /usr/lib/sendmail
}
Any help would be greatly appreciated.
Thank you
More information about the dovecot
mailing list