>> I want to put incoming messages into folders, based on current year and month

You can do that with a procmail delivery.

:0 c
* ^From:[EMAIL PROTECTED]
{
        YEARFOLDER="Archive/foo-bar-`date +%Y`"
        :0: archive
        | /usr/sbin/dbmail-smtp -u yourusername -m "$YEARFOLDER"
}


YMMV.
-- 
***    Guido A.J. Stevens      ***    mailto:[EMAIL PROTECTED]   ***
***    Net Facilities Group    ***    tel: +31.43.3618933   ***
***    Postbus 1143            ***    fax: +31.43.3561655   ***
***    6201 BC  Maastricht     ***    http://www.nfg.nl     ***

Followers of cargoism believe in the imminence of a new age of blessing
which, they believe, will be heralded and fulfilled by the arrival of
special cargo sent to them by supernatural powers.
[ http://www.afa.org/magazine/1991/0191cargo.asp ]
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to