On Wednesday 19 May 2004 15:53, Robert Horton wrote:
> My mailq is quite suddenly filled with over 1000 messages to various
> address which, based on the address, are over in tawain. Is there
> anyway to clear the mailq in one fell swoop or do I have to cancelmsg
> <id> for EVERY message?
Shut down courier ('/usr/lib/courier/sbin/courier stop') and then delete
EVERYTHING in the "msgq" and "msgs" directories (not the directories
themselves) in courier's spool directory. That's usually
'/usr/lib/courier/spool' if you compiled directly or '/var/spool/courier' if
you made rpm's. Then restart courier ('/usr/lib/courier/sbin/courier start')
and ALL the messages are gone.
Remember, this will delete all the mail in the queue. So make sure there's
nothing in there that you want delivered because it will disappear.
Jeff Jansen
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users