- 论坛徽章:
- 5
|
1、
[root|11:33:25~]mail root
Subject: aaa
bbb
ddd
eee
EOT
[root|11:33:45~]mail
No mail for root
============================================================================================
============================================================================================
[root|11:33:49~]nl /var/log/maillog
258 May 25 11:33:45 rhel6-1-227-cn postfix/pickup[1753]: 1CAA511D: uid=0 from=<root>
259 May 25 11:33:45 rhel6-1-227-cn postfix/cleanup[2032]: 1CAA511D: message-id=<20120525033345.1CAA511D@rhel6-1-227-cn.localhost>
260 May 25 11:33:45 rhel6-1-227-cn postfix/qmgr[1754]: 1CAA511D: from=<root@rhel6-1-227-cn.localhost>, size=467, nrcpt=1 (queue active)
261 May 25 11:33:45 rhel6-1-227-cn postfix/local[2034]: 1CAA511D: to=<root@rhel6-1-227-cn.localhost>, orig_to=<root>, relay=local, delay=0.18, delays=0.1/0.03/0/0.05, dsn=5.2.0, status=bounced (cannot update mailbox /var/mail/root for user root. unable to create lock file /var/mail/root.lock: Permission denied)
262 May 25 11:33:45 rhel6-1-227-cn postfix/cleanup[2032]: 3AC1211E: message-id=<20120525033345.3AC1211E@rhel6-1-227-cn.localhost>
263 May 25 11:33:45 rhel6-1-227-cn postfix/qmgr[1754]: 3AC1211E: from=<>, size=2567, nrcpt=1 (queue active)
264 May 25 11:33:45 rhel6-1-227-cn postfix/bounce[2035]: 1CAA511D: sender non-delivery notification: 3AC1211E
265 May 25 11:33:45 rhel6-1-227-cn postfix/qmgr[1754]: 1CAA511D: removed
266 May 25 11:33:45 rhel6-1-227-cn postfix/local[2034]: 3AC1211E: to=<root@rhel6-1-227-cn.localhost>, relay=local, delay=0, delays=0/0/0/0, dsn=5.2.0, status=bounced (cannot update mailbox /var/mail/root for user root. unable to create lock file /var/mail/root.lock: Permission denied)
267 May 25 11:33:45 rhel6-1-227-cn postfix/qmgr[1754]: 3AC1211E: removed
2、
[root|11:34:57~]ll -a /var/mail/
总用量 8
drwxrwxr-x. 2 root mail 4096 5月 25 11:29 .
drwxr-xr-x. 14 root root 4096 5月 25 11:29 ..
-rw-r--r--. 1 root root 0 5月 25 11:20 20120525
-rw-rw----. 1 alex mail 0 1月 11 20:00 alex
-rw-rw----. 1 jennifer mail 0 1月 11 20:00 jennifer
-rw-------. 1 kelly mail 0 5月 25 10:25 kelly
-rw-rw----. 1 killy mail 0 12月 17 16:50 killy
-rw-rw----. 1 rpc mail 0 12月 17 01:28 rpc
-rw-rw----. 1 wanshi mail 0 1月 10 17:01 wanshi
[root|11:36:27~]touch /var/mail/abc
[root|11:36:52~]ll -a /var/mail/
总用量 8
drwxrwxr-x. 2 root mail 4096 5月 25 11:36 .
drwxr-xr-x. 14 root root 4096 5月 25 11:29 ..
-rw-r--r--. 1 root root 0 5月 25 11:20 20120525
-rw-r--r--. 1 root root 0 5月 25 11:36 abc
-rw-rw----. 1 alex mail 0 1月 11 20:00 alex
-rw-rw----. 1 jennifer mail 0 1月 11 20:00 jennifer
-rw-------. 1 kelly mail 0 5月 25 10:25 kelly
-rw-rw----. 1 killy mail 0 12月 17 16:50 killy
-rw-rw----. 1 rpc mail 0 12月 17 01:28 rpc
-rw-rw----. 1 wanshi mail 0 1月 10 17:01 wanshi
[root|11:37:01~] |
|