unable to delete mail in mail queue

Discussion in 'Server Operation' started by hvrossum, Mar 19, 2009.

  1. hvrossum

    hvrossum New Member

    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
     
  2. Leszek

    Leszek Member

    You can see mail in the queue by entering:
    Code:
    postqueue -p
    and flush all mail in the queue by entering:
    Code:
    postqueue -f
     
  3. hvrossum

    hvrossum New Member

    Tried the two commands (as admin on the prompt) but no luck
    the queue does not get flushed
     
  4. Leszek

    Leszek Member

    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 ?
     
  5. hvrossum

    hvrossum New Member

    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
     
  6. falko

    falko Super Moderator Howtoforge Staff

    To delete all mails in the queue, run
    Code:
    postsuper -d ALL
     
  7. hvrossum

    hvrossum New Member

    Thanks that did the trick
     

Share This Page