Emails are not being delivered

Hello team,
I set up my server on cyberpanel one month back and everything was working fine until yesterday and suddenly emails are not being delivered to the customers, I checked with SMTP plugin and it is sending the emails but only the problem is customer is not recieving the emails

I have run debug test using Email debugger and it says all checks are ok and all the ports are enabled

Do not know what is causing the issue, please help me with this

Email server error log:

Feb 9 14:38:07 budgetershopy postfix/smtps/smtpd[6505]: connect from budgetershopy.com[156.67.220.85]
Feb 9 14:38:08 budgetershopy postfix/smtps/smtpd[6505]: 1ACAF249F: client=budgetershopy.com[156.67.220.85], sasl_method=PLAIN, [email protected]
Feb 9 14:38:08 budgetershopy postfix/cleanup[6508]: 1ACAF249F: message-id=[email protected]
Feb 9 14:38:08 budgetershopy opendkim[459]: 1ACAF249F: DKIM-Signature field added (s=default, d=budgetershopy.com)
Feb 9 14:38:08 budgetershopy postfix/qmgr[2951]: 1ACAF249F: from=[email protected], size=7834, nrcpt=1 (queue active)
Feb 9 14:38:08 budgetershopy postfix/smtps/smtpd[6505]: disconnect from budgetershopy.com[156.67.220.85] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Feb 9 14:38:08 budgetershopy postfix/error[6350]: 1ACAF249F: to=[email protected], relay=none, delay=0.1, delays=0.1/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4023:c0b::1a]:25: Connection refused)
Feb 9 14:38:33 budgetershopy postfix/smtps/smtpd[6505]: connect from budgetershopy.com[156.67.220.85]
Feb 9 14:38:33 budgetershopy postfix/smtps/smtpd[6505]: lost connection after CONNECT from budgetershopy.com[156.67.220.85]
Feb 9 14:38:33 budgetershopy postfix/smtps/smtpd[6505]: disconnect from budgetershopy.com[156.67.220.85] commands=0/0
Feb 9 14:38:43 budgetershopy postfix/smtpd[6497]: connect from de-a.cyberhosting.org[168.119.15.231]
Feb 9 14:38:43 budgetershopy postfix/smtpd[6497]: lost connection after CONNECT from de-a.cyberhosting.org[168.119.15.231]
Feb 9 14:38:43 budgetershopy postfix/smtpd[6497]: disconnect from de-a.cyberhosting.org[168.119.15.231] commands=0/0
Feb 9 14:38:43 budgetershopy postfix/submission/smtpd[6548]: connect from de-a.cyberhosting.org[168.119.15.231]
Feb 9 14:38:43 budgetershopy postfix/submission/smtpd[6548]: lost connection after CONNECT from de-a.cyberhosting.org[168.119.15.231]
Feb 9 14:38:43 budgetershopy postfix/submission/smtpd[6548]: disconnect from de-a.cyberhosting.org[168.119.15.231] commands=0/0
Feb 9 14:38:43 budgetershopy postfix/smtps/smtpd[6505]: connect from de-a.cyberhosting.org[168.119.15.231]
Feb 9 14:38:43 budgetershopy postfix/smtps/smtpd[6505]: SSL_accept error from de-a.cyberhosting.org[168.119.15.231]: lost connection
Feb 9 14:38:43 budgetershopy postfix/smtps/smtpd[6505]: lost connection after CONNECT from de-a.cyberhosting.org[168.119.15.231]
Feb 9 14:38:43 budgetershopy postfix/smtps/smtpd[6505]: disconnect from de-a.cyberhosting.org[168.119.15.231] commands=0/0
Feb 9 14:38:43 budgetershopy dovecot: pop3-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=168.119.15.231, lip=156.67.220.85, session=<wNhgypbXrIGodw/n>
Feb 9 14:38:44 budgetershopy dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=168.119.15.231, lip=156.67.220.85, session=<y0ZjypbXYp2odw/n>
Feb 9 14:38:44 budgetershopy dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=168.119.15.231, lip=156.67.220.85, TLS handshaking: Connection closed, session=<KstlypbXvrSodw/n>
Feb 9 14:38:44 budgetershopy dovecot: pop3-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=168.119.15.231, lip=156.67.220.85, TLS handshaking: Connection closed, session=<+kloypbXfrmodw/n>
Feb 9 14:41:14 budgetershopy postfix/smtpd[7103]: connect from localhost[127.0.0.1]
Feb 9 14:41:14 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=[email protected] to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:41:14 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:41:14 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:41:14 budgetershopy postfix/smtpd[7103]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 mail=3 rcpt=0/3 data=0/3 rset=5 quit=1 commands=12/18
Feb 9 14:41:59 budgetershopy postfix/smtpd[7103]: connect from localhost[127.0.0.1]
Feb 9 14:41:59 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=[email protected] to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:41:59 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:41:59 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:41:59 budgetershopy postfix/smtpd[7103]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 mail=3 rcpt=0/3 data=0/3 rset=5 quit=1 commands=12/18
Feb 9 14:42:03 budgetershopy postfix/anvil[4615]: statistics: max connection rate 2/60s for (smtps:156.67.220.85) at Feb 9 14:38:33
Feb 9 14:42:03 budgetershopy postfix/anvil[4615]: statistics: max connection count 1 for (smtps:156.67.220.85) at Feb 9 14:32:35
Feb 9 14:42:03 budgetershopy postfix/anvil[4615]: statistics: max cache size 3 at Feb 9 14:38:43
Feb 9 14:42:29 budgetershopy postfix/smtpd[7103]: connect from localhost[127.0.0.1]
Feb 9 14:42:29 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=[email protected] to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:42:30 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:42:30 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:42:30 budgetershopy postfix/smtpd[7103]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 mail=3 rcpt=0/3 data=0/3 rset=5 quit=1 commands=12/18
Feb 9 14:42:30 budgetershopy postfix/smtpd[7103]: connect from localhost[127.0.0.1]
Feb 9 14:42:30 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=[email protected] to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:42:30 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:42:30 budgetershopy postfix/smtpd[7103]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 9 14:42:30 budgetershopy postfix/smtpd[7103]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 mail=3 rcpt=0/3 data=0/3 rset=5 quit=1 commands=12/18
Dec 13 14:39:17 budgetershopy sendmail[17255]: 1BDEdHuf017255: from=budge2596, size=724, class=0, nrcpts=1, msgid=[email protected], relay=budge2596@localhost
Dec 13 14:39:17 budgetershopy sendmail[17255]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256
Dec 13 14:39:18 budgetershopy sendmail[17255]: 1BDEdHuf017255: [email protected], ctladdr=budge2596 (5002/5002), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30724, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as CC2212473)

Try to reset email using the email debug tool

Did that, stil the same

Feb 10 03:15:01 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:15:01 budgetershopy postfix/smtpd[68107]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 mail=3 rcpt=0/3 data=0/3 rset=5 quit=1 commands=12/18
Feb 10 03:15:51 budgetershopy postfix/smtpd[68107]: connect from localhost[127.0.0.1]
Feb 10 03:15:51 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=[email protected] to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:15:51 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:15:51 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:15:51 budgetershopy postfix/smtpd[68107]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 mail=3 rcpt=0/3 data=0/3 rset=5 quit=1 commands=12/18
Feb 10 03:15:56 budgetershopy postfix/smtps/smtpd[72599]: connect from budgetershopy.com[156.67.220.85]
Feb 10 03:15:56 budgetershopy postfix/smtps/smtpd[72599]: lost connection after CONNECT from budgetershopy.com[156.67.220.85]
Feb 10 03:15:56 budgetershopy postfix/smtps/smtpd[72599]: disconnect from budgetershopy.com[156.67.220.85] commands=0/0
Feb 10 03:16:12 budgetershopy postfix/submission/smtpd[72627]: connect from de-a.cyberhosting.org[168.119.15.231]
Feb 10 03:16:12 budgetershopy postfix/smtpd[68107]: connect from de-a.cyberhosting.org[168.119.15.231]
Feb 10 03:16:12 budgetershopy postfix/smtpd[68107]: lost connection after CONNECT from de-a.cyberhosting.org[168.119.15.231]
Feb 10 03:16:12 budgetershopy postfix/smtpd[68107]: disconnect from de-a.cyberhosting.org[168.119.15.231] commands=0/0
Feb 10 03:16:12 budgetershopy postfix/submission/smtpd[72627]: lost connection after CONNECT from de-a.cyberhosting.org[168.119.15.231]
Feb 10 03:16:12 budgetershopy postfix/submission/smtpd[72627]: disconnect from de-a.cyberhosting.org[168.119.15.231] commands=0/0
Feb 10 03:16:12 budgetershopy postfix/smtps/smtpd[72599]: connect from de-a.cyberhosting.org[168.119.15.231]
Feb 10 03:16:12 budgetershopy postfix/smtps/smtpd[72599]: SSL_accept error from de-a.cyberhosting.org[168.119.15.231]: lost connection
Feb 10 03:16:12 budgetershopy postfix/smtps/smtpd[72599]: lost connection after CONNECT from de-a.cyberhosting.org[168.119.15.231]
Feb 10 03:16:12 budgetershopy postfix/smtps/smtpd[72599]: disconnect from de-a.cyberhosting.org[168.119.15.231] commands=0/0
Feb 10 03:16:12 budgetershopy dovecot: pop3-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=168.119.15.231, lip=156.67.220.85, session=<Jz9RX6HXmp2odw/n>
Feb 10 03:16:12 budgetershopy dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=168.119.15.231, lip=156.67.220.85, session=<SbhTX6HXVLmodw/n>
Feb 10 03:16:12 budgetershopy dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=168.119.15.231, lip=156.67.220.85, TLS handshaking: Connection closed, session=<bFlWX6HXsNCodw/n>
Feb 10 03:16:12 budgetershopy dovecot: pop3-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=168.119.15.231, lip=156.67.220.85, TLS handshaking: Connection closed, session=<RuFYX6HXbtWodw/n>
Feb 10 03:17:14 budgetershopy postfix/smtps/smtpd[72599]: connect from budgetershopy.com[156.67.220.85]
Feb 10 03:17:15 budgetershopy postfix/smtps/smtpd[72599]: 00F668000E: client=budgetershopy.com[156.67.220.85], sasl_method=PLAIN, [email protected]
Feb 10 03:17:15 budgetershopy postfix/cleanup[72689]: 00F668000E: message-id=[email protected]
Feb 10 03:17:15 budgetershopy opendkim[457]: 00F668000E: DKIM-Signature field added (s=default, d=budgetershopy.com)
Feb 10 03:17:15 budgetershopy postfix/qmgr[44639]: 00F668000E: from=[email protected], size=7835, nrcpt=1 (queue active)
Feb 10 03:17:15 budgetershopy postfix/smtps/smtpd[72599]: disconnect from budgetershopy.com[156.67.220.85] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Feb 10 03:17:16 budgetershopy postfix/smtp[72690]: 00F668000E: to=[email protected], relay=gmail-smtp-in.l.google.com[2404:6800:4003:c0f::1b]:25, delay=1.5, delays=0.1/0.04/0.65/0.7, dsn=2.0.0, status=sent (250 2.0.0 OK 1644463036 g2si1407691pgc.87 - gsmtp)
Feb 10 03:17:16 budgetershopy postfix/qmgr[44639]: 00F668000E: removed
Feb 10 03:17:51 budgetershopy postfix/smtpd[68107]: connect from localhost[127.0.0.1]
Feb 10 03:17:51 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=[email protected] to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:17:51 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:17:51 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:17:51 budgetershopy postfix/smtpd[68107]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 mail=3 rcpt=0/3 data=0/3 rset=5 quit=1 commands=12/18
Feb 10 03:18:12 budgetershopy postfix/smtps/smtpd[72599]: connect from budgetershopy.com[156.67.220.85]
Feb 10 03:18:12 budgetershopy postfix/smtps/smtpd[72599]: AFA2A806E4: client=budgetershopy.com[156.67.220.85], sasl_method=PLAIN, [email protected]
Feb 10 03:18:12 budgetershopy postfix/cleanup[72689]: AFA2A806E4: message-id=[email protected]
Feb 10 03:18:12 budgetershopy opendkim[457]: AFA2A806E4: DKIM-Signature field added (s=default, d=budgetershopy.com)
Feb 10 03:18:12 budgetershopy postfix/qmgr[44639]: AFA2A806E4: from=[email protected], size=836, nrcpt=1 (queue active)
Feb 10 03:18:12 budgetershopy postfix/smtps/smtpd[72599]: disconnect from budgetershopy.com[156.67.220.85] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Feb 10 03:18:14 budgetershopy postfix/smtp[72690]: AFA2A806E4: to=[email protected], relay=gmail-smtp-in.l.google.com[2404:6800:4003:c11::1b]:25, delay=1.3, delays=0.09/0/0.66/0.57, dsn=2.0.0, status=sent (250 2.0.0 OK 1644463093 i70si5302852pge.859 - gsmtp)
Feb 10 03:18:14 budgetershopy postfix/qmgr[44639]: AFA2A806E4: removed
Feb 10 03:18:51 budgetershopy postfix/smtpd[68107]: connect from localhost[127.0.0.1]
Feb 10 03:18:51 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=[email protected] to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:18:51 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:18:51 budgetershopy postfix/smtpd[68107]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=[email protected] proto=ESMTP helo=<budgetershopy.com>
Feb 10 03:18:51 budgetershopy postfix/smtpd[68107]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 mail=3 rcpt=0/3 data=0/3 rset=5 quit=1 commands=12/18

I see we are able to recieve the emails from customers but the customers are not recieving any emails from our support email, please help me here

Are the mails dropping to spam folder? Please check spam folder too

Nope, I checked the spam folder too, emails are not being delivered to the customers

Sorry, I just tested and emails are dropping to spam folder, how can we take care of this?

Last time I set up DNS records with the help of you guys and as I reported until yesterday everything was working fine and customers used to get emails in inbox, I have never seen emails going to spam folder.

There are many reasons for mails to go into spam. If your mails were received into inbox with the same DNS settings until now, and all of sudden its going into spam without any change in DNS entries then I believe your receiving end users might have marked/reported your mails as spam.

You will need to change the server IP to counter this issue or use a third party mail service like Zoho or Google workspace.

1 Like

Actually I followed one tutorial yesterday to keep the server secured and I changed the profile config to high, could you please let me know what it is set to when we intially set up the server?

You can try the reset to defaults option of csf if that is the case.

Did that, still the same, can you check from your side once, I can provide the details, as it was working fine before could you help me here?

Currently I am out of time and cannot offer personalized help as with the current workloads I have with me.

What you can do here is,

  • Use cyberpanel upgrade command (This will reset few files and may help)
  • Then connect to cyberpanel cloud and using Email debug tool try to reset server-wide email configuration
  • Then try to reset the csf firewall configuration
  • Then restart the whole server

Thanks for helping me, I signed up with Zoho email and tried configuring the emails with Fluent SMTP plugin but getting an error, can you help me how to get SMTP logs for my server?

You can refer this article : SMTP - Simple Mail Transfer Protocol Configuration in Zoho Mail