exim not expanding alias for root

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
Who is Participating?
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.