Philip Guenther <[EMAIL PROTECTED]> wrote on Sat, 04 Mar 2000:
> However, since you're trusting for $XXX to be unique, you might as well
> go all the way and save two processes (a shell and the cat) by saving
> the message directly:
> 
>       :0
>       * conditions
>       {
>           :0
>           foldername/tmp/$XXX
> 
>           :0 ai
>           |mv foldername/tmp/$XXX foldername/new/$XXX
>       }

This has the problem that message files within maildirs are not supposed
to have the leading "From ", which this will create.  Not a big problem
in practice probably, but a violation of the standard anyway.  And you
likely can't get rid of the "From " with just procmail anyway, you'd
need some other tool for that (I haven't investigated this).


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Bumper sticker: Cover me.  I'm changing lanes.

Reply via email to