PDA

View Full Version : unable to delete mail in mail queue


hvrossum
19th March 2009, 18:42
Hi,

I have installed a postfix mail queue following the howto the Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10) w/ISPConfig
Unfortunately I do seem to be able to delete mail out the mailqueue

Any idea what I am doing wrong.

I am using webmin 1.441

Leszek
19th March 2009, 19:04
You can see mail in the queue by entering:
postqueue -p
and flush all mail in the queue by entering:
postqueue -f

hvrossum
19th March 2009, 21:30
Tried the two commands (as admin on the prompt) but no luck
the queue does not get flushed

Leszek
20th March 2009, 00:38
If I understand You correctly now You know that there is mail in the queue ? Or is it empty ?
What do the mail logs say ? Any errors ?

hvrossum
20th March 2009, 16:27
the mail remains in the queue.
in the Mail.err log file I see this

Mar 19 15:23:00 ubuntu-mussormanagement postfix/postqueue[7326]: fatal: usage: postqueue -f | postqueue -i queueid | postqueue -p | postqueue -s site
Mar 19 15:23:10 ubuntu-mussormanagement postfix/postqueue[7329]: fatal: usage: postqueue -f | postqueue -i queueid | postqueue -p | postqueue -s site

falko
21st March 2009, 21:49
To delete all mails in the queue, run
postsuper -d ALL

hvrossum
22nd March 2009, 17:05
Thanks that did the trick