Roundcube : Connection to IMAP server failed.

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

  1. ztk.me

    ztk.me ISPConfig Developer ISPConfig Developer

    areovrt.de .... 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. ztk.me

    ztk.me 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... https://www.howtoforge.com/communit...l-port-8080-with-lets-encrypt-free-ssl.75554/
    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.
    Code:
    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".
    Code:
    [...]
    ssl_cert = </etc/postfix/smtpd.cert
    ssl_key = </etc/postfix/smtpd.key
    [...]
    
    restart apache2, postfix and dovecot
    :)
     

Share This Page