exim not expanding alias for root

Posted on 2012-09-18
Medium Priority
Last Modified: 2013-12-16
hi experts

i am running exim 4.63 on centos 5.8 and i have a problem.

now my box is able to
- send email out just fine
- relay email out just fine

however it is not able to expand the alias for root which is configured in /etc/aliases like below
root :                    mypersonalemail@gmail.com

i also tried, the following
root:                      someuser
someuser:            mypersonalemail@gmail.com

i also ran newaliases after modifying /etc/aliases and restarted exim before testing

so i expect any mail directed to root to reach mypersonalemail@gmail.com
however exim routes it via my gmail route where it gets bounced by google servers as they don't know who root@mybox is.

following are excerpts from my exim.conf
# route
  driver = manualroute
  transport = gmail_relay
  route_list = * smtp.gmail.com

# transport
  driver = smtp
  port = 587
  hosts_require_auth = $host_address
  hosts_require_tls = $host_address

# authenticator
  driver = plaintext
  public_name = LOGIN
  hide client_send = : mypersonalemail@gmail.com : mypasswordongmail

my soul is aching as a direct consequence of this. :(
can i please bank on your kind heartedness and massive technical skills. :)

thanks experts
Question by:sherrysidhu
1 Comment
LVL 62

Accepted Solution

gheist earned 1500 total points
ID: 38517046
Just that you do not parse aliases in exim configuration and run newaliases to make sendmail happy.
Would be nice if you manage to figure out which mail you are/want to be using and configure accordingly.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

755 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