LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > smart_jija
User Name
Password

Notices


Rate this Entry

Send mail to root but it send to other email

Posted 06-10-2009 at 10:16 PM by smart_jija

Quote:
Originally Posted by IW2B View Post
Hi,

Try running the following:

sendmail -bv root
grep root /etc/mail/aliases

Both should just tell you where root emails go, it should be defined in the alias file. If the outputs does not match it could be that the alias file is not updated, run:

newalias

Check for a .forward file in roots home directory.

Regards
Ian
result of run follow you.

[root@frontal2 /]$ sendmail -bv root
bash: sendmail: command not found
[root@frontal2 /]$ grep root /etc/mail/aliases
Postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
[root@frontal2 /]$ newalias
bash: newalias: command not found
[root@frontal2 /]$

And I don't found .forward file.
[root@frontal2 /]$ find / -name 'forward'
[root@frontal2 /]$
Posted in Uncategorized
Views 1515 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 01:31 AM.

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