Mail Not Routing, stuck in /var/spool/mqueue.in
Keith Edmunds
keith at MIDNIGHTHAX.COM
Wed Sep 3 23:42:27 IST 2003
On Wed, 3 Sep 2003 14:18:47 -0500
"Furnish, Trever G" <TGFurnish at HERFF-JONES.COM> wrote:
> for file in `find /var/spool/mqueue.in -type f`;
> do
> mv $file /var/spool/mqueue
> done
>
> Be sure you get the quotes right aound the find command - they're
> "backticks", ie backwards apostrophes, not double-quotes or
> apostrophes.
There's nothing wrong in what you have written at all, but sometimes it
is easier for others to read if you use the alternative syntax:
for file in $(find /var/spool/mqueue.in -type f);
do
mv $file /var/spool/mqueue
done
- saves all that hassle with precisely _which_ key is the backtick.
--
Keith Edmunds
More information about the MailScanner
mailing list