Saturday, August 27, 2011

How to send mails using Exim to domains having MX record as IP?

September 24, 2010 by  
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

GD Star Rating
a WordPress rating system
How to send mails using Exim to domains having MX record as IP?, 9.0 out of 10 based on 1 rating
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Related posts:

  1. Clean/Flushing Exim mail queue
  2. Changing sender IP in Exim
  3. Where the logs are stored in linux (cPanel)?
  4. Cleaning backups of unused domains
  5. How to point a sub-domain to a different IP Address or Server?

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...
  1. How do you reset a digital control panel for the air conditioning/ heating system? | Air Carolina Upstate | Heating and air conditioning (864) 901-5702 says:

    [...] H&#959w t&#959 send mails using Exim t&#959 domains having MX record &#1072&#1109 IP … [...]

    Reply


Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!
Click here to cancel reply.