procmail
[Top] [All Lists]

Re: Converting mmm to mm

2004-02-05 14:07:55
On 04 Feb 2004, at 14:30, Robert Arnold wrote:
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's what I do normally, but this particular recipe is for sorting archived mail

--
No man is free who is not master of himself


_______________________________________________
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>