Need default /etc/aliases file.

web01

Member
Aug 5, 2019
7
2
3
Australia
cPanel Access Level
Root Administrator
Hi guys,

I was trying to configure my /etc/aliases file and seem to have accidentally deleted some of it. I did not make a backup (lesson learned).

Is anyone able to paste the default file here?

Mine looks like this currently, I believe I am missing a lot of the text from the top?

File: /etc/aliases

#root: marc
abuse: root
adm: root
amandabackup: root
apache: root
bin: root
canna: root
daemon: root
dbus: root
decode: root
desktop: root
dovecot: root
dumper: root
fax: root
ftp: root
ftp-adm: ftp
ftp-admin: ftp
ftpadm: ftp
ftpadmin: ftp
games: root
gdm: root
gopher: root
halt: root
hostmaster: root
ident: root
info: postmaster
ingres: root
ldap: root
lp: root
mail: root
mailer-daemon: postmaster
mailnull: root
manager: root
marketing: postmaster
mysql: root
named: root
netdump: root
news: root
newsadm: news
newsadmin: news
nfsnobody: root
nobody: [email protected]
noc: root
nscd: root
ntp: root
nut: root
operator: root
pcap: root
pcp: root
postfix: root
postgres: root
postmaster: root
privoxy: root
pvm: root
quagga: root
radiusd: root
radvd: root
rpc: root
rpcuser: root
rpm: root
sales: postmaster
 

quietFinn

Well-Known Member
Feb 4, 2006
1,394
179
193
Finland
cPanel Access Level
Root Administrator
Code:
#
#  Aliases in this file will NOT be expanded in the header from
#  Mail, but WILL be visible over networks or from /bin/mail.
#
#       >>>>>>>>>>      The program "newaliases" must be run after
#       >> NOTE >>      this file is updated for any changes to
#       >>>>>>>>>>      show through to sendmail.
#

# Basic system aliases -- these MUST be present.
mailer-daemon:  postmaster
postmaster:     root

# General redirections for pseudo accounts.
bin:            root
daemon:         root
adm:            root
lp:             root
sync:           root
shutdown:       root
halt:           root
mail:           root
news:           root
uucp:           root
operator:       root
games:          root
gopher:         root
ftp:            root
nobody:         root
radiusd:        root
nut:            root
dbus:           root
vcsa:           root
canna:          root
wnn:            root
rpm:            root
nscd:           root
pcap:           root
apache:         root
webalizer:      root
dovecot:        root
fax:            root
quagga:         root
radvd:          root
pvm:            root
amandabackup:           root
privoxy:        root
ident:          root
named:          root
xfs:            root
gdm:            root
mailnull:       root
postgres:       root
sshd:           root
smmsp:          root
postfix:        root
netdump:        root
ldap:           root
squid:          root
ntp:            root
mysql:          root
desktop:        root
rpcuser:        root
rpc:            root
nfsnobody:      root
pcp:            root

ingres:         root
system:         root
toor:           root
manager:        root
dumper:         root
abuse:          root

newsadm:        news
newsadmin:      news
usenet:         news
ftpadm:         ftp
ftpadmin:       ftp
ftp-adm:        ftp
ftp-admin:      ftp
www:            webmaster
webmaster:      root
noc:            root
security:       root
hostmaster:     root
info:           postmaster
marketing:      postmaster
sales:          postmaster
support:        postmaster


# trap decode to catch security attacks
decode:         root

# Person who should get root's mail
#root:          marc
 
  • Like
Reactions: web01