Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-01-2009, 12:33 PM   #1
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Rep: Reputation: 15
aliases issue using /etc/aliases

I am able to send a mail message to myself from a server without any problem...

But after I have updated /etc/aliases and added the line for all of root's mail to be routed to me....


and ran newaliases to implement it....

If I send a mail message to root, it does not get routed to my email...

Any suggestions ??
Old 04-01-2009, 01:32 PM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,167

Rep: Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391
You didn't say what smtp server you're using, but anyway did you restart it after running newaliases?
Old 04-14-2009, 12:43 PM   #3
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Original Poster
Rep: Reputation: 15
Using sendmail (sendmail-8.13.1-3.3.el4)

The issue appears to be with the /etc/aliases, I've done a newaliases command and restarted sendmail but in the maillog file, outgoing mail is being sent to root, whereas, on working servers, the email address that is in the /etc/aliases file is being used, which is what I would expect to happen...
Old 04-14-2009, 12:48 PM   #4
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
do you see any pointers in the logfiles, if you sent the mail?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba or Wins issue: netbios aliases, not accessible by hostname pingu Linux - Networking 1 05-02-2008 01:51 PM
wrap lines at 80 for long aliases in .aliases.csh jhwilliams Linux - Software 0 07-26-2007 07:49 AM
Aliases in x SharpyWarpy Linux - General 2 07-17-2007 11:14 AM
sendmail and NIS databases (aliases, mail.aliases) - what kind of databases? cotton213 Linux - Software 0 03-14-2006 05:57 PM
aliases depaul Linux - Software 23 07-30-2003 06:49 PM

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration