Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
[root@rhel6-1 ~]# useradd test001
[root@rhel6-1 ~]# useradd test002
发送邮件
[root@rhel6-1 named]# telnet 192.168.1.11 25
Trying 192.168.1.11...
Connected to 192.168.1.11.
Escape character is '^]'.
220 mail.testmail.com ESMTP Postfix
mail from:test001@testmail.com
250 2.1.0 Ok
rcpt to:test002@testmail.com
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
hello test002!!!
.
250 2.0.0 Ok: queued as 12623A0059
quit
221 2.0.0 Bye
Connection closed by foreign host.
接收邮件
[root@rhel6-1 named]# su - test002
[test002@rhel6-1 ~]$ mail
Heirloom Mail version 12.4 7/29/08. Type ? for help.
"/var/spool/mail/test002": 2 messages 1 new
1 test001@rhel6-1.doma Mon Oct 13 02:53 15/517
>N 2 test001@testmail.com Mon Oct 13 05:37 14/507
& r
undisclosed-recipients:; contains invalid character ':'
To: test001@testmail.comtest001@testmail.com wrote:
> hello test002!!!
CentOS 6.4下Postfix邮件服务安装和基本配置
搭建Red Hat Enterprise Linux 5.4的Postfix邮件服务器