5.29 补充的基础知识

1. POP3:Post Office Protocol 3/邮局协议第三版

2. POP3协议适用于不能时时连线的邮件用户。支持客户在服务器上租用信箱,然后POP3协议向服务器请求下载。

3. 基于TCP/IP协议与客户端/服务器端模型

4. POP3的认证与邮件传送都采用明文

5. POP3协议使用110端口

6. POP3协议命令

⑴ USER: 通报用户名

⑵ PASS: 输入密码

⑶ LIST: 列出所有邮件大小

⑷ RETR: 阅读邮件

⑸ DELE: 删除邮件

⑹ QUIT: 连线结束

举例:

[root@station1 root]# telnet localhost 110

Trying 127.0.0.1...

Connected to station1 (127.0.0.1).

+OK POP3 station1 v2001.78rh server ready

USER student

+OK User name accepted, password please

PASS student

+OK Mailbox open, 1 messages

list

STAT

+OK 1 440

TOP 1 99999

retr 1

+OK Top of message follows

Return-Path: root@station1.example.com

Delivered-To: student@station1.example.com

Received: by station1.example.com (Postfix, from userid 0)

id 72314348390; Mon, 22 Sep 2003 08:02:27 -0400 (EDT)

To: student@station1.example.com

Subject: Hello student

Message-Id: 20030922120227.72314348390@station1.example.com

Date: Mon, 22 Sep 2003 08:02:27 -0400 (EDT)

From: root@station1.example.com (root)

Status:

mail to be poped

.

DELE 1

+OK Message deleted

QUIT

+OK Sayonara

7. Pop3服务一般是基于xinetd的服务

8. Pop3可以通过两种方式开启和关闭服务

⑴ 编辑/etc/xinetd.d/ipop3并重启xinetd

⑵ 使用chkconfig来开启或关闭服务

9. 配置pop3服务需要安装imap软件包

10. IMAP: Internet Message Access Protocol/

英特网信息存取协议

11. IMAP是另一种从邮件服务器上获取邮件的协议

12. 与POP3相比,IMAP支持在下载邮件前先行下载邮件头以预览邮件的主题来源

13. IMAP基于TCP/IP

14. IMAP 使用143端口

15. IMAP的配置方法同pop3。

发表评论
留言与评论(共有 0 条评论) “”
   
验证码:

相关文章

推荐文章