[Dovecot] doveconf: Warning: Obsolete settings.... in /etc/dovecot/dovecot.conf: ...

Timo Sirainen tss at iki.fi
Mon Mar 5 08:41:36 EET 2012


Dovecot v2.0 changed the settings a lot compared to v1.x. There are no longer auth default or socket listen sections. The doveconf -n generated dovecot.conf should contain all of the settings that you had in v1.x, converted for v2.0. So you should be able to use it directly without problems.

If you want, you could look for Dovecot's example-config that probably comes with Ubuntu (in /usr/share/doc/dovecot*/ maybe?), copy those to /etc/dovecot/ and change the settings in there based on the generated dovecot.conf. In any case you shouldn't try to add those v1.x-specific things back there anymore, since they'll add back the "obsolete settings" warnings.

On 5.3.2012, at 5.57, Dennis Chen wrote:

> Thanks Timo,
> 
> I believe I'm running dovecot 2.0.x when first installed Ubuntu server 11.04 then upgraded to 11.10.  The primary reason I posted this question was not only the warning msg but also looking for the default dovecot.conf so that I can modify from the scratch, however, I couldn't find the "auth default" section or the "socket listen" option in the dovecot.conf; note that the "auth default" section and "socket listen" need to be modified according Ubuntu 11.10 serverguide for Dovecot SASL configuration. There is a dovecot.conf.ucf under /etc/dovecot which contain the "auth default" and "socket listen" stuff, I renamed it to dovecot.conf and modified the "auth default" section and "socket listen" option there accordingly. Note that the dovecot.conf.ucf file is about 50k while the new dovecot.conf generated from the "doveconf -n" is about 4k ! Now I'm confused of using of which  dovecot.conf I should use (the one generated from the "doveconf -n" or the one renamed from the dovecot.conf.ucf" ?)
> 
> Does your dovecot.conf contain the "auth default" section and the "socket listen" ?  If not, should I complain to the Ubuntu serverguide ?
> 
> I also posted the similar question to ubuntuforums, but not much response.
> 
> Hope you understand my point.
> 
> It's very frustrated!
> 
> 
> Sent from my iPhone
> 
> On Mar 4, 2012, at 4:36 AM, Timo Sirainen <tss at iki.fi> wrote:
> 
>> On 4.3.2012, at 8.25, D Chen wrote:
>> 
>>> Got duplicated Warnings from the "doveconf -n" output ! Can anyone explain and fix them ? thx!
>> 
>> v2.0 has different configuration from v1.x, you need to migrate the configuration the way it says:
>> 
>>>   doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
>> 
>> So, doveconf -n > dovecot-new.conf
>> mv dovecot-new.conf /etc/dovecot/dovecot.conf
>> 
>> That should do it.
>> 
> 



More information about the dovecot mailing list