Send mail to root but it send to other email
Posted 06-10-2009 at 10:16 PM by smart_jija
Quote:
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
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
[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 /]$
Total Comments 0