主题: 急,vmail占用资源很多

用top命令查看
8786 vmail     18   0 12456 9648 1156 D  6.7  0.5   0:02.23 deliver
8793 vmail     18   0 12456 9652 1156 D  6.7  0.5   0:02.20 deliver
8790 vmail     18   0 12456 9652 1156 D  3.6  0.5   0:02.10 deliver
8818 vmail     18   0 12456 9652 1156 D  1.1  0.5   0:01.53 deliver
8881 vmail     18   0 11116 9588 1100 D  1.1  0.5   0:00.78 deliver
8819 vmail     18   0 12456 9652 1156 D  0.8  0.5   0:01.54 deliver
8878 vmail     18   0 11116 9592 1100 D  0.8  0.5   0:00.75 deliver
8880 vmail     17   0 11116 9588 1100 D  0.8  0.5   0:00.76 deliver
很多,而且持续时间很久,导致现在无法正常收发邮件
sieve.log日志
deliver(www@moyea.org): Dec 06 22:40:15 Info: msgid=<20101206033229.E851C1D666D8@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:40:19 Info: msgid=<20101206012153.8ECE51C2A294@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:40:19 Info: msgid=<20101206030006.C87FB1D461CF@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:40:27 Info: msgid=<20101205224920.027C81C28D69@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:40:27 Info: msgid=<20101206024119.29219162C5F7@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:41:25 Info: msgid=<20101206030718.D7B76144F4A4@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:41:28 Info: msgid=<20101206010937.7551E1D2A974@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:41:29 Info: msgid=<20101206024119.EAA361D1A631@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:41:29 Info: msgid=<20101206013523.E9EAEFE7BD9@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:42:01 Info: msgid=<20101206010353.EF22A14A8A68@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:42:06 Info: msgid=<20101206031646.19EE51C2D62C@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:42:06 Info: msgid=<20101206020929.83A7314AAF5C@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:42:06 Info: msgid=<20101206020029.CEA3C1D4B5CF@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:42:57 Info: msgid=<20101206023257.C2F5014A85E8@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:43:03 Info: msgid=<20101206025433.765D2146DD02@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:43:04 Info: msgid=<20101206005522.687D2144C8D5@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:43:04 Info: msgid=<20101206062657.918621D52204@mail.moyea.org>: saved mail to INBOX
deliver(www@moyea.org): Dec 06 22:43:04 Info: msgid=<20101206023303.CE4531468D9E@mail.moyea.org>: saved mail to INBOX
www@myea.org这个邮箱在狂收邮件,我查了下,有几十万封,都是些系统发来的邮件,要疯狂了
老大,要怎么解决呀?谢谢

回复: 急,vmail占用资源很多

postqueue -p
48FCBB9EB31      348 Sun Dec  5 20:36:15  apache@mail.moyea.org
                                         2022556557@cingularme.com

47BDB14A9A76      350 Sun Dec  5 20:50:49  apache@mail.moyea.org
                                         2022572040@cingularme.com

445541D457C7      363 Mon Nov 29 18:32:33  apache@mail.moyea.org
                                         6462882128@tmomail.net

447A01D4273C      363 Mon Nov 29 18:39:09  apache@mail.moyea.org
                                         6462885225@tmomail.net

439341529E16      378 Mon Nov 29 10:31:11  apache@mail.moyea.org
                                         6463223588@tmomail.net

49EEDB993B5      386 Sun Dec  5 11:09:45  apache@mail.moyea.org
                                         5713150006@tmomail.net

46769B99836      387 Mon Nov 29 14:24:22  apache@mail.moyea.org
                                         6092336862@tmomail.net

4BE21182B2CC      389 Mon Nov 29 12:33:44  apache@mail.moyea.org
难道是apache给www@moyea.org发邮件?

回复: 急,vmail占用资源很多

这是maillog日志
Dec  6 23:03:45 mail postfix/bounce[10000]: 46904162BBB0: sender non-delivery notification: 63B1C1D19976
Dec  6 23:03:45 mail postfix/qmgr[4024]: 415481D55FCF: from=<apache@mail.moyea.org>, size=347, nrcpt=1 (queue active)
Dec  6 23:03:45 mail postfix/qmgr[4024]: 46904162BBB0: removed
Dec  6 23:03:45 mail postfix/qmgr[4024]: 4F857144A9FB: from=<apache@mail.moyea.org>, status=expired, returned to sender
Dec  6 23:03:45 mail postfix/cleanup[10068]: 6DC391D1A544: message-id=<20101207040345.6DC391D1A544@mail.moyea.org>
Dec  6 23:03:45 mail postfix/bounce[10165]: 4F857144A9FB: sender non-delivery notification: 6DC391D1A544
Dec  6 23:03:45 mail postfix/qmgr[4024]: 98F221D1957E: from=<>, size=2392, nrcpt=1 (queue active)
Dec  6 23:03:45 mail postfix/qmgr[4024]: 4F857144A9FB: removed
Dec  6 23:03:45 mail postfix/error[10105]: 415481D55FCF: to=<2022947490@tmomail.net>, relay=none, delay=108535, delays=108535/0.04/0/0.05, dsn=4.0.0, status=deferred (delivery t
emporarily suspended: host mm3.tmomail.net[66.94.9.228] refused to talk to me: 554 Blocked - see https://support.proofpoint.com/dnsbl-lo … 79.84.130)
Dec  6 23:03:45 mail postfix/qmgr[4024]: 4BE72FE0CA6: from=<apache@mail.moyea.org>, size=387, nrcpt=1 (queue active)
Dec  6 23:03:45 mail postfix/qmgr[4024]: 415481D55FCF: from=<apache@mail.moyea.org>, status=expired, returned to sender
Dec  6 23:03:45 mail postfix/cleanup[10064]: 8C6331D1A546: message-id=<20101207040345.8C6331D1A546@mail.moyea.org>
Dec  6 23:03:45 mail postfix/bounce[10165]: 415481D55FCF: sender non-delivery notification: 8C6331D1A546
Dec  6 23:03:45 mail postfix/qmgr[4024]: 3878D1D183CE: from=<>, size=2511, nrcpt=1 (queue active)

我就搞不清,apache@mail.moyea.org这是从哪里发过来的?

回复: 急,vmail占用资源很多

apache@mail.moyea.org,这里的 mail.moyea.org 是你的服务器的主机名么?如果是的话,应该是你的 web 程序在发送邮件。
检查一下时候可能是某个 web 程序被黑了,被人利用来发送垃圾邮件。而部分垃圾邮件无法顺利发出,退信都发给 apache@mail.moyea.org 了。

回复: 急,vmail占用资源很多

mail.moyea.org是我的主机名,这样查起来就麻烦了,文件太多,查起来要花不少时间

回复: 急,vmail占用资源很多

最好是只开放固定的管理IP进入SSL端口,要不然太危险了,