Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 10:08:01 +0200
From:      <jan.muenther@nruns.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: Cleaning Postfix queue (was: Qmail on FBSD is flooding)
Message-ID:  <6445542$10585154673f17aa0b25ea32.73238037@config8.schlund.de>

next in thread | raw e-mail | index | archive | help

Hello,

> I just came to think of if there might be a similar script for Postfix to 
> clean and/or check the mail queue? 

To check the mail queue simply run /usr/bin/mailq.
To delete a mail from the queue, run 'postsuper -d queue_id', the ID
being the ID value you got from mailq. 
'postsuper -d ALL' deletes all mail from the queue. 

Read the postsuper manpage.

Cheers, J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6445542$10585154673f17aa0b25ea32.73238037>