[Dovecot] dovecot 2.0.beta5 convert with doveconf -n -c

Bradley Giesbrecht bradley.giesbrecht at gmail.com
Tue Aug 10 20:12:04 EEST 2010


Sorry if I missed the dovecot 2.0.betax managesieve sieve discussions.  
I have been looking in my  list archive and haven't found a reference  
to this yet.

I am trying to convert my dovecot.conf and am getting the following  
Fatal error:
/**
doveconf -n -c dovecot/dovecot.conf > dovecot.converted/dovecot.conf
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:10:  
protocols=managesieve has been renamed to protocols=sieve
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:10:  
protocols=imaps is no longer necessary, remove it
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:10:  
protocols=pop3s is no longer necessary, remove it
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:14:  
ssl_cert_file has been replaced by ssl_cert = <file
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:15:  
ssl_key_file has been replaced by ssl_key = <file
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:19:  
mail_executable has been replaced by service { executable }
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:23:  
mail_executable has been replaced by service { executable }
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:33:  
protocol managesieve {} has been replaced by protocol sieve { }
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:35:  
listen=..:port has been replaced by service { inet_listener { port } }
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:35:  
protocol { listen } has been replaced by service { inet_listener  
{ address } }
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:36:  
login_executable has been replaced by service { executable }
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:37:  
mail_executable has been replaced by service { executable }
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:39: add  
auth_ prefix to all settings inside auth {} and remove the auth {}  
section completely
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:41: passdb  
sql {} has been replaced by passdb { driver=sql }
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:44: userdb  
prefetch {} has been replaced by userdb { driver=prefetch }
doveconf: Warning: Obsolete setting in dovecot/dovecot.conf:46: userdb  
sql {} has been replaced by userdb { driver=sql }
doveconf: Error: protocols: Unknown protocol: sieve
doveconf: Fatal: Error in configuration file dovecot/dovecot.conf:  
protocols: Unknown protocol: sieve
/**


My current dovecot.conf has these sieve related directives:
/**
protocols = imap imaps pop3 pop3s managesieve
protocol lda {
     postmaster_address = postmaster at pixilla.com
     hostname = ix.databoost.com
     sendmail_path = /opt/local/sbin/sendmail
     auth_socket_path = /opt/local/var/run/dovecot/auth-master
     log_path = /opt/local/var/serveza/log/mail/dovecot-deliver.log
     mail_plugins = sieve
}
protocol managesieve {
     disable_plaintext_auth = no
     listen = *:2000
     login_executable = /opt/local/libexec/dovecot/managesieve-login
     mail_executable = /opt/local/libexec/dovecot/managesieve
}
plugin {
     sieve_before = /opt/local/var/serveza/mail/filter/sieve/global/ 
before/
     sieve = /opt/local/var/serveza/mail/filter/sieve/%d/%n/active.sieve
     sieve_global_path = /opt/local/var/serveza/mail/filter/sieve/ 
global/default.sieve
     sieve_dir = /opt/local/var/serveza/mail/filter/sieve/%d/%n/sieve
     sieve_global_dir = /opt/local/var/serveza/mail/sieve/global/ 
include/
     sieve_after = /opt/local/var/serveza/mail/filter/sieve/global/ 
after/
     ....
}
**/

I list subject addressing this would help if it's already been worked  
out.


Regards,
Bradley Giesbrecht


More information about the dovecot mailing list