Hi Timo, I've just tried to convert my v1.2 configuration to a v2.0 configuration. Below a few obsolete warnings, among others "mail_executable has been replaced by service { executable }", was an interesting error: "doveconf: Error: duplicate listener: 198:" The broken parts of the converted configuration: # 2.0.beta4 (84ffb38839b9): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-trunk-amd64 x86_64 Debian squeeze/sid listen = 192.168.111.222 [2a01 service imap-login { inet_listener imap { port = 198 } } service managesieve-login { inet_listener managesieve { port = 198 } } service managesieve { executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/managesieve } service pop3-login { inet_listener pop3 { port = 198 } } # missing section: #protocol lda { # ? #} # missing setting #postmaster_address The corresponding parts from v1.2 configuration: protocols = imap imaps managesieve pop3 pop3s listen = 192.168.111.222 [2a01:198:37a:1::1] protocol managesieve { mail_executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/managesieve } protocol lda { postmaster_address = f007ba11.1008605 at localdomain.org mail_plugins = sieve } Why is the lda section missing? Because it is not listed in v1.2's protocols setting? (only an idea/wild guess) Regards, Pascal -- The trapper recommends today: deadbeef.1008606 at localdomain.org
Stephan Jauernick
2010-Mar-27 06:23 UTC
[Dovecot] v2.0.beta4: conversion of v1.2 configuration
Hi, It seems that you have the same Port (look into the port = lines) for the 3 services. Maybe you can try to change them to fix it! Sincerely, Stephan Am 27.03.2010 06:33, schrieb Pascal Volk:> Hi Timo, > > I've just tried to convert my v1.2 configuration to a v2.0 > configuration. Below a few obsolete warnings, among others > "mail_executable has been replaced by service { executable }", was an > interesting error: > "doveconf: Error: duplicate listener: 198:" > > The broken parts of the converted configuration: > # 2.0.beta4 (84ffb38839b9): /etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-trunk-amd64 x86_64 Debian squeeze/sid > listen = 192.168.111.222 [2a01 > service imap-login { > inet_listener imap { > port = 198 > } > } > service managesieve-login { > inet_listener managesieve { > port = 198 > } > } > service managesieve { > executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/managesieve > } > service pop3-login { > inet_listener pop3 { > port = 198 > } > } > # missing section: > #protocol lda { > # ? > #} > # missing setting > #postmaster_address > > > The corresponding parts from v1.2 configuration: > protocols = imap imaps managesieve pop3 pop3s > listen = 192.168.111.222 [2a01:198:37a:1::1] > protocol managesieve { > mail_executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/managesieve > } > protocol lda { > postmaster_address = f007ba11.1008605 at localdomain.org > mail_plugins = sieve > } > > > Why is the lda section missing? Because it is not listed in v1.2's > protocols setting? (only an idea/wild guess) > > > Regards, > Pascal
On 03/27/2010 06:33 AM Pascal Volk wrote:> ? > service managesieve { > executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/managesieve > }Yes, looks fine now, also my mixed 'listen = ip.v4.ad.dr [2001:db8::1]' has been passed to the new configuration, since http://hg.dovecot.org/dovecot-2.0/rev/bdb46ba87203 Hm, would it be possible, w/o tonnes of code, to update also the 'executable - ? rawlog ?' to the new 'script' syntax? Then the conversion feature would be maybe perfect/complete. Regards, Pascal -- The trapper recommends today: c01dcofe.1015408 at localdomain.org