Unable to use email services, rain loop says can't connect to server

Hello team,

I had this issue in the past where I was able to issue SSL for my mail server and was able to take care of email deliveries for few days but suddenly lost an access to email services and I had to contact you guys to fix the issue, it worked fine for few days and suddenly rain loop says can’t connect to server and website stopped sending emails, do not know what is causing this issue, I need your help in fixing this concern.

EMAIL LOG:

Jan 5 02:01:06 budgetershopy sendmail[20601]: 2052158Q020600: to=[email protected], ctladdr=[email protected] (5002/5002), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=138936, dsn=2.0.0, stat=Sent
Jan 5 02:04:12 budgetershopy dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 1 secs): user=<>, rip=167.248.133.57, lip=156.67.220.85, TLS: Connection closed, session=<8biJK8zUptqn+IU5>
Jan 5 02:05:33 budgetershopy sendmail[20749]: 20525X4t020749: from=[email protected], size=479, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:05:33 budgetershopy sendmail[20750]: 20525X4t020749: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30689, dsn=2.0.0, stat=Sent
Jan 5 02:14:38 budgetershopy sendmail[21171]: 2052Ecgn021171: from=[email protected], size=68867, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:14:38 budgetershopy sendmail[21172]: 2052Ecgn021171: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=99077, dsn=2.0.0, stat=Sent
Jan 5 02:20:41 budgetershopy sendmail[21412]: 2052KfML021412: from=[email protected], size=16470, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:20:41 budgetershopy sendmail[21413]: 2052KfML021412: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=46680, dsn=2.0.0, stat=Sent
Jan 5 02:23:44 budgetershopy sendmail[21563]: 2052NinV021563: from=[email protected], size=69014, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:23:44 budgetershopy sendmail[21564]: 2052NinV021563: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=99224, dsn=2.0.0, stat=Sent
Jan 5 02:25:45 budgetershopy sendmail[21648]: 2052PjxC021648: from=[email protected], size=66568, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:25:45 budgetershopy sendmail[21649]: 2052PjxC021648: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=96778, dsn=2.0.0, stat=Sent
Jan 5 02:31:51 budgetershopy sendmail[21878]: 2052Vp17021878: from=[email protected], size=68406, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:31:51 budgetershopy sendmail[21879]: 2052Vp17021878: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=98616, dsn=2.0.0, stat=Sent
Jan 5 02:31:51 budgetershopy sendmail[21882]: 2052VpYl021882: from=[email protected], size=66567, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:31:51 budgetershopy sendmail[21883]: 2052VpYl021882: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=96777, dsn=2.0.0, stat=Sent
Jan 5 02:40:53 budgetershopy sendmail[22312]: 2052erc5022312: from=[email protected], size=68966, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:40:53 budgetershopy sendmail[22313]: 2052erc5022312: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=99176, dsn=2.0.0, stat=Sent
Jan 5 02:43:53 budgetershopy sendmail[22449]: 2052hrOJ022449: from=[email protected], size=69196, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:43:53 budgetershopy sendmail[22450]: 2052hrOJ022449: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=99406, dsn=2.0.0, stat=Sent
Jan 5 02:51:58 budgetershopy sendmail[22803]: 2052psCM022803: from=[email protected], size=69014, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:51:58 budgetershopy sendmail[22804]: 2052psCM022803: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=99224, dsn=2.0.0, stat=Sent
Jan 5 02:53:54 budgetershopy sendmail[22881]: 2052rsKJ022881: from=[email protected], size=69063, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:53:54 budgetershopy sendmail[22882]: 2052rsKJ022881: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=99273, dsn=2.0.0, stat=Sent
Jan 5 02:56:56 budgetershopy sendmail[23002]: 2052uuXA023002: from=[email protected], size=66518, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 02:56:56 budgetershopy sendmail[23003]: 2052uuXA023002: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=96728, dsn=2.0.0, stat=Sent
Jan 5 03:01:01 budgetershopy sendmail[23208]: 205311Yi023208: from=[email protected], size=747, class=-60, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:01:01 budgetershopy sendmail[23209]: 205311Yi023208: to=[email protected], ctladdr=[email protected] (5002/5002), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=138936, dsn=2.0.0, stat=Sent
Jan 5 03:05:49 budgetershopy sendmail[23386]: 20535nvH023386: from=[email protected], size=479, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:05:49 budgetershopy sendmail[23387]: 20535nvH023386: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30689, dsn=2.0.0, stat=Sent
Jan 5 03:14:08 budgetershopy sendmail[23787]: 2053E8ka023787: from=[email protected], size=68308, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:14:08 budgetershopy sendmail[23788]: 2053E8ka023787: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=98518, dsn=2.0.0, stat=Sent
Jan 5 03:14:08 budgetershopy sendmail[23791]: 2053E893023791: from=[email protected], size=66518, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:14:08 budgetershopy sendmail[23792]: 2053E893023791: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=96728, dsn=2.0.0, stat=Sent
Jan 5 03:16:11 budgetershopy sendmail[23898]: 2053GBJc023898: from=[email protected], size=69113, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:16:11 budgetershopy sendmail[23899]: 2053GBJc023898: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=99323, dsn=2.0.0, stat=Sent
Jan 5 03:16:11 budgetershopy sendmail[23902]: 2053GBjT023902: from=[email protected], size=69014, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:16:12 budgetershopy sendmail[23903]: 2053GBjT023902: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=99224, dsn=2.0.0, stat=Sent
Jan 5 03:20:14 budgetershopy sendmail[24063]: 2053KEDq024063: from=[email protected], size=66617, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:20:14 budgetershopy sendmail[24064]: 2053KEDq024063: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=96827, dsn=2.0.0, stat=Sent
Jan 5 03:20:14 budgetershopy sendmail[24067]: 2053KEe3024067: from=[email protected], size=69015, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:20:14 budgetershopy sendmail[24068]: 2053KEe3024067: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=99225, dsn=2.0.0, stat=Sent
Jan 5 03:21:15 budgetershopy sendmail[24166]: 2053LEYQ024166: from=[email protected], size=16470, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:21:15 budgetershopy sendmail[24167]: 2053LEYQ024166: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=46680, dsn=2.0.0, stat=Sent
Jan 5 03:24:17 budgetershopy sendmail[24292]: 2053OHDP024292: from=[email protected], size=66420, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:24:17 budgetershopy sendmail[24293]: 2053OHDP024292: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=96630, dsn=2.0.0, stat=Sent
Jan 5 03:24:17 budgetershopy sendmail[24296]: 2053OHgp024296: from=[email protected], size=66518, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:24:17 budgetershopy sendmail[24297]: 2053OHgp024296: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=96728, dsn=2.0.0, stat=Sent
Jan 5 03:34:17 budgetershopy sendmail[24701]: 2053YHh2024701: from=[email protected], size=13337, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 03:34:17 budgetershopy sendmail[24702]: 2053YHh2024701: to=[email protected], ctladdr=[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=43547, dsn=2.0.0, stat=Sent

@die2mrw007 please help.

@Bijjasaibabu567 please check now and you already removed the server from the cloud we already recommend to use debuger

I have learnt something becasue of you bro, I was able to debug email issues and it fixed the problem but I keep having the issue, is there any permanant resolution or do I have to run the debug tests when I go through the same issue again? thanks for your kind support so far, I can’t thank you enough my brother.

1 Like

You will have to identify the reason for the issue. Unless knowing the reason behind the issue, it cant be fixed. Also, its not cyberpanel specific issue as I am myself using cyberpanel on many production servers where mails are handled. I haven’t came across any such issue. So this is very specific to your server and something somewhere might not be correct with your setup.

As I instructed earlier about your DNS issue, your current DNS has lot of duplicate and invalid entries. Such entries will have negative impact on the domains in many areas.

Actually I followed Usmanair video tutorial the other day and removed all the extra DNS records and updated only required ones as shown in the video, I will post the screenshot now

Can you please confirm one thing Dmarc should be reject or none?

DMARC should be none otherwise it will reject the mails completely.
MX record with mail as value isn’t required.
CNAME value of www.mail isnt required.
A record with name email isnt required unless you have such use case.

Got it, changed DMARK policy to none and I am confused about other records because I followed cyberpanel official video on youtube which is How to get 10/10 Email score using CyberPanel - YouTube and added records as mentioned in the video but still do I have to remove MX record with mail and CNAME value of www.mail and A record with name email?