Bug 1878

Summary: Processing rules for folders with brackets aren't saved
Product: Claws Mail (GTK 2) Reporter: David Schneider <dnschneid>
Component: FilteringAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.7.1   
Hardware: Other   
OS: Linux   

Description David Schneider 2009-03-16 23:52:13 UTC
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!
Comment 1 David Schneider 2009-06-08 09:57:21 UTC
My best guess is it is either the space or the []'s in the matcherrc that is throwing off parsing.
Comment 2 users 2009-06-29 22:12:37 UTC
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'