[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail filtering

lee wrote:
> I've looked at formail + procmail , but formail forces it into mailbox
> format which I dont want.

With Maildir format you don't need formail.  Just pipe each individual
message to procmail.

Of the top of my head and untested:

  for m in Maildir/new/* Maildir/cur/*; do
    procmail myprocmailrcfile < $m

Best to test it with one message first to make sure it all works
before trying to run on a large mailbox.


Attachment: signature.asc
Description: Digital signature

Reply to: