Autor: Ron McKeating Data: A: David S. Madole CC: Exim-Users \(E-mail\) Assumpte: Re: [exim] -Mrm
On Fri, 2005-01-07 at 10:08 -0500, David S. Madole wrote: > From: "Christopher Chaduka" <cchaduka@???>
> > On Friday 07 January 2005 16:58, Ron McKeating wrote:
> >> is there any way of getting exim -Mrm to delete more than one email.
> >> For
> >> instance if you want to delete all email in the queue for
> >> randomain.net?
> >
> > $ exiqgrep -r randomain.net -i | xargs -l exim -Mrm
>
> Even better, leave the -1 off of xargs. exim -Mrm will handle multiple
> message IDs.
>
> David
>
Hmm thanks for all the tips, I still have a problem though. If I do
/usr/local/exim/bin/exim -Mrm 1COYKP-0003xo-Bj
I get
Spool data file for 1COYKP-0003xo-Bj does not exist
Continuing, to ensure all files removed
Spool read error for 1COYKP-0003xo-Bj-H: No such file or directory
Continuing to ensure all files removed
Message 1COYKP-0003xo-Bj has been removed or did not exist
but if I do
ls /usr/local/exim/spool/input/P/
I get
rw-r----- 1 exim nobody 2914 Nov 1 09:18 1COYKP-0003xo-Bj-D
-rw-r----- 1 exim nobody 1167 Nov 1 09:18 1COYKP-0003xo-Bj-H
So it clearly does exist, but it is not being deleted. Yes I AM root.