Update von Debian 6 auf Debian 7

Neogreen

Member
Hey,

Derzeit wollte ich grade mein Mailserver auf Debian 7 aktualisiern allerdings gibt es anscheind eine neuen Dovecot version weshalb das nicht so einfach ist.
Die basis is: http://www.wyden.com/linux/mailserv...ix-dovecot-postfixadmin-und-mysql-debian-etch

PHP:
root@vps:~# /etc/init.d/dovecot restart
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:17: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:20: passdb  {} has been replaced by passdb { driver= }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:25: userdb  {} has been replaced by userdb { driver= }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:31: auth_user has been replaced by service auth { user }
[....] Restarting IMAP/POP3 mail server: dovecotdoveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:17: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:20: passdb  {} has been replaced by passdb { driver= }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:25: userdb  {} has been replaced by userdb { driver= }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:31: auth_user has been replaced by service auth { user }
. ok

Ich habe schon einiges selbst beheben können aber nicht alles:

PHP:
#protocols = imap imaps pop3 pop3s

log_timestamp = "%Y-%m-%d %H:%M:%S "

ssl_cert = /etc/postfix/sslcert/mailserver.crt
ssl_key = /etc/postfix/sslcert/mailserver.key

protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}

protocol lda {
  postmaster_address = aender.mich@example.org
  auth_socket_path = /var/run/dovecot/auth-master
}

auth default {
  mechanisms = plain login

  passdb  {
    driver = sql
    args = /etc/dovecot/dovecot-mysql.conf
  }

  userdb  {
    # Path for SQL configuration file, see /etc/dovecot/dovecot-sql.conf for example
    driver = sql
    args = /etc/dovecot/dovecot-mysql.conf
  }

  user = root

  socket listen {
    master {
      path = /var/run/dovecot/auth-master
      mode = 0600
      user = vmail
    }
    client {
      path = /var/spool/postfix/private/auth_dovecot
      mode = 0660
      user = postfix
      group = postfix
    }
  }
}
 
Code:
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf

Das sagt doch alles ;)
 
Inwiefern soll mir bitte die Standart config weiterhelfen? sonst hätte ich den Thread nicht erstellt.
 
Last edited by a moderator:
Der Befehl macht dir keine Standardconfig, sondern wandelt deine bisherige Config ins neue Format um.
Hab ich bei mir auch so gemacht und danach hat alles funktioniert.
 
Ups, ja danke hatt funktioniert, Dovecot läuft zwar aber es lauscht nicht mehr.

edit: Die Config darf vor den konvertieren nicht editieren werden dann klappt es.
Danke :)
 
Last edited by a moderator:
Back
Top