For lack of a better way (as far as I know), I have processing rules on both of my sent folders to collect addresses (one with a flat imap layout and the other being gmail's with its special subdirectory that sent folder resides in). The rule is: age_lower 30 & ~found_in_addressbook "To" in "Any" add_to_addressbook "To" "addrbook-000011.xml" (the age_lower 30 is just to keep the filter running quickly; my computer is OLD ~10 years) Anyway, the issue is that if I close and re-open claws-mail, the rule is saved for the sent folder in the flat account, but are lost for the gmail account's sent folder. This happens every time. Reproduce: Add a processing filter to the gmail sent folder. Restart claws-mail Poof!
My best guess is it is either the space or the []'s in the matcherrc that is throwing off parsing.
Changes related to this bug have been committed. Please check latest CVS and update the bug accordingly. You can also get the patch from: http://www.colino.net/claws-mail/ 2009-06-29 [colin] 3.7.1cvs82 * src/matcher_parser_lex.l Fix bug 1878, 'Processing rules for folders with brackets aren't saved'