Results 1 to 5 of 5

Thread: Qmail recover queue

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Qmail recover queue

    I had a problem patching qmail and it stopped to work for several hours, it did recieved the messages but didn't delivered it. Now I have a mail queue of 2,000 messages, the qstat command gives me the number but the qmail-qread shows nothing on queue.

    I do see all the files on the /var/qmail/queue folders.

    How can I re-enqueue the missing messages to be delivered?

    Thanks

  2. #2
    Senior Member
    Join Date
    Jul 2006
    Posts
    188
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    9

    Default

    Did you tried qmailctl doqueue;qmailctl flush

  3. #3
    Junior Member
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Thanks for your answer.
    I tried to run the doqueue command but it seems it's not enabled on my qmail version?

    /etc/init.d/qmail doqueue
    Usage: /etc/init.d/qmail {start|stop|status|reload|condrestart|restart}

    I have RHES with Plesk 8.6
    2.6.18-92.1.1.el5PAE

    I dont have the qmailctl file on server

    Thanks for your help

  4. #4
    Junior Member
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    with a deeper analize on the problem I got my pending queue messages are on the todo folder:

    --
    qmqtool -s
    Messages in local queue: 0
    Messages in remote queue: 36
    Messages in todo queue: 1863
    --

    So I checked the var/qmail/todo folder and found the messages are in main folder but not on the hash subfolder (0 to 22). it is also true for intd folder

    find . -name 39748569
    ./todo/39748569
    ./mess/15/39748569
    ./intd/39748569

    in the previous example, the mail message is on folder 15, but is not on todo and intd folder 15.

    Should I move its corresponding innode files fro todo and intd to its corresponding folder?

    or how could I ask qmail to start the queueing process again?

    Thanks

  5. #5
    Junior Member
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    It worked!
    I solved the issue.
    I moved the files from the todo folder to its corresponding number mail folders. I used find to locate each one, restarted qmail and all mail were sent.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sendmail queue - display number of messages per domain
    By asim.mcp in forum Mail Servers
    Replies: 4
    Last Post: 20th September 2011, 09:08 PM
  2. Playing With Postfix Queue
    By foreplayboy@gmail.com in forum Mail Servers
    Replies: 0
    Last Post: 5th March 2011, 02:18 PM
  3. Script to release a held mail frompostfix queue ?
    By shqnayaz in forum CentOS / RHEL / Fedora
    Replies: 2
    Last Post: 11th October 2010, 12:48 PM
  4. Replies: 3
    Last Post: 11th August 2009, 11:31 PM
  5. How to improve mail queue performance?
    By nishith in forum Mail Servers
    Replies: 1
    Last Post: 27th March 2009, 08:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •