qmail + 主机名.local做域 + smtp + telnet 测试

启动tcpserver

log  run  supervise
[root@centos-qmail qmail-smtpd]# ./run
/usr/local/bin/softlimit -m 10000000   /usr/local/bin/tcpserver -v -R -l centos-qmail.local -x /etc/tcp.smtp.cdb -c 20         -u 503 -g 502 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
tcpserver: status: 0/20
^C
[root@centos-qmail qmail-smtpd]# run
-bash: run: command not found
[root@centos-qmail qmail-smtpd]# ./run
/usr/local/bin/softlimit -m 10000000   /usr/local/bin/tcpserver -v -R -l centos-qmail.local -x /etc/tcp.smtp.cdb -c 20         -u 503 -g 502 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
tcpserver: status: 0/20

------------

smtp交互命令.这东西不能回删除.都打错了

Last login: Wed Oct 26 03:53:49 2011 from 192.168.21.36
[root@centos-qmail ~]# telnet
telnet> open localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 centos-qmail.local ESMTP
helo qidizi.com
250 centos-qmail.local
mail to:qidizi@qidii^H
250 ok
mail to:qidizi@qidii
250 ok
mail to
250 ok
f
502 unimplemented (#5.5.1)
mail from:qidizi@qq.
250 ok
mail from:qidizi@qidizi.com
250 ok
mail to:qiedizi@qq.com
250 ok
mail to:qidizi@qq.com
250 ok
data
503 RCPT first (#5.5.1)
rcpt to :qidizi@qq.com
250 ok
data
354 go ahead
subject:=?utf-8?B?dkfkd?=

kjkk

.
250 ok 1319615924 qp 8251

-------

qq中收到情况

 

------

failure notice
邮件详情 qmail + 主机名.local做域 + smtp + telnet 测试 - qidizi - qidizi 的博客 qmail + 主机名.local做域 + smtp + telnet 测试 - qidizi - qidizi 的博客 MAILER-DAEMON2011年10月26日(星期三) 上午7:58 (UTC+0:00 伦敦、都柏林、里斯本时间)发给:qidiziMAILER-DAEMON 将 qidizi 加入此次会话 Hi. This is the qmail-send program at centos-qmail.local.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<>:
112.95.241.34 failed after I sent the message.
Remote host said: 550 Mail content denied.  http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=20022&&no=1000726

--- Below this line is a copy of the message.

Return-Path: <>
Received: (qmail 8251 invoked from network); 26 Oct 2011 07:58:18 -0000
Received: from localhost (HELO qidizi.com) (127.0.0.1)
  by centos-qmail.local with SMTP; 26 Oct 2011 07:58:18 -0000
subject:=?utf-8?B?dkfkd?=

kjkk

 

-------------------

 

这样是收到不了,不懂扔那去了.

不懂qmail命令.还不太懂怎么查它扔那了.

 

 

Last login: Wed Oct 26 03:55:55 2011 from 192.168.21.36
[root@centos-qmail ~]# telnet
telnet> open localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 centos-qmail.local ESMTP
helo qidizi.com
250 centos-qmail.local
mail from:qidizi@centos.local
250 ok
rcpt to:qidizi@qq.com
250 ok
data
354 go ahead
subject:=?utf-8?B?0000000==?=


test qidizi@centos.^Hlocal

.
250 ok 1319616186 qp 8531

------------------

没用用户在本地,也不能发...

 

 

Last login: Wed Oct 26 04:01:24 2011 from 192.168.21.36
[root@centos-qmail ~]# telnet
telnet> open localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 centos-qmail.local ESMTP
helo qidizi.com
250 centos-qmail.local
mail from:qidizi@centos-qmail.local
250 ok
rcpt to:qidizi@qq.com
250 ok
data
354 go ahead
subject:=?utf-8?B?dkjk=?=

kjkkkjkjkjkjkjkjkjkjkjkjkjkjkj

.
250 ok 1319616377 qp 8781

 

也是收不到

----------------------

 

发送成功

 

Last login: Wed Oct 26 04:05:04 2011 from 192.168.21.36
[root@centos-qmail ~]# telnet
telnet> open localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 centos-qmail.local ESMTP
helo qidizi.com
250 centos-qmail.local
mail from:root@centos-qmao
250 ok
mail from:root@centos-qmail.local
250 ok
rcpt to:qidizi@qq.com
250 ok
data
354 go ahead
subject:?^H
subject:=?utf-8?B?kjkjkk=?=

kjkjkjkjkjkjkjkjkeireiurierieuie

.
250 ok 1319616525 qp 8951
mail from:postmaster@centos-qmail.local
250 ok
rcpt to:qidizi@qq.com
250 ok
data
354 go ahead
subject:=?utf-8?b^[[D^]
telnet> opent^H
?Invalid command
telnet> opent
?Invalid command
telnet> eop
?Invalid command
telnet> opent
?Invalid command
telnet> open
?Already connected to localhost
telnet> open localhso
?Already connected to localhost
telnet> open localhost 25
?Already connected to localhost
telnet> openlo
?Invalid command
telnet> open localhost 25
?Already connected to localhost
telnet> quit
Connection closed.
[root@centos-qmail ~]# telnet
telnet> open localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 centos-qmail.local ESMTP
helo qidizi.com
250 centos-qmail.local
mail from:postmaster@centos-qmail.local
250 ok
rcpt to:qidizi@qq.com
250 ok
data
354 go ahead
subject:=?utf-8::?Bkk
subject:=?utf-8?B?kdkkd=?=

kjkfjkd

.
250 ok 1319616882 qp 9381
mail from:qidizi@qidizi.com
250 ok
rcpt to:qidizi@qq.com
250 ok
data
354 go ahead
Subject: =?utf-8?B?6Lev5pWP5oCdKEx1bWVzc2Up5Lq65omN566h55CG6L2v5Lu26YKA6K+35oKo5Y+C5LiO44CKSFLnrqHnkIbmlrDmgJ3nu7TjgIvlnIbmoYzkvJrorq7vvJrigJzorqnmlbDlrZfkuLpIUuiusuivneKAnQ==?=

kdjkfjdkfkdkf



.
250 ok 1319616994 qp 9535

 

 

---------

 

收到信

 

路敏思(Lumesse)人才管理软件邀请您参与《HR管理新思维》圆桌会议:“让数字为HR讲话” qmail + 主机名.local做域 + smtp + telnet 测试 - qidizi - qidizi 的博客 qmail + 主机名.local做域 + smtp + telnet 测试 - qidizi - qidizi 的博客发件人:  <>  (由 qidizi@qidizi.com 代发)

时   间: 2011年10月26日(星期三) 下午3:17 (UTC+0:00 伦敦、都柏林、里斯本时间)



kdjkfjdkfkdkf

 

其实我域名是没有mail服务器的.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值