51Testing软件测试论坛

标题: QC使用mail dir邮件自动发送时出错 [打印本页]

作者: linhai08    时间: 2010-8-19 14:48
标题: QC使用mail dir邮件自动发送时出错
QC能自动发送的邮件到mail dir,但mail dir发送时出错,日志中没看出来哪里出错了,不过似乎QC提交过来的邮件没有使用发送人的用户名密码去邮件服务器登录,日志如下,达人帮忙分析一下原因,谢谢

2010-8-19 11:42:38
[Mail Direct Pro v2.1.6.0]
DNS Query: Try to get mail exchange host information...
DNS server: 192.168.0.38, 61.139.2.69
Get 1 MX host information.
  10 smtp.qctest.com
Direct mail delivery disabled. Use relay SMTP server to deliver mail.

Send mail directly failed.
Try to relay mail to smtp.qctest.com.
Message size: 17054 Bytes.

Mail sending details:
Sending mail from <admin@qctest.com> to <wangyi@qctest.com>[smtp.qctest.com] ...
>220 smtp.qctest MAIL Service ready at Thu, 19 Aug 2010 11:43:07 +0800
smtp.qctest.com[192.168.0.8] connected
CMD: EHLO localhost
>250-smtp.qctest.com Hello [192.168.0.38]
>250-SIZE 20971520
>250-PIPELINING
>250-DSN
>250-ENHANCEDSTATUSCODES
>250-STARTTLS
>250-X-ANONYMOUSTLS
>250-AUTH GSSAPI NTLM LOGIN
>250-X-EXPS GSSAPI NTLM
>250-8BITMIME
>250-BINARYMIME
>250-CHUNKING
>250-XEXCH50
>250 XRDST
CMD: AUTH LOGIN
>334 VXNlcm5hbWU6
//这个转码出来是 Username:
CMD: Send Username
>334 UGFzc3dvcmQ6
//这个转码出来是 Password:
CMD: Send Password
>235 2.7.0 Authentication successful
CMD: MAIL FROM: <admin@qctest.com>
>250 2.1.0 Sender OK
CMD: RCPT TO: <wangyi@qctest.com>
>250 2.1.5 Recipient OK
CMD: DATA
>354 Start mail input; end with <CRLF>.<CRLF>
CMD: Sending Data...
CMD: .
>550 5.7.1 Client does not have permissions to send as this sender

[ 本帖最后由 linhai08 于 2010-8-19 14:58 编辑 ]
作者: linhai08    时间: 2010-9-10 09:56
通过如下操作解决了这个问题,同时,还解决了MAIL DIR PRO常停止发送邮件的问题:
1.修改邮件接收后直接RELAY,同时选择并添加收件人目标地址域;
2.修改发送线程数为一个数字,如10,并修改每发送10封邮件后暂停2S




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2