Re: [exim] -Mrm

Pàgina inicial
Delete this message
Reply to this message
Autor: Christopher Chaduka
Data:  
A: exim-users
CC: Ron McKeating, David S. Madole
Assumpte: Re: [exim] -Mrm
On Friday 07 January 2005 17:24, Ron McKeating wrote:
> 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.
>
> Any thoughts
>
> Ron


Any chance the Exim binary is looking somewhere else for the spool directory?

Use exim -be to test the value of $spool_directory

--
Christopher Chaduka
Technical Department
MWEB Zimbabwe (Pvt) Ltd
Tel: (+263) (4) 253333
Fax: (+263) (4) 708055
http://www.mweb.co.zw