I have a recipe that gets the date from a messages' received header and
then sorts it into a mailbox based on the month and year. trouble is,
the date in the received header is
(J(an|u[ln])|Feb|Ma[ry]|A(pr|ug)|Sep|Oct|Nov|Dec)
and I want the folder to be:
2003-05 instead of 2003-May
Is it necessary to extract the date from the received header, or can
you just accept the month/year of processing via procmail? That
would make it more manageable, because you could just:
:0:
* (whatever)
folder.`date +%Y-%m`
--
Robert Arnold
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail