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.
- Re: mutt and mh/procmail Phil Staub
- Introduction to Maildir (was Re: mutt and mh/... Bennett Todd
- Re: Introduction to Maildir (was Re: mutt and... Phil Staub
- Re: Introduction to Maildir (was Re: mutt and... Bennett Todd
- Re: Introduction to Maildir (was Re: mutt and... Mikko H�nninen
- Re: Introduction to Maildir (was Re: mutt and... Benjamin Korvemaker
- Re: Introduction to Maildir (was Re: mutt and... Aaron Schrab
- Re: Introduction to Maildir (was Re: mutt and... Benjamin Korvemaker
- Re: Introduction to Maildir (was Re: mutt and... Bennett Todd
- Re: Introduction to Maildir (was Re: mutt and... Philip Guenther
- Re: Introduction to Maildir (was Re: mutt and... Mikko H�nninen
- Re: Introduction to Maildir (was Re: mutt and... Philip Guenther
- Re: Introduction to Maildir (was Re: mutt and... David W. Tamkin
- Re: mutt and mh/procmail Conrad Sabatier
- Re: mutt and mh/procmail Bennett Todd
- Re: mutt and mh/procmail Doug Wellington
- Re: mutt and mh/procmail Bennett Todd
- Re: mutt and mh/procmail Mikko H�nninen
- Re: mutt and mh/procmail Thomas Roessler
- Re: mutt and mh/procmail Conrad Sabatier
- Re: mutt and mh/procmail Mikko H�nninen
