hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Exim issue
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Exim issue

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-15-2004, 06:08 PM
CaseLogic CaseLogic is offline
New Member
 
Join Date: Sep 2004
Posts: 2

Exim issue


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

Reply With Quote


Sponsored Links
  #2  
Old 09-15-2004, 06:10 PM
CaseLogic CaseLogic is offline
New Member
 
Join Date: Sep 2004
Posts: 2
Also, if anyone knows where else I might be able to find help on this issue, that would be useful information as well It's vital that I figure this stuff out for the sake of my webserver/service

Reply With Quote
  #3  
Old 09-15-2004, 08:39 PM
farpost farpost is offline
Junior Guru
 
Join Date: Jul 2004
Location: Vladivostok, Russia
Posts: 211
1. disable the account, spam has came thru or disalbe relay

2. switch exim queue to another temporary directory (exim.conf):
spool_directory = /var/spool/exim_tmp

3. remove spam at the queue directory
http://www.webhostingtalk.com/archiv.../183193-1.html

4. copy exim.conf (with temp queue) to exim.conf.tmp

5. restore queue directory back (at exim.conf)

6. Send mails from temporary queue
exim -qff -C /etc/exim.conf.tmp
exim -q1h -C /etc/exim.conf.tmp

__________________
http://bandwidth-control.net
Farpost Inc.
IT outsourcing by certified professionals.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
PayPal UK IPN Issues Impact Web Hosts, Users Web Hosting News 2013-02-01 09:34:43
A Look at the New WHM Interface in Version 11.34 of the cPanel Hosting Control Panel Web Hosting News 2012-11-12 12:57:03
Web Hosting Control Panel cPanel and WHM Version 11.32 Adds Features, Fixes Web Hosting News 2012-04-08 11:51:35
Beyond SOPA / PIPA at SXSW Blog 2012-03-16 15:34:26
cPanel Launches Version 11.32 of Control Panel and Web Host Manager Web Hosting News 2012-02-15 12:46:33


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?