POP3-Server: Offline IMAP-Server: Offline

Discussion in 'Installation/Configuration' started by Aivaras, Jul 12, 2017.

  1. Aivaras

    Aivaras Member

    Hello!
    Could someone help me? How to fix:
    POP3-Server: Offline
    IMAP-Server: Offline

    Impossible login to roundcube webmail, and wery strange records in netstat -tap ...
    -----------
    Many thanks..
     
  2. Aivaras

    Aivaras Member

    I have removed and reinstalled postfix and now I cant connect to any webmail mailbox..

    master.cf is ok, ispconfig upgraded to newest version, debian updated/upgraded. But anyway...
    POP3-Server: Offline
    IMAP-Server: Offline
     
  3. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    start dovecot or courier
     
  4. Aivaras

    Aivaras Member

    Do you mean "service dovecot start"?
    Now IMAP-server started but sill cant access webmail, and... after few minutes both services down again.
    POP3-Server: Offline
    IMAP-Server: Offline
     
  5. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    check /var/log/mail.log and / or run
    service postfix status
    service dovecot status
     
  6. Aivaras

    Aivaras Member

    There are few errors in status messages...
    Code:
    postfix.service - LSB: Postfix Mail Transport Agent
       Loaded: loaded (/etc/init.d/postfix)
      Drop-In: /run/systemd/generator/postfix.service.d
               └─50-postfix-$mail-transport-agent.conf
       Active: active (running) since Thu 2017-07-13 10:27:59 CEST; 42min ago
      Process: 15503 ExecStop=/etc/init.d/postfix stop (code=exited, status=0/SUCCESS)
      Process: 15529 ExecStart=/etc/init.d/postfix start (code=exited, status=0/SUCCESS)
       CGroup: /system.slice/postfix.service
               ├─15639 /usr/lib/postfix/master
               ├─15640 pickup -l -t unix -u -c
               ├─15641 qmgr -l -t unix -u
               ├─15666 tlsmgr -l -t unix -u -c
               ├─15667 anvil -l -t unix -u -c
               └─18492 proxymap -t unix -u
     
    Last edited: Jul 19, 2017
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you renamed or removed the postfix SSL cert. Dovecot is using the same SSL cert and can't start as it is missing now. And postfix has the same issue, missing SSL cert.
     
    Aivaras likes this.
  8. Aivaras

    Aivaras Member

    Thank you for info.. How I can fix it? Is possible?
     
    Last edited: Jul 14, 2017
  9. Aivaras

    Aivaras Member

    Is there a way to reinstall/ new install missing ssl cert now?
     
  10. Aivaras

    Aivaras Member

    Is there no any way to reinstall/install again postfix SSL certificate?
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Aivaras likes this.
  12. Aivaras

    Aivaras Member

    Thank you for help, But I can not find info at all about how to do this. How to create new ssl cert with openssl for postfix / dovecot.. Simple upgrading/reconfiguring ISPConfig not helps there.. No any info in internet :)
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    I posted the link above that described how t do that with letsencrypt.
     
  14. Aivaras

    Aivaras Member

    Yes, but this method for Securing ISPConfig 3 Control Panel / Using The Same Let's Encrypt SSL Certs For Other Major Services.
    Im using Multiserver system, and server with damaged postfix ssl cert is slave server withouth panel. I can't create symlinks to another server (master) from slave server.. Or I can? :)
     
    Last edited: Jul 19, 2017
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Creating a self siged ssl cert:

    Code:
    cd /etc/postfix
    openssl req -new -outform PEM -out smtpd.cert -newkey rsa:2048 -nodes -keyout smtpd.key -keyform PEM -days 365 -x509
    Country Name (2 letter code) [AU]: <-- Enter your Country Name (e.g., "DE").
    State or Province Name (full name) [Some-State]:<-- Enter your State or Province Name.
    Locality Name (eg, city) []:<-- Enter your City.
    Organization Name (eg, company) [Internet Widgits Pty Ltd]:<-- Enter your Organization Name (e.g., the name of your company).
    Organizational Unit Name (eg, section) []:<-- Enter your Organizational Unit Name (e.g. "IT Department").
    Common Name (eg, YOUR name) []:<-- Enter the Fully Qualified Domain Name of the system (e.g. "server1.example.com").
    Email Address []:<-- Enter your Email Address.

    Then change the permissions of the smtpd.key:

    Code:
    chmod o= /etc/postfix/smtpd.key
     
  16. Aivaras

    Aivaras Member

    it Works! Thank you! :)
     

Share This Page