Originally posted by robberttheman
I don't use a MTA(that is a mailserver right?) I have sendmail installed and running though. I want to install a mailserver too, but i am still trying to find out what mailserver to install and which server is installed easily.
Hope you help me out anyway or ask me things i can lookup for you. I posted it in the newbie section
Sendmail is a MTA..
Go into your /etc/mail/ directory and edit your aliases file. (It might be located elsewhere but by default the configuration files for sendmail are in /etc/mail/)
And if it has a line that says:
You can set that to whatever you want. Like myself, I run a mail server but have all messages go to my sysadmin alias. But you can also specify full email addresses if the user is not local on the system.
That would send all root email to firstname.lastname@example.org
After you edit the aliases file, just run newaliases as root.. and it will make the changes on the fly, no need to restart sendmail or your system.