On Fri, 9 Apr 1999, Paul Mansfield wrote:
>
> This script:
> ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/Contrib/scripts/one-line-queuelist
>
> basically takes the output of "exim -bp" and, for each message, appends all the
> recipients onto the one line.
>
> This is useful since you can then take a queue listing and freeze/thaw/cancel
> or remove mail with specified recipients. The normal split-line listing makes
> it much harder to do this. [Or am I doing something wrong?]
Noted, but if you were writing a script to do such things, it is easy
enough in Perl to suck in the -bp output one message at a time, because
they are delimited by blank lines and Perl can be made to operate in
"paragraph mode". That way, you preserve the \n characters, which could
be useful delimiters.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***