On Fri, Sep 07, 2001 at 11:56:14PM +0800 or thereabouts, Juan Miguel Cacho wrote:
> En Fri, Sep 07, 2001 at 11:22:47PM +0800, Rino Mardo escribio:
> #_ now that i have postfix as my mta, how do you manage it's queue?
> #_ with exim i have "exim -Mrm <id>" to remove a message but i couldn't find its
> #_ equivalent in postfix.
> 
> Depends on the version of your postfix. The newer ones have the
> postsuper -d <id> command. Use mailq to find the <id>.
> 
> If your version of postfix does not have the postsuper -d option you'll
> have to use the longcut method.
> 
> find /var/spool/postfix -name "<id>" -print | sed 1q | xargs rm
> 
> For more information check out the postfix docs in
> /usr/share/doc/postfix-<version>/html/faq.html and also
> 
> /usr/share/doc/postfix-<version>/html/index.html
> 
i have the latest postfix, of the day i downloaded it, which is
"postfix-20010228-pl04".  i found the postsuper command but there is no "-d"
option. if you have the "-d" option and i don't then postfix is not consistent
when it comes to command structure.  the "sender-canonical" was even removed
from "main.cf" and in the samples although it is mentioned in the docs.

anyway, i used the long method to remove some queues.  thanks guys!

-- 
"In is out, out is in; but out is out, and in is in"  - Pumbaa

PGP signature

Reply via email to