I have problem when send email to a domain(ex: example.com). in my server's logs always show error :
Fail-info: Unable to connect to zzz.zzz.zzz.zzz : Connection timed out
Status:PROCESSED - RELAY
MBox:INBOX
I have checked Mx Record of the domain in http://mxtoolbox.com and show 3 mx record like this :
Pref Hostname IP Address TTL
5 mx5.example.com xxx.xxx.xxx.xxx 11 hrs
10 mx10.example.com yyy.yyy.yyy.yyy 11 hrs
20 mx20.example.com zzz.zzz.zzz.zzz 11 hrs
When i TES SMTP of the mx record only pref 5 is working but my email server always send mail to pref 20
Is possible to force my email server to send email from mx record pref 5 ? and how to configure it ?
btw sorry for my bad english & this is my frist time configuring mail server
UPDATE : My mail server use https://www.axigen.com
SOLVED thanks to @Ryan Babchishin Solved this with configure axigen which support relaying,
Go to Message Acceptance Settings > Advanced Setting > Add Acceptance/ Routing Rule
With condition :
a. Conditions
a.1. Recepient domain is mx5.example.com
b.2. Relaying email
b. Actions :
b.1. Hostname/ip : mx5.example.com port 25
b.2. Setting (unchecked) Allow StartTLS
Save Configuration