[Dovecot] could not start dovecot - unknown section type

/dev/rob0 rob0 at gmx.co.uk
Thu Jan 12 05:12:38 EET 2012


On Wednesday 11 January 2012 20:30:49 Daminto Lie wrote:
> 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.

It would seem that you did not upgrade the init script, and the old 
one is reading the config file and expecting a different format. You 
used source to upgrade, which means you did not "upgrade" in the 
conventional sense -- you installed new software.

Either fix the script or run without it:
	dovecot start

See:
	http://wiki2.dovecot.org/CompilingSource
	http://wiki2.dovecot.org/RunningDovecot

> Below is the configuration for dovecot.conf
snip
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:



More information about the dovecot mailing list