ail version 12.5 7/5/10. Type ? for help.
"/var/spool/mail/root": 2 messages 2 new
>N 1 user@localhost.xyz Tue Aug 21 09:20 170/6951 "[abrt] full crash report"
N 2 wgzll Sat Aug 25 20:38 119/3662 "Hello~"
& 2
Message 2:
From wgzll@linuxprobe.com Sat Aug 25 20:38:05 2018
Return-Path: <wgzll@linuxprobe.com>
X-Original-To: root@linuxprobe.com
Delivered-To: root@linuxprobe.com
From: "wgzll" <wgzll@linuxprobe.com>
To: <root@linuxprobe.com>
Subject: Hello~
Date: Sat, 25 Aug 2018 20:38:06 +0800
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0001_01D43CB3.872C58B0"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AdQ8cHcGmIa/AAncTiqrA9WpZ+Lqew==
Content-Language: zh-cn
x-cr-hashedpuzzle: oeE= 5hM= ALkx CcEg CvVx EJgt EYbg GBXk GQ56 GSqZ GnVQ Ig73 JIgR Jbgs J
9/E KqFk;1;cgBvAG8AdABAAGwAaQBuAHUAeABwAHIAbwBiAGUALgBjAG8AbQA=;Sosha1_v1;7;{B434BAF0-D9B5
-4FEF-8935-91553750D981};dwBnAHoAbABsAEAAbABpAG4AdQB4AHAAcgBvAGIAZQAuAGMAbwBtAA==;Sat, 25
Aug 2018 12:38:03 GMT;SABlAGwAbABvAH4A
x-cr-puzzleid: {B434BAF0-D9B5-4FEF-8935-91553750D981}
Status: R
Content-Type: text/plain;
charset="gb2312"
当您收到这封邮件时,证明我的邮局系统试验已经成功!
& quit
Held 2 messages in /var/spool/mail/root
您在 /var/spool/mail/root 中有邮件
设置用户别名信箱
[root@mail named]# cat /etc/aliases
#
# 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
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
------------------------------------------------------------------------
------------------------------------------------------------------------
[root@mail named]# mail
Heirloom Mail version 12.5 7/5/10. Type ? for help.
"/var/spool/mail/root": 3 messages 1 new 2 unread
U 1 user@localhost.xyz Tue Aug 21 09:20 171/6961 "[abrt] full crash report"