Can send email but can't recieve any

I can send email using SnappyMail launched from CyberPanel, I get a lovely perfect score on the mail-tester.com

email address: hefin@wpfreelancer.co.uk

image

But I’m unable to receive emails into CyberPanels email server facilities. I’m looking to use secure email through IMAPS and SMPTS

Running the latest stable CyberPanel on Ubuntu 20.04.5 LTS and have restarted the server

image

I’ve run the command
openssl s_client -starttls smtp -showcerts -connect mail.wpfreelancer.co.uk:587 -servername mail.wpfreelancer.co.uk

The resulting output from this command is:

CONNECTED(000001AC)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = mail.wpfreelancer.co.uk
verify return:1
---
Certificate chain
 0 s:CN = mail.wpfreelancer.co.uk
   i:C = US, O = Let's Encrypt, CN = R3
-----BEGIN CERTIFICATE-----
MIIEajCCA1KgAwIBAgISA11BtGI8RoFbC1VGlcx8DgWdMA0GCSqGSIb3DQEBCwUA
MDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD
EwJSMzAeFw0yMjEyMDMwMDE1NDhaFw0yMzAzMDMwMDE1NDdaMCIxIDAeBgNVBAMT
F21haWwud3BmcmVlbGFuY2VyLmNvLnVrMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD
QgAEKqivJSH25h2oQnzes7YHS+x+LHShKgOIGeMSU3PyNYcW//qZNHHpJCJR889B
r1Nfb4tM4R0jSTU0cF73gBtRr6OCAlMwggJPMA4GA1UdDwEB/wQEAwIHgDAdBgNV
HSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4E
FgQUWVPsZ65H9vt22SrCJmC/w0YcCbgwHwYDVR0jBBgwFoAUFC6zF7dYVsuuUAlA
5h+vnYsUwsYwVQYIKwYBBQUHAQEESTBHMCEGCCsGAQUFBzABhhVodHRwOi8vcjMu
by5sZW5jci5vcmcwIgYIKwYBBQUHMAKGFmh0dHA6Ly9yMy5pLmxlbmNyLm9yZy8w
IgYDVR0RBBswGYIXbWFpbC53cGZyZWVsYW5jZXIuY28udWswTAYDVR0gBEUwQzAI
BgZngQwBAgEwNwYLKwYBBAGC3xMBAQEwKDAmBggrBgEFBQcCARYaaHR0cDovL2Nw
cy5sZXRzZW5jcnlwdC5vcmcwggEFBgorBgEEAdZ5AgQCBIH2BIHzAPEAdgCt9776
fP8QyIudPZwePhhqtGcpXc+xDCTKhYY069yCigAAAYTVjcOaAAAEAwBHMEUCIQCA
FYCE1XwZy6RkovmyASMYT06OC6zGqOTLYePeb2W9VgIgVSXYV80r5LjfA6JMPwog
5Vu9jzxs5CEzN+HgHZp9UxsAdwB6MoxU2LcttiDqOOBSHumEFnAyE4VNO9IrwTpX
o1LrUgAAAYTVjcV4AAAEAwBIMEYCIQCCoLUXfwP2r/JLdDYc2lPYl0YFtqxsAnR+
/UCKC7qfFwIhAKEWdRv7MXo6DsPlJp+1T8UMj21ncleZNdN/rOL0iZEMMA0GCSqG
SIb3DQEBCwUAA4IBAQBCglLWtzE8jEp+xSFtQMOWCld4FbvXW4DO3o8VC2RdPP6O
QJDPNpRDybfIEfC5llELegQnydqmh86UoBgdrr2/nkPVIlx9r5UEcH3B1dmtq6nj
3uUuk752fiY0OsVejRmrVTUkAdJOZh4mxElmhh8dszi4GkeJwXF2eb7TKhPUAenk
jbaoiaAZO6kixH1UThGcAEQ6bx/uNVtQtIfaMVhX7r00ac38S48ilA61GEgvuZsT
b1yTEJdxR49LF2mNg+nKbs+6YGERA5LQPiRnePfF3b6jCvshIbHXYsRIzPNf705a
3SNzD8wTFH37HcUJ55s+lO7fvojSLbbikasWg6Sz
-----END CERTIFICATE-----
 1 s:C = US, O = Let's Encrypt, CN = R3
   i:C = US, O = Internet Security Research Group, CN = ISRG Root X1
-----BEGIN CERTIFICATE-----
MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhv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PTNlclQtgaDqw+34IL9fzLdwALduO/ZelN7kIJ+m74uyA+eitRY8kc607TkC53wl
ikfmZW4/RvTZ8M6UK+5UzhK8jCdLuMGYL6KvzXGRSgi3yLgjewQtCPkIVz6D2QQz
CkcheAmCJ8MqyJu5zlzyZMjAvnnAT45tRAxekrsu94sQ4egdRCnbWSDtY7kh+BIm
lJNXoB1lBMEKIq4QDUOXoRgffuDghje1WrG9ML+Hbisq/yFOGwXD9RiX8F6sw6W4
avAuvDszue5L3sz85K+EC4Y/wFVDNvZo4TYXao6Z0f+lQKc0t8DQYzk1OXVu8rp2
yJMC6alLbBfODALZvYH7n7do1AZls4I9d1P4jnkDrQoxB3UqQ9hVl3LEKQ73xF1O
yK5GhDDX8oVfGKF5u+decIsH4YaTw7mP3GFxJSqv3+0lUFJoi5Lc5da149p90Ids
hCExroL1+7mryIkXPeFM5TgO9r0rvZaBFOvV2z0gp35Z0+L4WPlbuEjN/lxPFin+
HlUjr8gRsI3qfJOQFy/9rKIJR0Y/8Omwt/8oTWgy1mdeHmmjk7j1nYsvC9JSQ6Zv
MldlTTKB3zhThV1+XWYp6rjd5JW1zbVWEkLNxE7GJThEUG3szgBVGP7pSWTUTsqX
nLRbwHOoq7hHwg==
-----END CERTIFICATE-----
 2 s:C = US, O = Internet Security Research Group, CN = ISRG Root X1
   i:O = Digital Signature Trust Co., CN = DST Root CA X3
-----BEGIN CERTIFICATE-----
MIIFYDCCBEigAwIBAgIQQAF3ITfU6UK47naqPGQKtzANBgkqhkiG9w0BAQsFADA/
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT
DkRTVCBSb290IENBIFgzMB4XDTIxMDEyMDE5MTQwM1oXDTI0MDkzMDE4MTQwM1ow
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwggIiM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1MDMwMaAvoC2GK2h0dHA6Ly9jcmwuaWRlbnRydXN0LmNvbS9E
U1RST09UQ0FYM0NSTC5jcmwwHQYDVR0OBBYEFHm0WeZ7tuXkAXOACIjIGlj26Ztu
MA0GCSqGSIb3DQEBCwUAA4IBAQAKcwBslm7/DlLQrt2M51oGrS+o44+/yQoDFVDC
5WxCu2+b9LRPwkSICHXM6webFGJueN7sJ7o5XPWioW5WlHAQU7G75K/QosMrAdSW
9MUgNTP52GE24HGNtLi1qoJFlcDyqSMo59ahy2cI2qBDLKobkx/J3vWraV0T9VuG
WCLKTVXkcGdtwlfFRjlBz4pYg1htmf5X6DYO8A4jqv2Il9DjXA6USbW1FzXSLr9O
he8Y4IWS6wY7bCkjCWDcRQJMEhg76fsO3txE+FiYruq9RUWhiF1myv4Q6W+CyBFC
Dfvp7OOGAN6dEOM4+qR9sdjoSYKEBpsr6GtPAQw4dy753ec5
-----END CERTIFICATE-----
---
Server certificate
subject=CN = mail.wpfreelancer.co.uk

issuer=C = US, O = Let's Encrypt, CN = R3

---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: ECDSA
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 4418 bytes and written 438 bytes
Verification error: unable to get local issuer certificate
---
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 256 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 20 (unable to get local issuer certificate)
---
250 CHUNKING
---
Post-Handshake New Session Ticket arrived:
SSL-Session:
    Protocol  : TLSv1.3
    Cipher    : TLS_AES_256_GCM_SHA384
    Session-ID: 9D052660B8633A3A6E1614C28D6073683A30FE6301BB4EDC18364BD6125AB9BE
    Session-ID-ctx:
    Resumption PSK: 67E554290CB8194149A8C50838832A40BB02D3B9FFA771AA2C7886DFE6C2C5424C6EF791B1276100C87D746221F2436C
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 7200 (seconds)
    TLS session ticket:
    0000 - 47 e8 94 cc c7 f5 0c b3-26 41 40 f4 90 eb 40 c2   G.......&A@...@.
    0010 - 97 3a fd ee 66 56 c3 3c-a3 d3 3f 8b 80 d2 d6 b9   .:..fV.<..?.....
    0020 - 89 23 94 05 8c a1 e4 42-3c ea 3d 7a 2d e1 3f 4b   .#.....B<.=z-.?K
    0030 - c4 1a 64 d4 a3 fc 8b db-0f 99 8c b3 52 fa b3 e5   ..d.........R...
    0040 - 23 4f db 60 21 f5 74 1e-a3 6d 3a ef c4 b7 e0 34   #O.`!.t..m:....4
    0050 - fe 92 90 86 a5 31 94 60-20 54 16 e8 6e 7e 5b 9d   .....1.` T..n~[.
    0060 - 3c 1d 15 bf 66 0d ec ff-17 5e 14 fd 74 5b 3a 2c   <...f....^..t[:,
    0070 - 4f 6a c7 ed 60 5f bb 0b-96 a7 ec cb 78 9f 91 33   Oj..`_......x..3
    0080 - 54 4f c8 5e 3e 0a 70 38-3d ce 0b 6a d7 40 db 66   TO.^>.p8=..j.@.f
    0090 - 43 78 b6 4c b2 67 83 0a-f6 07 5a 81 48 00 ea 77   Cx.L.g....Z.H..w
    00a0 - 9e fc e7 e7 eb 6f 2c f2-7e 4c b6 57 de 4a 0f 77   .....o,.~L.W.J.w
    00b0 - 80 b6 fd 99 55 a3 89 6a-23 75 c2 d8 4e d5 23 b8   ....U..j#u..N.#.
    00c0 - 0b 7d b8 f4 ea 99 28 4f-5a 6c 9a 63 51 8d 5b 9c   .}....(OZl.cQ.[.
    00d0 - 22 e5 f4 58 6f 7a c1 6d-e6 94 09 0a f5 59 41 77   "..Xoz.m.....YAw
    00e0 - c9 96 09 24 81 90 df 8b-66 55 7f b7 80 74 39 6b   ...$....fU...t9k

    Start Time: 1670043026
    Timeout   : 7200 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
    Extended master secret: no
    Max Early Data: 0
---
read R BLOCK

I’m seeing verify error:num=20:unable to get local issuer certificate errors but I’m not sure what to make of it. Reading on the internet this error, it’s an indication that the root certificates on the system are not working correctly

I have generated a SSL cert via the front end to Issue SSL to the mail server

image

Running a test on //email/testTo:

I’m running on a home server installation and have opened the SMTP(s) and IMAP(s) ports in the firewall.

Here’s an nmap of the mail.wpfreelancer.co.uk

image

I’ve run the command journalctl -f | grep postfix as stated in the troubleshooting guide but didn’t get any logging data generated when I tried to send emails to CyberPanels email server.

  • The mail.wpfreelancer.co.uk is pointed to the correct IP

  • Thunderbird or Outlook Express will not sync with the email server.