Cannot connect POP3S on port 995

Discussion in 'Installation/Configuration' started by Dennis_sp, Jun 30, 2022.

  1. Dennis_sp

    Dennis_sp Member

    Hi,

    I'm a bit new with setting up email on ISPConfig but i think got very far. I did read these guides before posting:
    https://www.howtoforge.com/how-to-install-an-email-server-with-ispconfig-on-debian-10/
    https://forum.howtoforge.com/threads/how-should-my-end-users-connect-to-my-e-mail-services.88472/

    What i did so far:

    -Created DNS records for mail.mydomain.nl and smtp.mydomain.nl, this includes a DKIM and SPF record and of course MX records
    -Added mydomain.nl in ISPConfig under Email>Domains and created a mailbox
    -Under Sites>Subdomain for website i added mail as subdomain so it would be added to the website LE certificate
    -The ISPConfig server is called isp.mydomain.nl and i have also given the server a new certificate with ispconfig_update.sh --force, i didn't reconfigure services, i let it create a cert for the server and allow dovecot to use it
    -I have sent a request to my provider to create PTR records for isp.mydomain.nl and mail.mydomain.nl, this is still pending
    -I checked with openssl s_client -showcerts -connect mail.mydomain.nl:995 -servername mail.mydomain.nl and with
    openssl s_client -showcerts -connect mail.mydomain.nl:993 -servername mail.mydomain.nl
    and both show the same certificate and no errors, am i doing the right check?

    The weird thing is that i cannot connect on port 995 for POP3S with Rainloop webmail or with WHMCS ticket piping.

    When i do this and check with tail -f /var/log/mail.log | grep dovecot

    All i see is:
    [​IMG]

    [​IMG]

    I don't understand why i can connect securely via IMAP on port 993 but cannot via POP3S on port 995.
    I also checked the firewall, i'm using csf as firewall but these ports are open. I even tested by temporarily disabling the firewall but no dice.
    And i restarted dovecot, postfix and apache but didn't help, even rebooted the entire server.
     
  2. Dennis_sp

    Dennis_sp Member

    I'm one step further, we found out that when you want to fetch mail from mail.mydomain.nl the client connects with the certificate from the ISPConfig host, isp.mydomain.nl

    That doesn't make sense? Shouldn't each mail domain be able to have their own mail. imap. pop. etc subdomain you can use in a mailclient?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    No, all mail clients should use the server hostname as that's the name the SSL cert of the mail system is issued for.
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    @Th0m you are right. I'll fix the post.
     
  7. Dennis_sp

    Dennis_sp Member

Share This Page