Sendmail forcing to use a particular MX
My clients are trying to send email to a domain such as example.com
example.com has 2 MXs (found by executing 'host -t mx example.com' in the email server): Code:
50 mx2.example.com Now, whenever my clients send email to example.com, it does not get delivered and when i run 'mailq', this is what I see: Code:
m7R5jlEx028096 2987 Wed Aug 27 11:45 <me@mydomain.com> |
This may be a form of greylisting.
Unless you control the MX's, or have permission, you should not try to override the MX's for the domain. Allow your server to retry which is normal operating behavior. Attempting to bypass the normal MX precedence could get you perm rejected from the site. |
I can telnet to port 25 of mx1.example.com from my server and can successfully send emails. Why is sendmail trying to use mx2.example.com instead of mx1.example.com?
|
Do the logs show that sendmail tried the primary first, failed, and fell back to the secondary?
|
Sendmail logs show it never tried to connect to mx1.example.com
|
Sendmail will try a secondary MX if there was a problem during the SMTP greeting. If Sendmail has never tried the primary MX, this would tend to indicate DNS problems not returning the primary MX record.
Can you describe your DNS server? |
Here is a dig output from my server (telnet-bd.com is the server I am trying to send the emails to)
Code:
[root@mx1 ~]# dig -t mx telnet-bd.com |
I get DNS failures on this domain.
Code:
$ dig -t mx telnet-bd.com |
Well...thanks :confused:
|
All times are GMT -5. The time now is 05:57 PM. |