procmail
[Top] [All Lists]

RE: adding the headers of all messages

2002-10-17 11:03:04


-----Original Message-----
From: Nikolaus Hiebaum [mailto:news(_at_)hiebaum(_dot_)org] 


Thanks for pointing out the trailing colon.

I don't know why I didn't think of that earlier, but I am 
already using a
neat way to put the date on files through procmail.

So, here's what works:
D=`date '+%m%Y'`
:0 hwc:
* !^FROM_MAILER
| gzip -9 >> backup/headc_${D}.gz

You're welcome.  And I'm glad that works for you.  I
still maintain that it's wasteful, though, to call
date for every mail you get when the information is
valid for a month at a time.  Consider having cron
update that information, too.

Regards,
dman

-- 
Dallman Ross

"If you find a path with no obstacles, it probably does not lead to
anywhere."
        Thoughts of Rev. Sunnan Kubose, from _Zen in the Markets_ 

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>