免费注册 查看新帖 |

Chinaunix

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

[Mail] qmail 服务器队列被塞满,发送邮件延迟5小时 求助! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-05-07 19:22 |只看该作者 |倒序浏览
5.1黄金周前公司同事反映说邮件发送出去后对方收不到,后来我在过节期间测试的确存在这个问题
就是发送给sina或163发送出去后短时间收不到延迟了好几个小时才收到,但是接受邮件没有问题短时间
就能收到。
后来察看maillog发现 remote 队列总是满满的! 公司节假日都休息根本没有什么业务邮件,怎么队列会是满的呢?如果是垃圾邮件造成的话 该如何去应对呢? 谢谢指教 下面是一段maillog
May  6 04:59:59 localhost qmail: 1178398799.741474 new msg 4162108
May  6 04:59:59 localhost qmail: 1178398799.742027 info msg 4162108: bytes 18865 from <yslcbitr@tzkbgkuw.net> qp 31170 uid 0
May  6 04:59:59 localhost qmail: 1178398799.747392 starting delivery 140808: msg 4162108 to local nihin.com.cn-yanglm@nihin.com.cn
May  6 04:59:59 localhost qmail: 1178398799.747737 status: local 1/40 remote 40/40
May  6 04:59:59 localhost qmail: 1178398799.765246 delivery 140808: failure: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
May  6 04:59:59 localhost qmail: 1178398799.765933 status: local 0/40 remote 40/40
May  6 04:59:59 localhost qmail: 1178398799.776128 bounce msg 4162108 qp 31204
May  6 04:59:59 localhost qmail: 1178398799.776424 end msg 4162108
May  6 04:59:59 localhost qmail: 1178398799.777083 new msg 4162965
May  6 04:59:59 localhost qmail: 1178398799.777431 info msg 4162965: bytes 19415 from <> qp 31204 uid 507
May  6 05:00:02 localhost qmail: 1178398802.560245 delivery 140799: failure: Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/I'm_not_going_to_try_again;_this_message_has_been_in_the_queue_too_long./
May  6 05:00:02 localhost qmail: 1178398802.560410 status: local 0/40 remote 39/40
May  6 05:00:02 localhost qmail: 1178398802.616035 bounce msg 4166332 qp 31205
May  6 05:00:02 localhost qmail: 1178398802.616179 end msg 4166332
May  6 05:00:02 localhost qmail: 1178398802.617305 starting delivery 140809: msg 4163246 to remote jwz69con@kw.com
May  6 05:00:02 localhost qmail: 1178398802.617446 status: local 0/40 remote 40/40

论坛徽章:
0
2 [报告]
发表于 2007-05-07 22:45 |只看该作者
奇怪的是我看6号晚上的log就算到了半夜remote 还是 40/40
May  6 23:48:06 localhost qmail: 1178466486.427454 info msg 4163545: bytes 2713 from <> qp 23062 uid 507
May  6 23:48:14 localhost qmail: 1178466494.255318 delivery 160768: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
May  6 23:48:14 localhost qmail: 1178466494.255475 status: local 0/40 remote 39/40
May  6 23:48:14 localhost qmail: 1178466494.255511 starting delivery 160801: msg 4162030 to remote zlqcynwyd@3k1.com
May  6 23:48:14 localhost qmail: 1178466494.255539 status: local 0/40 remote 40/40
May  6 23:48:18 localhost qmail: 1178466498.271254 new msg 4163496
May  6 23:48:18 localhost qmail: 1178466498.271407 info msg 4163496: bytes 18433 from <srcriroer@thomas-vt.de> qp 23082 uid 0
May  6 23:48:18 localhost qmail: 1178466498.277455 starting delivery 160802: msg 4163496 to local nihin.com.cn-jpop.163.comhanlucy@nihin.com.cn
May  6 23:48:18 localhost qmail: 1178466498.277591 status: local 1/40 remote 40/40
May  6 23:48:18 localhost qmail: 1178466498.298294 delivery 160802: failure: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
May  6 23:48:18 localhost qmail: 1178466498.298451 status: local 0/40 remote 40/40
May  6 23:48:18 localhost qmail: 1178466498.309390 bounce msg 4163496 qp 23090
May  6 23:48:18 localhost qmail: 1178466498.309532 end msg 4163496

到了7号晚上8点后左右又降了下来,然后邮件发送恢复正常
May  7 21:57:53 localhost qmail: 1178546273.128969 new msg 4162870
May  7 21:57:53 localhost qmail: 1178546273.133729 info msg 4162870: bytes 4097 from <> qp 12782 uid 507
May  7 21:57:53 localhost qmail: 1178546273.135988 starting delivery 4364: msg 4162870 to remote immodestlymishapped@veryfast.biz
May  7 21:57:53 localhost qmail: 1178546273.141860 status: local 0/40 remote 20/40
May  7 21:58:01 localhost qmail: 1178546281.177287 delivery 4364: failure: 66.111.4.72_does_not_like_recipient./Remote_host_said:_550_5.1.1_<immodestlymishapped@veryfast.biz>:_Recipient_address_rejected:_User_unknown_in_local_recipient_table/Giving_up_on_66.111.4.72./
May  7 21:58:01 localhost qmail: 1178546281.193342 status: local 0/40 remote 19/40
May  7 21:58:01 localhost qmail: 1178546281.330194 bounce msg 4162870 qp 12786
May  7 21:58:01 localhost qmail: 1178546281.330349 end msg 4162870
May  7 21:58:01 localhost qmail: 1178546281.341902 new msg 4162015
May  7 21:58:01 localhost qmail: 1178546281.342222 info msg 4162015: bytes 4709 from <#@[]> qp 12786 uid 507
May  7 21:58:01 localhost qmail: 1178546281.348002 starting delivery 4365: msg 4162015 to local nihin.com.cn-postmaster@nihin.com.cn
May  7 21:58:01 localhost qmail: 1178546281.348186 status: local 1/40 remote 19/40
May  7 21:58:01 localhost qmail: 1178546281.936182 delivery 4365: failure: user_is_over_quota/
May  7 21:58:01 localhost qmail: 1178546281.937194 status: local 0/40 remote 19/40
May  7 21:58:01 localhost qmail: 1178546281.937455 triple bounce: discarding bounce/4162015
May  7 21:58:01 localhost qmail: 1178546281.937834 end msg 4162015

[ 本帖最后由 nisshinzgz 于 2007-5-7 22:48 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2007-05-08 09:06 |只看该作者
qmail-qstat

qmail-qread

是什么结果?

论坛徽章:
0
4 [报告]
发表于 2007-05-08 09:44 |只看该作者
[root@localhost root]# qmail-qstat
-bash: qmail-qstat: command not found
[root@localhost root]# qmail-qread
-bash: qmail-qread: command not found

晕了 这两个命令居然不管用
奇怪的是到目前位置队列比较正常

May  8 09:54:11 localhost qmail: 1178589251.701821 new msg 4163891
May  8 09:54:11 localhost qmail: 1178589251.701972 info msg 4163891: bytes 11707 from <> qp 8280 uid 0
May  8 09:54:11 localhost qmail: 1178589251.708931 starting delivery 13080: msg 4163891 to remote hmariana@2friend.com
May  8 09:54:11 localhost qmail: 1178589251.709070 status: local 0/40 remote 15/40
May  8 09:54:11 localhost qmail: 1178589251.709107 delivery 13079: success: 0.0.0.0_accepted_message./Remote_host_said:_250_ok_1178589251_qp_8280/
May  8 09:54:11 localhost qmail: 1178589251.709137 status: local 0/40 remote 14/40
May  8 09:54:11 localhost qmail: 1178589251.709163 end msg 4163887
May  8 09:54:11 localhost qmail: 1178589251.814090 delivery 13080: failure: 0.0.0.0_failed_after_I_sent_the_message./Remote_host_said:_554_too_many_hops,_this_message_is_looping_(#5.4.6)/
May  8 09:54:11 localhost qmail: 1178589251.814246 status: local 0/40 remote 13/40
May  8 09:54:11 localhost qmail: 1178589251.822881 bounce msg 4163891 qp 8284
May  8 09:54:11 localhost qmail: 1178589251.823021 end msg 4163891

[ 本帖最后由 nisshinzgz 于 2007-5-8 10:08 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2007-05-08 10:22 |只看该作者
你不知道如何运行/var/qmail/bin中的命令?

论坛徽章:
0
6 [报告]
发表于 2007-05-08 10:45 |只看该作者
那你可以运行如下命令看看
# qmailctl stat
# qmailctl queue

论坛徽章:
0
7 [报告]
发表于 2007-05-08 11:06 |只看该作者
实在不好意思我的确很菜 刚才又试了一下
[root@localhost bin]# ./qmail-qstat
messages in queue: 2120
messages in queue but not yet preprocessed: 0

qmail-qread里面信息太多 只能截了一部分
6 May 2007 08:58:17 GMT  #4163395  10455  <>
        remote  GyFpMNcm@pax.kmip.net
6 May 2007 11:19:21 GMT  #4163418  2625  <>
        remote  dilltownh@getmoreincomes.com
6 May 2007 11:52:41 GMT  #4163441  2770  <>
        remote  dnreceptor@merchandisedepot.itcstore.com
6 May 2007 13:10:11 GMT  #4163464  17866  <>
        remote  raynerlucasab@johnpryor.com
6 May 2007 13:45:26 GMT  #4163487  4282  <>
        remote  BasilReese95@aol.com
6 May 2007 14:25:36 GMT  #4163510  2706  <>
        remote  yncensor@net-design-ac.de
6 May 2007 16:33:04 GMT  #4163556  8881  <>
        remote  hhkj@jhjhyt.88ip.cn
6 May 2007 15:51:48 GMT  #4163533  2636  <>
        remote  lnun@ajkanet.hu
7 May 2007 14:33:02 GMT  #4162015  3991  <>
        remote  vsgkejbqzkp@aol.com
6 May 2007 17:44:14 GMT  #4163602  2761  <>
        remote  hfprospectus@daydayupemails.com
7 May 2007 14:53:18 GMT  #4163671  6431  <>
        remote  hidhfi@ff344.dipns.net


另外qmailctl 没找到

[ 本帖最后由 nisshinzgz 于 2007-5-8 11:15 编辑 ]

论坛徽章:
0
8 [报告]
发表于 2007-05-08 11:16 |只看该作者
队列中2000多,你有多少用户?

应该是不正常的状态。

你的无主邮件反弹没有关闭估计。打CHKUSER补丁,等

论坛徽章:
0
9 [报告]
发表于 2007-05-08 11:22 |只看该作者
我一共才 60来个用户
我的邮件反弹是没有关闭
要把.qmail-default 改成这样吗 ?
| /home/vpopmail/bin/vdelivermail '' delete

论坛徽章:
0
10 [报告]
发表于 2007-05-08 11:56 |只看该作者
qmail-remove这个可有用了
你google一下
找来
用它来清空一个邮件队列
清空这前要先停了qmail才行
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP