My email server does not send or receive emails

@usmannasir I have a problem with my Email Server. By default, my ISP does not release port 25 and I have tried all methods and they do not release it. Then in the Snappy admin I changed the port from 25 to 587 but even with SMTP with port 587 I still don’t receive or send emails! What could be happening? Below I will share some logs that I have.

image


Did you check this Change default SMTP port 25 for snappymail - #3 by josephgodwinke

@usmannasir I did this, as I mentioned earlier port 857 was added in snappymail. But I still can’t receive or send emails, do I need to modify the port in Postfix?

Well, I already tried this and changed the pta 587 port as mentioned, but when I check the Postfix logs I get this.

root@ti:/home/ti# sudo tail -f /var/log/mail.log
May  6 18:26:48 localhost postfix/master[3328]: terminating on signal 15
May  6 18:26:48 localhost postfix/postfix-script[4764]: waiting for the Postfix mail system to terminate
May  6 18:26:49 localhost postfix[4780]: Postfix is running with backwards-compatible default settings
May  6 18:26:49 localhost postfix[4780]: See http://www.postfix.org/COMPATIBILITY_README.html for details
May  6 18:26:49 localhost postfix[4780]: To disable backwards compatibility use "postconf compatibility_level=3.6" and "postfix reload"
May  6 18:26:49 localhost postfix/postfix-script[4840]: warning: symlink leaves directory: /etc/postfix/./cert.pem
May  6 18:26:49 localhost postfix/postfix-script[4843]: warning: symlink leaves directory: /etc/postfix/./key.pem
May  6 18:26:49 localhost postfix/postfix-script[5017]: starting the Postfix mail system
May  6 18:26:49 localhost postfix/master[5019]: daemon started -- version 3.6.4, configuration /etc/postfix
May  6 18:26:49 localhost postfix/qmgr[5021]: BEC76440EDD: from=<[email protected]>, size=1061, nrcpt=1 (queue active)
May  6 18:27:05 localhost postfix/pickup[5020]: D6843441266: uid=1004 from=<agora7727>
May  6 18:27:05 localhost postfix/cleanup[5050]: D6843441266: message-id=<[email protected]>
May  6 18:27:05 localhost postfix/qmgr[5021]: D6843441266: from=<[email protected]>, size=661, nrcpt=1 (queue active)
May  6 18:27:06 localhost postfix/submission/smtpd[5052]: connect from unknown[186.249.22.227]
May  6 18:27:06 localhost postfix/smtp[5051]: warning: host mail.hospeda.link[186.249.22.227]:25 greeted me with my own hostname mail.hospeda.link
May  6 18:27:06 localhost postfix/smtp[5051]: warning: host mail.hospeda.link[186.249.22.227]:25 replied to HELO/EHLO with my own hostname mail.hospeda.link
May  6 18:27:06 localhost postfix/smtp[5051]: D6843441266: to=<[email protected]>, orig_to=<agora7727>, relay=mail.hospeda.link[186.249.22.227]:25, delay=0.27, delays=0.1/0.01/0.16/0, dsn=5.4.6, status=bounced (mail for mail.hospeda.link loops back to myself)
May  6 18:27:06 localhost postfix/submission/smtpd[5052]: disconnect from unknown[186.249.22.227] ehlo=1 quit=1 commands=2
May  6 18:27:06 localhost postfix/cleanup[5050]: 2081E441269: message-id=<[email protected]>
May  6 18:27:06 localhost postfix/bounce[5054]: D6843441266: sender non-delivery notification: 2081E441269
May  6 18:27:06 localhost postfix/qmgr[5021]: 2081E441269: from=<>, size=2678, nrcpt=1 (queue active)
May  6 18:27:06 localhost postfix/qmgr[5021]: D6843441266: removed
May  6 18:27:06 localhost postfix/submission/smtpd[5052]: connect from unknown[186.249.22.227]
May  6 18:27:06 localhost postfix/smtp[5051]: warning: host mail.hospeda.link[186.249.22.227]:25 greeted me with my own hostname mail.hospeda.link
May  6 18:27:06 localhost postfix/smtp[5051]: warning: host mail.hospeda.link[186.249.22.227]:25 replied to HELO/EHLO with my own hostname mail.hospeda.link
May  6 18:27:06 localhost postfix/smtp[5051]: 2081E441269: to=<[email protected]>, relay=mail.hospeda.link[186.249.22.227]:25, delay=0.19, delays=0.05/0/0.14/0, dsn=5.4.6, status=bounced (mail for mail.hospeda.link loops back to myself)
May  6 18:27:06 localhost postfix/submission/smtpd[5052]: disconnect from unknown[186.249.22.227] ehlo=1 quit=1 commands=2
May  6 18:27:06 localhost postfix/qmgr[5021]: 2081E441269: removed
May  6 18:27:20 localhost postfix/smtp[5025]: connect to gmail-smtp-in.l.google.com[64.233.186.27]:25: Connection timed out
May  6 18:27:20 localhost postfix/smtp[5025]: connect to gmail-smtp-in.l.google.com[2800:3f0:4003:c08::1b]:25: Network is unreachable
May  6 18:27:20 localhost postfix/smtp[5025]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1b]:25: Network is unreachable
May  6 18:27:50 localhost postfix/smtp[5025]: connect to alt1.gmail-smtp-in.l.google.com[64.233.184.27]:25: Connection timed out
May  6 18:28:06 localhost postfix/pickup[5020]: D80DC441266: uid=1004 from=<agora7727>
May  6 18:28:06 localhost postfix/cleanup[5050]: D80DC441266: message-id=<[email protected]>
May  6 18:28:06 localhost postfix/qmgr[5021]: D80DC441266: from=<[email protected]>, size=661, nrcpt=1 (queue active)

The first check by any mail system is on port 25 and as you shared the cheklts results when port 25 is blocked then checktls will not give you any response because checktls only check port 25.

More if you can please open a ticket i can try to use other port and i can try to fix things for you.

Ticket #ZBF5UXOT1 - My email server does not send or receive emails

got it needed some information you already share a lot but i need one more thing please provide that