Sendmail >> Aliases >> where do you set the admin e-mail address?
Hi there,
I am not a total newb but I am new to the configuration of Sendmail and how the whole aliases setup works. I can view my aliases file in /etc/aliases but I want to know where you set the admin's e-mail. For example you might have admin@yourdomain.com set as the receiver of all mail from the server. Where can I find this setting, what file is it in and what directory? I may have missed it. I did do a Quote:
Thanks! |
Most administration mail on your box will end up being addressed to root. In the aliases file you will probably see that mailer-daemon's mail goes to postmaster and postmaster's mail goes to root. You'll also see a lot of system account names listed with their mail going to root.
To make reading root's mail easier, you can add an alias at the end of the file diverting root's mail to your account. If you do, you'll need to run the newaliases command afterwards to update the aliases database. |
So would it be
Quote:
Thank you! |
Yes, that's right. That should send all of root's mail to user@yourdomain.com
|
The alaises file should look something like this one along with the addition of the user I want to send the e-mails to - then I want to run "newaliases," via the command line or a terminal, correct?
Quote:
|
Yep - that's it :)
|
All times are GMT -5. The time now is 08:39 PM. |