3. 系统收到的mail会保存在/var/spool/mail/用户名 文件夹中 收mail,键入mail就会显示当前用户的前20封mail。可对邮件进行查看删除等操作。键入?可显示所有命令 $mail Mail version 8.1 6/6/93. Type ? for help. "/var/spool/mail/root": 37 messages 37 new >N 1 root@localhost.local Mon Dec 13 ...
from <message list> give head lines of messages headers print out active message headers delete <message list> delete messages undelete <message list> undelete messages save <message list> folder append messages to folder and mark as saved copy <message list> folder append messages to folder with...
from message list give head lines of messages headers print out active message headers delete message list delete messages undelete message list undelete messages save message li...
mail命令进入系统自带的MAIL[root@mylinux~]#mailMailversion8.16/6/93.Type?forhelp."/var/spool/mail/root":2messages2newN1root@localhost.localMonDec3104:0267/2018"LogWatchformylinux"N2root@localhost.localSunJan604:0253/1689"LogWatchformylinux"&help//进入帮助MailCommandsttypemessages//程序调用more显示...
mail commands type<message list> type messages next goto and type next message from<message list> give head lines of messages headers print out active message headers delete<message list> delete messages undelete<message list> undelete messages ...
pre <message list> 保留信息在 /usr/spool/mail 1* m <user list> 发邮件,多个收件人用空格分开【需要sendmail支持】 q quit, saving unresolved messages in mbox 2* x quit, do not remove system mailbox h print out active message headers
q quit, saving unresolved messages in mbox 2x quit, do not remove system mailbox h print out active message headers !让shell执行某命令,如!ls 输出ls命令结果 cd [directory] 改变目录,这里不用!cd,但打印当前目录需要!pwd A consists of integers, ranges of same, or usernames separated by spaces...
q quit, saving unresolved messages in mbox 2* x quit, do not remove system mailbox h print out active message headers ! 让shell执行某命令,如 !ls 输出ls命令结果 cd [directory] 改变目录,这里不用 !cd,但打印当前目录需要 !pwd A <message list> consists of integers, ranges of same, or use...
pre <message list> 保留信息在 /usr/spool/mail 1* m <user list> 发邮件,多个收件人用空格分开【需要sendmail支持】 q quit, saving unresolved messages in mbox 2* x quit, do not remove system mailbox h print out active message headers
SMTP(Simple Mail Transfer Protocol):简单邮件传输协议,用于发送和中转发出的电子邮件,占用TCP端口25。 POP3(Post Office Protocol 3):邮局协议版本3,用于将电子邮件存储到本地主机,占用TCP端口110。 IMAP4(Internet Message Access Protocol 4):Internet消息访问协议版本4,用于在本地主 机上访问邮件,占用TCP端口143。