Koozali.org: home of the SME Server

Continue have problems with the mail queue

romanquin

Continue have problems with the mail queue
« on: August 30, 2006, 07:19:54 PM »
I already have intalled the qmHandle but I cotinue have many a lot  queue message.

can somebody  tell me what is the reason taht the e-mail goes to the queue mail?

When I select the option try to send queued messeges the Qmail queue management, It doesn´t do anything.

Can you help tell me who to delete this queue messages by the command line?

Offline mmccarn

  • *
  • 2,627
  • +10/-0
Continue have problems with the mail queue
« Reply #1 on: August 31, 2006, 04:00:13 AM »
I've seen large amounts of mail in the remote queue from three sources:
    1. clients who send mass emails through a SME server (2000 recipients)
    2. SME servers trying to bounce messages for non-existent users, and
    3. SME servers trying to deliver lots of email to an overloaded "Internal" mail server.

Run this command:
# qmHandle -R | grep From: | less

In the first & third cases, the queue will list valid local email addresses in the "From: " field:

In the second case, the "From:" field will be "MAILER-DAEMON" for many messages.

If you have lots of messages "From: MAILER-DAEMON":

1. Create a user account named "bounces"
2. Change E-mail to unknown users from "Return to sender" to "Send to bounces" (E-Mail, Change e-mail delivery settings)
3. Check to see if your version of qmHandle supports "delete by Subject":
# qmHandle
look for a line in the results saying:
"-Stext  : delete all messages that have/contain text as Subject"
4. If you see the "-Stext" line, delete the existing failure notices from the queue using
# qmHandle -S"failure notice"

(Note: I have two versions of qmHandle running: v1.0.0 and v1.2.0. Version 1.2.0 supports "-Stext"; version 1.0.0 does not).