Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 22:27:05

Author Topic: How to clean mail queue  (Read 8790 times)

0 Members and 1 Guest are viewing this topic.

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
How to clean mail queue
« on: 2013-08-10, 19:46:59 »
Code: [Select]
[root@simonov ~]# /var/qmail/bin/qmail-qstat
messages in queue: 270148
messages in queue but not yet preprocessed: 0
I got serious amount of messages on my mail queue, i will check all clients to find who is responsible for this just "Mail per Client" doesn't response because of high amount of mail but anyway how should i clean mail queue by command ?

i found this "/usr/local/lxlabs/lxadmin/bin/misc/qmHandle -D" but not relevant anymore thanks in advance
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to clean mail queue
« Reply #1 on: 2013-08-10, 19:54:05 »
You can delete queue in 'Mail Queue'.

The question is why you have many mail queues. Need inverstigate in 'Mail Queue'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: How to clean mail queue
« Reply #2 on: 2013-08-10, 19:59:15 »
Quote from: "MRatWork"
You can delete queue in 'Mail Queue'.

The question is why you have many mail queues. Need inverstigate in 'Mail Queue'.

but mail Mail Queue also doesn't response i tried already a few time waited for a very long time but don't get result, i will check all clients one by one for sure some of them infected i need to check them and clean but looks like needs to do it manually.

So isn't there any way to clean mail queue by command on ssh? or you suggest to investigate before cleaning?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to clean mail queue
« Reply #3 on: 2013-08-10, 20:30:05 »
You can 'force' deleting with delete all dirs inside /var/qmail/queue/local, /var/qmail/queue/remote and /var/qmail/queue/mess.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: How to clean mail queue
« Reply #4 on: 2013-08-15, 13:54:58 »
Quote from: "MRatWork"
You can 'force' deleting with delete all dirs inside /var/qmail/queue/local, /var/qmail/queue/remote and /var/qmail/queue/mess.

Ok i deleted all files on these folders also i believe that i cleaned all infected files on clients which cause this trouble. But now looks like mail function doesn't work, can't receive or send mail at all. While i make cleaning i kept qmail stopped, now i started it again but still can't send or receive.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to clean mail queue
« Reply #5 on: 2013-08-15, 16:01:53 »
Try 'yum reinstall *-toaster; sh /script/fixmail-all; sh /script/restart-mail'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: How to clean mail queue
« Reply #6 on: 2013-08-15, 17:32:43 »
Quote from: "MRatWork"
Try 'yum reinstall *-toaster; sh /script/fixmail-all; sh /script/restart-mail'.

Perfect! Thanks!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.078 seconds with 22 queries.

web stats analysis