快速业务通道

mail 发送和接收

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-05-03
读过的邮件会存放在/home/user/mbox
Saved 1 message in mbox
Held 1 message in /var/spool/mail/wwy
[wwy@mycentos ~]$ mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/wwy": 1 message 1 unread
>U 1 root@localhost.local Wed May 20 11:49 18/669 "1st ma"
&
[wwy@mycentos ~]$ cat ~wwy/mbox===============阅读完的邮件存放地
From root@localhost.localdomain Wed May 20 11:50:41 2009
Return-Path: <root@localhost.localdomain>
Received: from localhost.localdomain (mycentos [127.0.0.1])
by localhost.localdomain (8.13.8/8.13.8) with ESMTP id n4K3oead003670
for <wwy@localhost.localdomain>; Wed, 20 May 2009 11:50:41 0800
Received: (from root@localhost)
by localhost.localdomain (8.13.8/8.13.8/Submit) id n4K3oe3E003669
for wwy; Wed, 20 May 2009 11:50:40 0800
Date: Wed, 20 May 2009 11:50:40 0800
From: root <root@localhost.localdomain>
Message-Id: <200905200350.n4K3oe3E003669@localhost.localdomain>
To: wwy@localhost.localdomain
Subject: 2nd mail
Status: RO jdlsjdlfjlsjdlfjs
lsjdfljsldjf
sljdfljsd
lsjdfljsl From root@localhost.localdomain Wed May 20 11:49:51 2009
Return-Path: <root@localhost.localdomain>
Received: from localhost.localdomain (mycentos [127.0.0.1])
by localhost.localdomain (8.13.8/8.13.8) with ESMTP id n4K3nooP003661
for <wwy@localhost.localdomain>; Wed, 20 May 2009 11:49:51 0800
Received: (from root@localhost)
by localhost.localdomain (8.13.8/8.13.8/Submit) id n4K3no4g003660
for wwy; Wed, 20 May 2009 11:49:50 0800
Date: Wed, 20 May 2009 11:49:50 0800
From: root <root@localhost.localdomain>
Message-Id: <200905200349.n4K3no4g003660@localhost.localdomain>
To: wwy@localhost.localdomain
Subject: 1st mail
Status: RO hell wwy w
ciscobbsnas ccnp ----------------------------------------------------------------------- [root@mycentos ~]# ls -l |mail -s "3rd mail" wwy===================将此列表导入到mail
[root@mycentos ~]# su wwy
[wwy@mycentos ~]$ mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/wwy": 1 message 1 new
>N 1 root@localhost.local Wed May 20 12:03 46/2184 "3rd ma"
& 1
Message 1:
From root@localhost.localdomain Wed May 20 12:03:04 2009
Date: Wed, 20 May 2009 12:03:03 0800
From: root <root@localhost.localdomain>
To: wwy@localhost.localdomain
Subject: 3rd mail total 228
-rwxr-xr-x 1 root root 2023 May 17 11:53 1985calendar
-rw-r--r-- 1 root root 1968 May 17 14:10 1998calendar
-r-Srwsrwt 1 root root 1959 May 17 14:12 1999calendar
-rw------- 1 root root 0 Apr 28 15:04 1.txt
-rw-r--r-- 1 root root 150 May 20 11:05 2009
-rw-r--r-- 1 root root 0 May 19 16:03 account.err
-rw------- 1 root root 870 Apr 27 21:49 anaconda-ks.cfg
drwxrwxr-x 2 root root 4096 May 18 15:25 cisco
-rw-r--r-- 1 root root 0 May 19 15:51 ciscobbs
-rw-r--r-- 1 root root 10 May 19 15:58 cisco.out
-rw-r--r-- 1 root root 10 May 19 15:16 cisco.txt
-rw-r--r-- 1 root root 143 May 20 11:39 cut.csv
-rw-r--r-- 1 root root 111 May 20 11:41 cut.tab
-rw

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号