procmail
[Top] [All Lists]

how to check incoming mail per Date field

1995-12-07 08:49:13
   
I would like to set up my procmailrc to save 
yesterdays mail to DATE.mbox.  I came up with the
variable CURRENT_DATE='date +%a, %d %h 19%y'.  Will
the following sort yesterdays' mail to DATE.mbox?:

CURRENT_DATE='date +%a, %d %h 19%y'
MBOX_DATE='date +%y%m%d'

:0
* ^Date:.* < CURRENT_DATE
$MAILDIR/${MBOX_DATE}_mbox


Reading the PROCMAILEX(5) yielded nothing directly related

Thanks in advance
danielt(_at_)susq(_dot_)com

----- End Included Message -----

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