WHM Exim configuration Problem

Posted on 2010-01-06
Medium Priority
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 mail.mydomain.com 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 ~
mydomain1.com: mail.mydomain1.com
mydomain2.com: mail.mydomain2.com

mailips ~ mail.mydomain1.com mail.mydomain2.com

3. Edit /etc/mail_reverse_dns like: mail.mydomain1.com mail.mydomain2.com

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

All the "mail.mydomain~.com" is valid and working by the way.

Please someone help.

Thank you.

Question by:eb110k
  • 2
  • 2
LVL 41

Expert Comment

ID: 26199746
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

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


What am I missing?
LVL 41

Accepted Solution

noci earned 2000 total points
ID: 26264380
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

ID: 31673853
Thank you.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

579 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