How to send mails using Exim to domains having MX record as IP?
September 24, 2010 by Atul Khachane
Filed under cPanel
1 Comment
By default, Exim configured on cPanel does not allow to send mails to domains having MX records as IP. The domain’s MX must be a FQDN! However, you can tweak the exim configuration to obtain the same!
In this example, domain.com has MX record as IP and not FQDN, see below
domain.com. 3600 IN MX 10 XX.XX.XX.XX.
Fix:-
You will need to add entry “allow_mx_to_ip = yes” into the exim.conf as shown below.
# If you want Exim to support the “percent hack” for all your local domains,
# uncomment the following line. This is the feature by which mail addressed
# to x%y@z (where z is one of your local domains) is locally rerouted to
# x@y and sent on. Otherwise x%y is treated as an ordinary local part.
# percent_hack_domains = *
allow_mx_to_ip = yes
#sender_host_accept = +include_unknown:*
#sender_host_reject = +include_unknown:lsearch*;/etc/spammers
After saving the file, fire command
# service exim restart
a WordPress rating system
Related posts:
Comments
One Response to “How to send mails using Exim to domains having MX record as IP?”Trackbacks
Check out what others are saying about this post...[...] Hοw tο send mails using Exim tο domains having MX record аѕ IP … [...]