[Dovecot] best way something thinks to upgrade dovecot to 1.2.* 2.0.*

fakessh fakessh at fakessh.eu
Wed Aug 25 22:00:37 EEST 2010


On Wed, 25 Aug 2010 18:42:21 +0100, Timo Sirainen <tss at 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 at 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 at 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 at r13151 ~]# 



It only remains for me that the correction of warnings and other
obsolete functions


thanks timo for your work
thanks for all


More information about the dovecot mailing list