免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3913 | 回复: 2
打印 上一主题 下一主题

[Mail] qmail 发送本地邮件成功,发送外部邮件确一直在队列中发不出去 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-09 00:16 |只看该作者 |倒序浏览
qmail 发送本地邮件成功,发送外部邮件确一直在队列中发不出去.
问题会出在哪呢??用foxmail提示发送成功,在服务器上用qmailctl stat参看 队列中的邮件有增加,但一直都发不出去,
本域的收发正常,,用sqwebmail web发送也是一样,本域正常,外域发送失败,如163 、139的邮箱
服务器ping 163.com 139.com都可以通,说明不是dns问题,。,问题不知道,出在哪,请大家帮忙!!

安装netqmail-1.06
daemontools-0.76.tar
ucspi-tcp-0.88.tar
vpopmail-5.4.27.tar
courier-authlib-0.58.tar
courier-imap-4.4.1.tar
sqwebmail-5.3.1.tar

/var/qmail/rc内容

#!/bin/sh

# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by default

exec env - PATH="/var/qmail/binPATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"


pop3 /run 脚本内容
#!/bin/sh

DOMAIN=`hostname`

exec /usr/local/bin/tcpserver -H -R 0 pop-3 /VDS/APPS/qmail/bin/qmail-popup $DOMAIN /VDS/APPS/vpopmail/bin/vchkpw /VDS/APPS/qmail/bin/qmail-pop3d Maildir 2>&1


smtpd /run 脚本内容
#!/bin/sh
DOMAIN='head -1 /var/qmail/control/me'
QMAILDUID='id -u qmaild'
NOFILESGID='id -g qmail'
exec /usr/local/bin/softlimit -m 2000000 /usr/local/bin/tcpserver -H -R -p -x /etc/tcp.smtp.cdb -u $QMAILDUID -g $NOFILESGID 0 smtp /VDS/APPS/qmail/bin/qmail-smtpd $DOMAIN /VDS/APPS/vpopmail/bin/vchkpw /bin/true /bin/cmd5checkpw /bin/true 2>&1

论坛徽章:
0
2 [报告]
发表于 2009-03-09 00:40 |只看该作者
本帖最后由 linpc 于 2010-06-09 13:16 编辑

[root@localhost ~]# cat /var/log/qmail/current
@4000000049b247d22c34f2ac status: local 0/10 remote 3/20
@4000000049b2480d3aff3bbc new msg 1674242
@4000000049b2480d3aff4b5c info msg 1674242: bytes 369 from <lpc@pc.com.cn> qp 2996 uid 508
@4000000049b2480e0297799c starting delivery 7: msg 1674242 to local lpc.com.cn-test@linpc.com.cn
@4000000049b2480e02978554 status: local 1/10 remote 3/20
@4000000049b2480e02978d24 starting delivery 8: msg 1674242 to remote su@163.com
@4000000049b2480e029794f4 status: local 1/10 remote 4/20
@4000000049b2480e03fa267c delivery 7: success: did_0+0+1/
@4000000049b2480e03fa3234 status: local 0/10 remote 4/20
@4000000049b2482c0dfbb064 delivery 6: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@4000000049b2482c0dfbbc1c status: local 0/10 remote 3/20
@4000000049b24848249d5c14 new msg 1673703
@4000000049b24848249d7384 info msg 1673703: bytes 652 from <test@linpc.com.cn> qp 3041 uid 0
@4000000049b24848252865d4 starting delivery 9: msg 1673703 to remote 15959@139.com
@4000000049b248482528718c status: local 0/10 remote 4/20
@4000000049b248482d46c06c delivery 9: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@4000000049b248482d46cc24 status: local 0/10 remote 3/20
@4000000049b2488d386bbf9c new msg 1674247
@4000000049b2488d386bcb54 info msg 1674247: bytes 692 from <test@linpc.com.cn> qp 3190 uid 0
@4000000049b2488d3a80b134 starting delivery 10: msg 1674247 to remote su@163.com
@4000000049b2488d3a80c0d4 status: local 0/10 remote 4/20
@4000000049b248eb3842560c starting delivery 11: msg 1674227 to remote 15959@139.com
@4000000049b248eb3855ce6c status: local 0/10 remote 5/20
@4000000049b248ec00f9f63c delivery 11: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@4000000049b248ec01023784 status: local 0/10 remote 4/20
@4000000049b248f81b2c890c new msg 1674254
@4000000049b248f81b2c98ac info msg 1674254: bytes 338 from <lpc@lpc.com.cn> qp 3258 uid 508
@4000000049b248f81bdc7fec starting delivery 12: msg 1674254 to local lpc.com.cn-test@lpc.com.cn
@4000000049b248f81bdc8f8c status: local 1/10 remote 4/20
@4000000049b248f81d8caca4 delivery 12: success: did_0+0+1/
@4000000049b248f81d8cb85c status: local 0/10 remote 4/20
@4000000049b248f81e0883c4 end msg 1674254

deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
这个错误 是用sqwebmail发送外部邮件时报的错误

论坛徽章:
0
3 [报告]
发表于 2009-03-09 10:48 |只看该作者
ok!!!!问题找到咯!!!
很傻的问题,我用虚拟机装的redhat 然后发送外网邮件的时候,被我的杀毒软件mcafee拦截了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP