procmail
[Top] [All Lists]

Re: Variable destination Inbox file year and month ?

2001-09-03 09:34:41
A couple more quick thoughts. The regular expression variables and the
first condition might need tweaking depending on the format of the
envelope "From " on your system. It might also be prudent to check that
the variables YYYY and MM do hold values before delivering. So the
delivery would look like:

:0:
* ! YYYYY ?? ^^^^
* ! MM ?? ^^^^
$YYYY.$MM

# else continue processing and msg probably ends up in $DEFAULT.

-- 
                   /"\
Don Hammond        \ /     ASCII Ribbon Campaign
Raleigh, NC US      X        Against HTML Mail,
                   / \      and News Too

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