Results 1 to 6 of 6
If I want to have all mail for root forwarded to anyaddress@mydomain.com , what is the simplest way of doing so?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-24-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 12
root email
If I want to have all mail for root forwarded to anyaddress@mydomain.com, what is the simplest way of doing so?
- 04-25-2007 #2
Are you running sendmail? If so, edit /etc/mail/aliases and edit the entry that says who 'root' is, and point it at that address. Then run 'newaliases'.
Linux user #126863 - see http://linuxcounter.net/
- 04-25-2007 #3Just Joined!
- Join Date
- Apr 2007
- Posts
- 12
I'm running postfix, with CentOS 4.4.
- 04-26-2007 #4
hello dude,
just use the mail command
then specify
TO: Example@mydomain.com
FROM : Example@mydomain.com
But one thing u need to check your sendmail is properly installed or not
use command "rpm -qa sendmail" otherwise use the GUI tools for sendmail configuration /usr/sbin/system-config-packages.
If it's already installed then no problem check the service is running
check by this command "service sendmail status/start/stop"
otherwise u can do this easyest way like /etc/init.d/sendmail status/start/stop
If u have problem about this let me know.....
cheers,
Linux is Rocking
- 04-26-2007 #5Linux user #126863 - see http://linuxcounter.net/
- 04-26-2007 #6
There might be some information here at postfix.org that you might find useful. It tells you how alias files are declared. I cant try any of this out, of course, because I'm using sendmail.
Linux user #126863 - see http://linuxcounter.net/


Reply With Quote

