@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=<contato@hospeda.link>, 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=<20240506182705.D6843441266@mail.hospeda.link>
May 6 18:27:05 localhost postfix/qmgr[5021]: D6843441266: from=<agora7727@mail.hospeda.link>, 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=<agora7727@mail.hospeda.link>, 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=<20240506182706.2081E441269@mail.hospeda.link>
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=<agora7727@mail.hospeda.link>, 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=<20240506182806.D80DC441266@mail.hospeda.link>
May 6 18:28:06 localhost postfix/qmgr[5021]: D80DC441266: from=<agora7727@mail.hospeda.link>, size=661, nrcpt=1 (queue active)