Hi Sam,
> 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.
As you may have seen my other posts, there is some problem with these messages. It has been 5 days and mailq still reports them as being in the queue, while at the same time cancelmsg reports the message as "not found".
I already explained this to you: the message is already marked for cancellation, so cancelmsg indicates that accordingly.
hopes of "clearing up" this problem. But these messages refuse to be removed from mailq, and seem to be repeatedly retried at the appropriate retry schedule.
What probably happens is that the "retry" consists of trying to generate a bounce for the cancelled message, which fails.
You can start by showing the actual mail logs of each such attempt.
pgp00000.pgp
Description: PGP signature
