Sorry, I'm new here and I'm not sure if this was the appropriate forum to ask in, but I tried
So, because I've never had a problem with it, I've never checked my Exim queue... however a couple problems lead me to check today, and there was an outrageous 919,000 mail messages in queue, and all of them seemed to relate to a single spam message. I'm still unsure how this happened, but I do know that I want to completely empty out my queue.
However, the only method I've found to do this is
exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | sh
But this only deletes like 1000 or so at a time, and then it just stops. I have SO many more mail messages in queue than that, and I need to delete them without having to execute this command another 900 more times... can anyone help me out with this?
Here's an excerpt of what almost all of the mail message are like, if anyone could help me figure out why they've stayed in my queue for up to 31 days.
Quote:
1Bwh0e-0006nR-Uf-H
mailnull 47 12
<>
1092660884 0
-ident mailnull
-received_protocol local
-body_linecount 29
-frozen 1092660885
-localerror
XX
1
fromaddress@editedforpost.com
167P Received: from mailnull by <my server> with local (Exim 4.34)
id 1Bwh0e-0006nR-Uf
for fromaddress@editedforpost.com; Mon, 16 Aug 2004 06:54:44 -0600
040 X-Failed-Recipients: <recipient>
031 Auto-Submitted: auto-generated
066F From: Mail Delivery System <Mailer-Daemon@<my server>>
039T To: <another recipient>
059 Subject: Mail delivery failed: returning message to sender
055I Message-Id: <E1Bwh0e-0006nR-Uf@<my server>>
038 Date: Mon, 16 Aug 2004 06:54:44 -0600
1Bwh0e-0006nR-Uf-D
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
<recipient>
retry time not reached for any host after a long failure period
------ This is a copy of the message, including all the headers. ------
Return-path: <someemail@editedforpost.com>
Received: from [218.14.12.6] (helo=creeper)
by myserver.com with asmtp (Exim 4.34)
id 1BvsKB-0000Dt-Ly
for recipient@editedforpost.com; Sat, 14 Aug 2004 00:47:32 -0600
From: "Stella Hicks"<fromaddress@editedforpost.com>
To: recipient@editedforpost.com
Subject: C||IA|'1S & 1EVl'TRA---HU$GElI|Y SAV|NGS COMPARED T0 V|I1A_GRA !
Mime-Version: 1.0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
email content here, just useless spam so I cut it out
|