Roundcube : Connection to IMAP server failed.

Discussion in 'Installation/Configuration' started by Oitsuki, Jul 20, 2018.

  1. ISPConfig Developer ISPConfig Developer .... oh you see spam from them, too - I'm not alone =)

    well it's still saying it doesn't like your certificate in /etc/postfix.

    Did you create the ssl-keys or is it from the template?
  2. Oitsuki

    Oitsuki Member

    Note : I can receive the email (the log show the elment, no error), the pb is to access or to sent
  3. Oitsuki

    Oitsuki Member

    All is created by the template.
    Maybe I am thinking if I make a new configuration ispconfig, maybe it can change that; What do you think to try to reconfigure ispconfig ans the ssl certificate ?
  4. ISPConfig Developer ISPConfig Developer

    well your current certificate is not matching with the key so your system refuses to load them - means you can't connect using tls thus makes your client connection fail.

    Create a new certificate, or as you use ISPConfig...
    after that you have a free letsencrypt certificate for almost all services, but defnitly for your postfix/dovecot.
  5. Oitsuki

    Oitsuki Member

    Ok it's fixed, Thank you.
    cd /etc/postfix/
    mv smtpd.cert smtpd.cert-$(date +"%y%m%d%H%M%S").bak
    mv smtpd.key smtpd.key-$(date +"%y%m%d%H%M%S").bak
    ln -s /usr/local/ispconfig/interface/ssl/ispserver.crt smtpd.cert
    ln -s /usr/local/ispconfig/interface/ssl/ispserver.key smtpd.key
    Check if it is set to use the postfix SSL files (see below) via "nano /etc/dovecot/dovecot.conf".
    ssl_cert = </etc/postfix/smtpd.cert
    ssl_key = </etc/postfix/smtpd.key
    restart apache2, postfix and dovecot

Share This Page