On Wed, Mar 01, 2000 at 03:34:48PM -0500, Bennett Todd wrote:
>
> Here's a pretty safe maildir writer. Djb has some more rules for
> further paranoia; but the real world is not likely to bite you if
> you deliver messages like this. Written in Bourne Shell, but of
> course it codes into very lean, tight code in most any language.
>
> f=`date +%s`.$$.`hostname`
> cd $maildir
> cat >tmp/$f
> mv tmp/$f new/
>
> -Bennett
Sorry for the bonehead question, but, assuming you were going to use
this written as is (i.e., in Bourne shell) how would this be
incorporated into a procmail recipe? Would you literally put this in
the .procmailrc file, or write a shell script and invoke it from
.procmailrc?
Thanks,
Phil
--
Phil Staub Dragonfly Software Consulting Company.
[EMAIL PROTECTED] 8196 SW Hall Blvd, Suite 104
503-641-3440 x33 Beaverton, OR 97008
"Unix: because reboots are for hardware upgrades!"