协议名称 协议类型 端口号
-----------------------
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