Re: Filter old mail with procmail
On Wednesday 22 November 2006 10:34, Ismael Valladolid Torres wrote:
> Kevin Mark escribe:
> > formail -s procmail < some_mail_box
>
> This is only useful if mail is stored in mbox format.
The bogofilter package has a perl script called printmaildir which will
convert a maildir directory to an mbox. It works well as a filter.
printmaildir.pl some_maildir | formail -s procmail
would probably accomplish the same thing as Ismael's command line.
--
Bud Rogers <budr@netride.net> KD5SZ
Reply to: