Can't send emails using DNS MX entry config

I am trying to send emails from local server to a Yahoo email address, I got “SEND FAILURE” in queue list for that job. Here is the log:

2022-03-11 23:45:51 +0300 08 LocalMachine SMTP-OUT:00000001: Relay mail 3B05F5: connecting to 67.195.228.106:25
2022-03-11 23:45:51 +0300 08 LocalMachine  SMTP-OUT:00000001: Relay mail 3B05F5: connected to 67.195.228.106:25
2022-03-11 23:46:12 +0300 16 LocalMachine  SMTP-OUT:00000001: << 421 Cannot connect to SMTP server 67.195.228.106 (67.195.228.106:25), connect error 10060
2022-03-11 23:46:12 +0300 08 LocalMachine  SMTP-OUT:00000001: Bad greeting code from server: Cannot connect to SMTP server 67.195.228.106 (67.195.228.106:25), connect error 10060
2022-03-11 23:46:12 +0300 04 LocalMachine  SMTP-OUT:00000001: Delivery attempt completed for mail 3B05F5; 1 recipients remaining; reschedule for delivery
2022-03-11 23:46:12 +0300 08  LocalMachine  SMTP-OUT:00000001: Set mail state to SEND FAILURE
2022-03-11 23:46:12 +0300 16 LocalMachine  SMTP-OUT:00000001: >> QUIT
2022-03-11 23:46:12 +0300 08 LocalMachine  SMTP-OUT:00000001: Disconnected from 67.195.228.106

Here is my config:


@wjurry

First and for most. Please do not spam post or split your post in multiple topics. This will not help you and it will be hard for all Moderators and Users to help you.

About your queries, You should put your logs under protocol communication to have detailed logs.

2022-03-11 23:46:12 +0300 08 LocalMachine  SMTP-OUT:00000001: Bad greeting code from server: Cannot connect to SMTP server 67.195.228.106 (67.195.228.106:25), connect error 10060

As you can see on your logs, you should immediately Identified what is going on.

Did you check and setup properly all the pre requisites for an email server?

Port open?
DNS and MX Records?
Domain Name registration?

This are the primary needed for you to become an smtp relay for your domain.

The next requirements for your smtp will be SPF, rDNS, DKIM and so on.

Please check on your side first.

Regards,
Jay