Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

help -- need to filter/flush spam out of my queue

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


jawad at jaguarpc

Nov 25, 2009, 10:09 AM

Post #1 of 3 (683 views)
Permalink
help -- need to filter/flush spam out of my queue

Hi,

I am managing a cPanel server where someone has uploaded a script that
flooded the queue with spam messages. There are currently around 10000
messages in the queue and each msg ID has a random sending address and
different sending domains but recipient addresses have a pattern. All
recipient addresses are @mail.ru addresses.
I do not want to flush the entire queue since there are valid emails as
well, can anybody tell me a command that will remove all emails from the
queue sent to @mail.ru addresses.
--
View this message in context: http://old.nabble.com/help----need-to-filter-flush-spam-out-of-my-queue-tp26517657p26517657.html
Sent from the Exim Users mailing list archive at Nabble.com.


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


eximX0902w at linuxwan

Nov 26, 2009, 4:58 AM

Post #2 of 3 (631 views)
Permalink
Re: help -- need to filter/flush spam out of my queue [In reply to]

On Wed, 2009-11-25 at 10:09 -0800, chuza wrote:
> I am managing a cPanel server where someone has uploaded a script that
> flooded the queue with spam messages. There are currently around 10000
> messages in the queue and each msg ID has a random sending address and
> different sending domains but recipient addresses have a pattern. All
> recipient addresses are @mail.ru addresses.
> I do not want to flush the entire queue since there are valid emails as
> well, can anybody tell me a command that will remove all emails from the
> queue sent to @mail.ru addresses.

Never used it before but a "man exipick" gave me the answer pretty quick

exipick -i '$each_recipients = mail.ru' | exgars exim -Mrm

Possibly. I don't actually have anything in a queue to test it on.

You might might want to look into ratelimit on submissions to prevent
the situation again.


--
The Exim manual - http://docs.exim.org


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


wbh at conducive

Nov 26, 2009, 6:43 AM

Post #3 of 3 (637 views)
Permalink
Re: help -- need to filter/flush spam out of my queue [In reply to]

Ted Cooper wrote:
> On Wed, 2009-11-25 at 10:09 -0800, chuza wrote:
>> I am managing a cPanel server where someone has uploaded a script that
>> flooded the queue with spam messages. There are currently around 10000
>> messages in the queue and each msg ID has a random sending address and
>> different sending domains but recipient addresses have a pattern. All
>> recipient addresses are @mail.ru addresses.
>> I do not want to flush the entire queue since there are valid emails as
>> well, can anybody tell me a command that will remove all emails from the
>> queue sent to @mail.ru addresses.
>
> Never used it before but a "man exipick" gave me the answer pretty quick
>
> exipick -i '$each_recipients = mail.ru' | exgars exim -Mrm
>
> Possibly. I don't actually have anything in a queue to test it on.
>
> You might might want to look into ratelimit on submissions to prevent
> the situation again.
>
>

Presuming none of the 'legitimate' messages are for @mail.ru, I'd be sore
tempted to stop the queue runner, add a manual route to /dev/null for that
domain.tld, restart exim, and let nature take its course at its own sweet pace.

Meanwhile, back at the ranch - disable response to such scripts, require any
client who thinks they need one to vet it with mailadmin / sysadmin first....or
something similarly clue-bat-ish that lets you regain control at the input side
instead of the output side.

Bill



--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.