|
From: Fred B. <ba...@ae...> - 2005-09-30 15:36:23
|
On Fri, 2005-09-30 at 12:59 +1000, Jamie Cameron wrote: > Hi Marcos, > That would be a cool feature, but as far as I know there is no Sendmail command to flush individual messages, so it cannot be done from within Webmin either. > > However, if anyone does know of a way to flush a single message from the command line, I would be glad to include it in Webmin.. According to the 3rd edition Sendmail book from O'Reilly, you can select a subset of queued messages to process. This is on page 462, section 11.8.2.3. You can select by the queue id, recipient, sender or any combination of those options. /usr/sbin/sendmail -qIj8UFRokM015345 or just use a substring /usr/sbin/sendmail -qIj8URok Should flush the message with the queue id of j8UFRokM015345. You can also negate the selection (in Sendmail 8.12 and above) /usr/sbin/sendmail -q\!Ij8UFRokM015345 So, it should be possible in Webmin to select a message and have a flush selected button. Fred -- Fred Bacon <ba...@ae...> Aerodyne Research, Inc. |