exim not expanding alias for root

Posted on 2012-09-18
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 :          

i also tried, the following
root:                      someuser

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

so i expect any mail directed to root to reach
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 = *

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

# authenticator
  driver = plaintext
  public_name = LOGIN
  hide client_send = : : 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 61

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    I didn’t use eM Client for long when I decided to swap to Outlook 2016. The reason for the switch is that it started asking for payment to continue some of its services after one month.   The problems I faced when I didn’t pay were:   I was not …
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    737 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

    21 Experts available now in Live!

    Get 1:1 Help Now