Re: [courier-users] how to delete messages from mailq?

2008-10-19 Thread Jérôme Blion
[EMAIL PROTECTED] a écrit : >> I have my mailq filled with about 2500 messages, but I want to discard >> them all. The cancelmsg command requires a msgid, there's no way to >> wildcard. >> > > You can use this simple shell script to cancel any message in the queue > with Courier's cancelmsg co

Re: [courier-users] how to delete messages from mailq?

2008-10-19 Thread dino
> I have my mailq filled with about 2500 messages, but I want to discard > them all. The cancelmsg command requires a msgid, there's no way to > wildcard. You can use this simple shell script to cancel any message in the queue with Courier's cancelmsg command, all on one single line: for i in `m

Re: [courier-users] how to delete messages from mailq?

2008-10-19 Thread Sam Varshavchik
Ricardo Kleemann writes: Hi, I have my mailq filled with about 2500 messages, but I want to discard them all. The cancelmsg command requires a msgid, there's no way to wildcard. That's what shell scripts are for. Can I simply delete directories under /var/lib/courier/msgq and /var/lib/couri

Re: [courier-users] how to delete messages from mailq?

2008-10-19 Thread Tim Lyth
I've done that before and it was successful. YMMV. Ricardo Kleemann wrote: > Hi, > > I have my mailq filled with about 2500 messages, but I want to discard > them all. The cancelmsg command requires a msgid, there's no way to > wildcard. > > Can I simply delete directories under /var/lib/courier/m

[courier-users] how to delete messages from mailq?

2008-10-19 Thread Ricardo Kleemann
Hi, I have my mailq filled with about 2500 messages, but I want to discard them all. The cancelmsg command requires a msgid, there's no way to wildcard. Can I simply delete directories under /var/lib/courier/msgq and /var/lib/courier/msgs? Thanks Ricardo ---