mail.txt

本文档介绍了邮件服务器的配置,并通过telnet命令演示了SMTP、POP3和IMAP协议的测试过程,包括发送邮件、接收邮件和管理邮箱的操作。
摘要由CSDN通过智能技术生成

协议名称 协议类型  端口号
-----------------------
smtp    tcp      25
pop3    tcp      110
smtps   tcp      465
pop3s   tcp      995 
imap    tcp      143 
imaps   tcp      993

用户
$>useradd -u 2000 -d /var/vmail -m -s /sbin/nologin vmail

USAGE
-------------------------------
http://www.example.org/postfixadmin/setup.php  #postfixadmin安装密码:123456(在添加管理员的时候是需要的).
http://www.example.org/postfixadmin/           #postfix 管理平台,LOGIN/PASSWD:root@example.org/123456,hy@example.org/123456,administrator@example.org/123456
http://www.example.org/webmail                 #网页邮件
 
POP3-telnet 测试
------------------------------
$>telnet localhost 25                          #发送邮件的基本功能测试.
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.org ESMTP Postfix
ehlo test
250-mail.example.org
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN CRAM-MD5
250-AUTH=PLAIN LOGIN CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.

$telnet localhost 25                           #发送邮件的功能测试.
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.org ESMTP Postfix
ehlo mail.example.org
250-mail.example.org
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN CRAM-MD5
250-AUTH=PLAIN LOGIN CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

胡致云

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值