| SYSTEM INFORMATION|
|------------------------------|-------------------------------|
| OS type and version | Ubuntu Linux 18.04.6 |
| Webmin version | 2.021 |
| Virtualmin version | 7.7 |
| Related packages | Bind/Dovecot/Postfix |
Have had a server up an running for over a year and never could get the email system to work and decided to give it another shot. Typically all our domains have their emails thru zoho and then add those mx records to cloudflare and everything works well.
I created a vps on the server and Mail for domain is enabled, then installed the roundcube module and essentially was hoping that everything would work. Was able to log into roundcube and sent test emails to hotmail/yahoo/gmail and get a success message however these emails are not recieved. The only mx record for the domain has which is domainname.ca/ MX-Mail server/ 5 mail.domainname.ca. has been added to the DNS records on cloudflare as well.
have cphecked dns propagation for that mx record and comes up as 5:_dc-mx.d5dfaa64565f.domainname.ca (this seems odd to me)
mail logs at /var/log/mail.log show as such (for hotmail)
Jun 11 11:31:54 webserver postfix/smtp[25130]: 050EA2C00C1: to=user@hotmail.com, relay=hotmail-com.olc.protection.outlook.com[104.47.58.33]:25, delay=0.41, delays=0.01/0/0.36/0.04, dsn=5.7.1, status=bounced (host hotmail-com.olc.protection.outlook.com[104.47.58.33] said: 550 5.7.1 Unfortunately, messages from [198.251.62.187] weren’t sent. Please contact your Internet service provider since part of their network is on our block list (S3150). You can also refer your provider to Troubleshooting. [DM6NAM10FT019.eop-nam10.prod.protection.outlook.com 2023-06-11T15:31:54.380Z 08DB6A1F3ED2DEC1] (in reply to MAIL FROM command))
for gmail
Jun 11 11:31:31 webserver postfix/smtp[25130]: C3AE32C00C1: to=user@gmail.com, relay=gmail-smtp-in.l.google.com[172.253.63.27]:25, delay=1.3, delays=0.04/0.01/0.61/0.65, dsn=5.7.25, status=bounced (host gmail-smtp-in.l.google.com[172.253.63.27] said: 550-5.7.25 [198.251.62.187] The IP address sending this message does not have a 550-5.7.25 PTR record setup, or the corresponding forward DNS entry does not 550-5.7.25 point to the sending IP. As a policy, Gmail does not accept messages 550-5.7.25 from IPs with missing PTR records. Please visit 550-5.7.25 Prevent mail to Gmail users from being blocked or sent to spam - Gmail Help for more 550 5.7.25 information. o15-20020ae9f50f000000b0075cddc2974esi4772898qkg.496 - gsmtp (in reply to end of DATA command))
for yahoo
Jun 11 11:32:12 webserver postfix/smtp[25130]: 2553C2C00C1: to=user@yahoo.com, relay=mta6.am0.yahoodns.net[67.195.228.109]:25, delay=1.5, delays=0.01/0/0.67/0.78, dsn=2.0.0, status=sent (250 ok dirdel)
This is where I could use any direction/assistance to fix the issue.