OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Austad, Jay (austadmarketwatch.com)
Date: Thu Dec 06 2001 - 11:03:26 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    It is in the FAQ. You didn't look well enough.

    Deleting a message from the Postfix queue
    As of Postfix version 20010502, the postsuper command has an option to
    delete Postfix message queue files. To delete the message with queue id
    ABCDEF, perhaps obtained from mailq output, one would use:

    # postsuper -d ABCDEF

    To delete a large number of files one would use:

    # postsuper -d - < filename-with-queue-ids

    It is usually safe to do this while the Postfix system is running. However,
    there is a small chance of deleting the wrong queue file. The scenario goes
    like this:

    The Postfix queue manager deletes the file that postsuper was supposed to
    delete, because Postfix was finished with the message.

    New mail arrives, and the new message is given the same queue ID as the
    message that postsuper was supposed to delete. The probability for reusing a
    deleted queue ID is about 1 in 215 (the number of different microsecond
    values that the system clock can distinguish).

    postsuper deletes the new message file, instead of the old file that should
    have been deleted.

    > -----Original Message-----
    > From: Rodney Green [mailto:rgreentrayerproducts.com]
    > Sent: Thursday, December 06, 2001 10:59 AM
    > To: postfix-userspostfix.org
    > Subject: queue
    >
    >
    > Postfix-20010228-pl08
    >
    > Can someone please post how to delete a message from the mail
    > queue again. I lost the e-mail message I had which contained
    > the instructions.
    >
    > Can whomever edits the site please add this invaluable info
    > to the FAQ on postfix.org.
    >
    > Thanks,
    > Rod
    >
    > -
    > To unsubscribe, send mail to majordomopostfix.org with
    > content (not subject): unsubscribe postfix-users
    >
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users