WHM Exim configuration Problem

Posted on 2010-01-06
Last Modified: 2013-12-15
Hello, I'm a beginner of linux server administration and using WHM to manage my server.
Everything works fine, but I'm having a problem with sending email through Exim.
I have 4 domain (account) names in my server.

What I'd like to do is that:

Allow users to send mail through their domain name like with authentication (maybe account's login ID and password, but it hasn't configured yet and don't know how).

I went to "Exim Configuraiton Editor" of WHM and changed followin:

1. Check on Automatically send outgoing mail from the account's IP address instead of the main IP address. Warning: If you turn this setting on you should make sure reverse DNS entries match the ones in /etc/mail_reverse_dns.

2. create /etc/mailhelo and /etc/mailips like:

mailhelo ~

mailips ~

3. Edit /etc/mail_reverse_dns like:

And I restarted Exim. It doesn't work like what I expected (I knew it).

All the "" is valid and working by the way.

Please someone help.

Thank you.

Question by:eb110k
    LVL 39

    Expert Comment

    according to the WMH doc:

    Your layout of mailips is wrong...
    it should be:

    It controls which ip address should be used when connecting outward....

    Author Comment

    Thank you for your advise.
    I described wrong. My mailips configured as like

    What am I missing?
    LVL 39

    Accepted Solution

    It should be the domain name not the mailserver name....
    (it specifies what source address to use if a mail is sen from a certain domain...
    so the mail. should be removed)...

    Author Closing Comment

    Thank you.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now