yann@??? said:
> Not too hard to write a perl script that would do the same thing...
> BTW, don't cut and paste the above, it is untested ;>
Ding! recipients aren't on the same line as the frozen.
mailq | \
perl -00 -ne 'if (/\*frozen\*/&&/addr/) {@x=split;print "$x[2]\n";}'
|\
xargs /usr/sbin/exim -Mrm
put your wanted regexp in place of "addr" - best try it first without
the xargs phrase.
[however I did roughly test it]
Nigel.
--
[ - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000 Fax +44 1423 858866 ]