Bug 1878 - Processing rules for folders with brackets aren't saved
Summary: Processing rules for folders with brackets aren't saved
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Filtering (show other bugs)
Version: 3.7.1
Hardware: Other Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2009-03-16 23:52 UTC by David Schneider
Modified: 2009-07-14 10:12 UTC (History)
0 users

See Also:


Attachments

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'

Note You need to log in before you can comment on or make changes to this bug.