[Dovecot] best way something thinks to upgrade dovecot to 1.2.* 2.0.*
hello all hello dovecot network hello timo
What are your tips for successful migration for dovecot (atrpms , atrpms-testing depot for centos ) the page of wiki http://wiki2.dovecot.org/Upgrading/2.0 explains the method to upgrade
I tried on my personal machine and the command cites wiki returns errors on the terminal what to do with errors: correct the error in the configuration file ?
the question may seem simple but it is not pointless
many returns are welcome something thinks are welcome
thanks
On 25.8.2010, at 0.31, fakessh wrote:
I tried on my personal machine and the command cites wiki returns errors on the terminal what to do with errors: correct the error in the configuration file ?
What errors? They should be warnings, and you can simply ignore them. It just warns about each setting it changed to the new format.
On Wed, 25 Aug 2010 00:36:54 +0100, Timo Sirainen <tss@iki.fi> wrote:
On 25.8.2010, at 0.31, fakessh wrote:
I tried on my personal machine and the command cites wiki returns errors on the terminal what to do with errors: correct the error in the configuration file ?
What errors? They should be warnings, and you can simply ignore them. It just warns about each setting it changed to the new format.
They should be warnings OK
but i simply one error quote
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 700: Unknown setting: sieve_global_path
On Wed, 25 Aug 2010 00:58:59 +0100, Timo Sirainen <tss@iki.fi> wrote:
On 25.8.2010, at 0.54, fakessh wrote:
but i simply one error quote
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 700: Unknown setting: sieve_global_path
You sure that worked with v1.x either? It should be inside plugin {} section.
yes i sure this work with v1.x
inside plugin section i remove plugin v1.x
not work again
On Wed, 25 Aug 2010 02:04:22 +0200, fakessh <fakessh@fakessh.eu> wrote:
On Wed, 25 Aug 2010 00:58:59 +0100, Timo Sirainen <tss@iki.fi> wrote:
On 25.8.2010, at 0.54, fakessh wrote:
but i simply one error quote
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 700: Unknown setting: sieve_global_path
You sure that worked with v1.x either? It should be inside plugin {} section.
yes i sure this work with v1.x
inside plugin section i remove plugin v1.x
not work again
do not leave me alone. I need help for migration
On Wed, 2010-08-25 at 17:50 +0200, fakessh wrote:
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 700: Unknown setting: sieve_global_path
You sure that worked with v1.x either? It should be inside plugin {} section.
yes i sure this work with v1.x
inside plugin section i remove plugin v1.x
not work again
I don't understand the above sentences. But the error should be fixed simply by putting it inside plugin section:
plugin { sieve_global_path = whatever }
On Wed, 25 Aug 2010 17:20:17 +0100, Timo Sirainen <tss@iki.fi> wrote:
On Wed, 2010-08-25 at 17:50 +0200, fakessh wrote:
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 700: Unknown setting: sieve_global_path
You sure that worked with v1.x either? It should be inside plugin {} section.
yes i sure this work with v1.x
inside plugin section i remove plugin v1.x
not work again
I don't understand the above sentences. But the error should be fixed simply by putting it inside plugin section:
plugin { sieve_global_path = whatever }
I just tried the migration my services were down during this time the I now have another error
Fatal: service(auth) access(/usr/libexec/dovecot/dovecot-auth) failed: No such file or directory [�CHOU] [root@r13151 ~]#
On Wed, 2010-08-25 at 19:06 +0200, fakessh wrote:
I just tried the migration my services were down during this time the I now have another error
Fatal: service(auth) access(/usr/libexec/dovecot/dovecot-auth) failed: No such file or directory
In your v1.x config you explicitly specified path to dovecot-auth binary. Was there any reason for it? It's anyway no longer called dovecot-auth but auth. So either comment out that line in config or change dovecot-auth to auth.
On Wed, 25 Aug 2010 18:42:21 +0100, Timo Sirainen <tss@iki.fi> wrote:
On Wed, 2010-08-25 at 19:06 +0200, fakessh wrote:
I just tried the migration my services were down during this time the I now have another error
Fatal: service(auth) access(/usr/libexec/dovecot/dovecot-auth) failed: No such file or directory
In your v1.x config you explicitly specified path to dovecot-auth binary. Was there any reason for it? It's anyway no longer called dovecot-auth but auth. So either comment out that line in config or change dovecot-auth to auth.
migration to 1.2.13 vers 2.0.0 fixed
my dovecot -n
[root@r13151 ~]# dovecot -n # 2.0.0: /etc/dovecot/dovecot.conf doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:20: protocols=managesieve has been renamed to protocols=sieve doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:20: protocols=imaps is no longer necessary, remove it doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:20: protocols=pop3s is no longer necessary, remove it doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:32: listen=..:port has been replaced by service { inet_listener { port } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:32: protocol { listen } has been replaced by service { inet_listener { address } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:33: ssl_listen=..:port has been replaced by service { inet_listener { port } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:33: protocol { ssl_listen } has been replaced by service { inet_listener { address } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:36: listen=..:port has been replaced by service { inet_listener { port } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:36: protocol { listen } has been replaced by service { inet_listener { address } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:37: ssl_listen=..:port has been replaced by service { inet_listener { port } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:37: protocol { ssl_listen } has been replaced by service { inet_listener { address } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:101: ssl_ca_file has been replaced by ssl_ca = <file doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:102: ssl_key_file has been replaced by ssl_key = <file doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:103: ssl_cert_file has been replaced by ssl_cert = <file doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:104: ssl_ca_file has been replaced by ssl_ca = <file doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:105: ssl_ca_file has been replaced by ssl_ca = <file doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:171: login_process_size has been replaced by service { vsz_limit } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:188: login_max_processes_count has been replaced by service { process_limit } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:597: imap_client_workarounds=outlook-idle is no longer necessary doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:597: imap_client_workarounds=netscape-eoh is no longer supported doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:721: auth_process_size has been replaced by service auth { vsz_limit } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:797: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:834: passdb pam {} has been replaced by passdb { driver=pam } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:935: userdb passwd {} has been replaced by userdb { driver=passwd } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1071: protocol managesieve {} has been replaced by protocol sieve { } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1075: listen=..:port has been replaced by service { inet_listener { port } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1075: protocol { listen } has been replaced by service { inet_listener { address } } # OS: Linux 2.6.32.2-xxxx-grs-ipv4-32 i686 CentOS release 5.5 (Final) auth_mechanisms = plain login base_dir = /var/run/dovecot/ listen = [::] log_path = /var/log/maillog log_timestamp = %Y-%m-%d %H:%M:%S login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c mail_location = maildir:~/Maildir managesieve_notify_capability = mailto managesieve_sieve_capability = comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date spamtest spamtestplus virustest passdb { driver = pam } plugin { plugin = autocreate managesieve cmusieve sieve sieve = ~/.dovecot.sieve sieve_before = /var/sieve-scripts/roundcube.sieve sieve_dir = ~/sieve sieve_global_path = whatever } protocols = imap pop3 sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-master { mode = 0666 } vsz_limit = 256 } service imap-login { inet_listener imap { address = * port = 143 } inet_listener imaps { address = * port = 993 } process_limit = 128 vsz_limit = 64 } service managesieve-login { process_limit = 128 vsz_limit = 64 } service pop3-login { inet_listener pop3 { address = * port = 110 } inet_listener pop3s { address = * port = 995 } process_limit = 128 vsz_limit = 64 } ssl_ca = </etc/pki/tls/certs/root.crt ssl_cert = </etc/pki/tls/certs/r13151.ovh.net.crt ssl_key = </etc/pki/tls/private/r13151.ovh.net.key ssl_verify_client_cert = yes userdb { driver = passwd } version_ignore = yes protocol imap { imap_client_workarounds = delay-newmail tb-extra-mailbox-sep imap_max_line_length = 65536 mail_plugins = autocreate } protocol pop3 { mail_plugins = autocreate pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s } protocol lda { hostname = r13151.ovh.net mail_plugins = autocreate cmusieve sieve postmaster_address = postmaster@fakessh.eu sendmail_path = /usr/lib/sendmail } protocol sieve { managesieve_implementation_string = dovecot managesieve_logout_format = bytes ( in=%i : out=%o ) managesieve_max_line_length = 65536 } [root@r13151 ~]#
It only remains for me that the correction of warnings and other obsolete functions
thanks timo for your work thanks for all
On Wed, 25 Aug 2010 21:00:37 +0200, fakessh <fakessh@fakessh.eu> wrote:
On Wed, 25 Aug 2010 18:42:21 +0100, Timo Sirainen <tss@iki.fi> wrote:
On Wed, 2010-08-25 at 19:06 +0200, fakessh wrote:
thanks timo for your work thanks for all
delete file warnings to the config file is not easy I need your help to all yet migration is going well, I kept the rest of warnings for later
participants (2)
-
fakessh
-
Timo Sirainen