See src/config/old-set-parser.c for how doveconf does it. It doesn't convert some (more rarely used) settings that are also difficult to convert. http://wiki2.dovecot.org/Upgrading/2.0 lists those things.
On 5.4.2013, at 2.37, Felipe Gasper (cPanel) <fel...@cpanel.net> wrote: > I mean without using doveconf. > > Manually going in, with a text editor, and changing the settings to the new > formats. > > Is there anything that describes how to do this? > > -FG > > On 4/4/13 6:28 PM, Daniel Parthey wrote: >> Hi Felipe, >> >> Felipe Gasper (cPanel) wrote: >>> Is there documentation somewhere on how to update a dovecot 1 >>> configuration file to dovecot 2’s preferred formats? >>> >>> We’re looking to provide Dovecot 2 with cPanel; having that >>> documentation would help us update the config file templates that we >>> ship. >> >> http://wiki2.dovecot.org/Tools/Doveconf >> >> doveconf can be used to convert v1.x configuration files into v2.x format: >> >> doveconf -n -c dovecot1.conf > dovecot2.conf >> >> Regards >> Daniel >> > > -- > Felipe Gasper > User interface development > > cPanel, Inc. > 3131 W. Alabama St. > Houston, TX 77098 > office 713-529-0800 x4096 > cell 832-633-8092 > fax 713-559-3206 >