[root@localhost ~]# mail -u david // 指定用户,首先得到邮件列表
Heirloom Mail version 12.4 7/29/08. Type ? for help.
"/var/mail/david": 10 messages 3 new
1 root Thu Aug 16 17:07 21/692 "test"
2 root Thu Aug 16 17:08 20/631 "test"
3 root Thu Aug 16 17:10 20/602 "test"
4 root Fri Aug 17 08:15 20/570 "test3"
5 root Fri Aug 17 09:46 25/668 "test04"
6 root Tue Aug 21 09:14 20/609 "test04"
7 root Tue Aug 21 09:15 20/666 "test05"
>N 8 wejie Fri Oct 5 21:32 13/403
N 9 wejie Fri Oct 5 21:33 13/400
N 10 wejie Fri Oct 5 21:37 13/406
& 10 // 此处输入邮件编号,可以得到具体邮件内容
Message 10:
From weijie@david.cn Fri Oct 5 21:37:11 2018
Return-Path: <weijie@david.cn>
X-Original-To: david
Delivered-To: david@david.cn
Date: Fri, 5 Oct 2018 21:37:07 +0800 (CST)
From: weijie@david.cn (wejie)
To: undisclosed-recipients:;
Status: RO
hehe
|