On Thu, May 31, 2007 at 04:32:01PM -0400, Mitchell Laks wrote: > Hi, > > My main inbox has a bunch of mails that really belong in other mail directories. > They went to Mail/inbox because of an error in my .procmailrc > > I have now fixed my .procmailrc to correct the errors > and now want to reapply the procmail to the contents of ~/Mail/inbox. > > Thus, I would like to take all the mail in the inbox > and apply procmail and have the correct mail stay there > and those mails that belong in other directories be moved to them. > > this is a 'feature' with kmail filters. > I am sure I can do it with procmail too. > I just want to do it carefully and not mess up my mail! > > I have read about formail splitting with mbox format. > > Here the mail I am working on already lives in Mail/inbox. > I dont want to end up with duplicate mails in Mail/inbox, or deleting things by mistake :). > > Thanks, > Mitchel Here is one idea: 0) inbox is a mbox-style mail file 1) stop incomming mail processing like pop 2) do 'mv inbox tmp-inbox' 3) do 'formail -s procmail < tmp-inbox' 4) start incomming mail processing 5) have a (root)beer! -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal |mysite.verizon.net/kevin.mark/| | `. `' Operating System | go to counter.li.org and | | `- http://www.debian.org/ | be counted! #238656 | | my keyserver: subkeys.pgp.net | my NPO: cfsg.org | |join the new debian-community.org to help Debian! | |_______ Unless I ask to be CCd, assume I am subscribed _______|
Attachment:
pgpMcxFJxhWWM.pgp
Description: PGP signature