Ricardo Kleemann writes:

Hi,

I'm confused about the relation between mailq and cancelmsg.

I have a significantly large number of messages that I had
previously "canceled" via cancelmsg, and at the time,
cancelmsg did not indicate any errors.

However, after a number of days these messages (their
message IDs) still appear in mailq, but if I try to "cancel"
them again I get a "Message not found" error.

So why does mailq still show them as being in the queue? I
can't seem to be able to "flush" these messages from mailq.

A cancelled message is removed from the queue at its next delivery attempt. If there's nothing much in the mail queue the message will be removed immediately. Otherwise it may take a little while.

So mailq still shows about 10,000 messages as being in the
queue, even though cancelmsg reports them as "not found"

It should not take a long time to go through a 10,000-message queue. You need to investigate the real reason your mail queue is backed up.

How can I fix this?

Find the real reason why your mail is being processed so slowly.


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to