This is the contents of the file /etc/aliases on my Debian (Wheezy) server, as it is:
# /etc/aliases mailer-daemon: postmaster postmaster: root nobody: root hostmaster: root usenet: root news: root webmaster: root www: root ftp: root abuse: root noc: root security: root root: t I noticed that, by default, my server sends emails from what looks like
[email protected]. So, which one of the rules above governs this?postmaster: root?So, the rules in
/etc/aliasesare used to assign users to specific departments? For example, all emails to be sent/received forabusewill be delivered from/to[email protected](which would be the default email for root, unless there's an alias). Correct?Can someone please explain what each of these is really meant for? --
mailer-daemon,postmaster,nobody,hostmaster,usenet,news,webmaster,www,ftp,abuse,noc,security,root.I mean, a description like "
mailer-daemonis for sending email delivery errors, but not really meant for receiving emails.securityfor where people should contact you about security issues", or something like that.