The checks in the postinst should deal with this:
  if [ -e $OLD_SSL_CERT ] || [ -e $OLD_SSL_KEY ]; then
      echo "You already have ssl certs for dovecot."
      echo "However you should move them out of /etc/ssl"
      echo "and into /etc/dovecot and update the configuration"
      echo "in /etc/dovecot/conf.d/10-ssl.conf accordingly."
      echo "See /usr/share/doc/dovecot-core/README.Debian.gz for details."
      # Create backward compatible symlinks to keep dovecot functioning
      if [ ! -e $SSL_CERT ]; then
        echo "Creating compat symlink for $OLD_SSL_CERT"
        ln -s $OLD_SSL_CERT $SSL_CERT
      fi
      if [ ! -e $SSL_KEY ]; then
        echo "Creating compat symlink for $OLD_SSL_KEY"
        ln -s $OLD_SSL_KEY $SSL_KEY
      fi
  fi


Please can you check what type of file /etc/dovecot/private/dovecot.pem is?

Thanks

** Changed in: dovecot (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1235783

Title:
  package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade:
  ErrorMessage: subprocess installed post-installation script returned
  error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1235783/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to