- You will find the filtering preferences via the <quote>Configuration</quote> menu, <quote>Filtering</quote> item. From this dialogue you will be able to define new rules, modify or delete existing rules, re-order the rules, and enable/disable them. Filtering rules are defined by four things: the enabled status, a name, a condition, and an action. All disabled rules are simply ignored. The name format is optional, it's there to help you identify your existing rules. The condition format is an expression defining what Sylpheed-Claws should look for when filtering emails, for example: 'to matchcase sylpheed-claws-users' is for messages sent to any address containing 'sylpheed-claws-users'. You can easily define conditions by clicking the <quote>Define...</quote> button at the right of the field. The third part of a filtering rule is the action, which instructs Sylpheed-Claws what to do with emails matching the condition we just defined. For example, 'mark_as_read' marks the mail as read as soon as it arrives in your inbox, or 'move #mh/Mailbox/Friends' moves the mail to your 'Friends' subfolder. Here, too, a <quote>Define...</quote> button is available to help you define the action to take.
+ You will find the filtering preferences via the
+ <quote>Configuration</quote> menu, <quote>Filtering</quote> item. From
+ this dialogue you will be able to define new rules, modify or delete
+ existing rules, re-order the rules, and enable/disable them. Filtering
+ rules are defined by five things: the enabled status, a name, an account
+ name, a condition, and an action. All disabled rules are simply ignored.
+ The <quote>Name</quote> entry is optional, it's there to help you
+ identify your rules. An account name can be chosen, which will restrict
+ the rule to mail retrieved from the named account only, skipping it for
+ mail retrieved from all other accounts. The default value is
+ <quote>All</quote>, which means that the rule is global and will
+ be applied to all mail, reagrdless of the account from which it was
+ retireved, (see paragraph below). The condition format is an expression
+ defining what Claws Mail should look for when filtering mail, for
+ example: <quote>to matchcase claws-mail-users</quote> is for messages
+ sent to any address containing <quote>claws-mail-users</quote>. You can
+ easily define conditions by clicking the <quote>Define...</quote> button
+ at the right of the field. The last part of a filtering rule is the
+ action, which instructs Claws Mail what to do with mail matching
+ the condition we just defined. For example, <quote>mark_as_read</quote>
+ marks the mail as read as soon as it arrives in your inbox, or
+ <quote>move #mh/Mailbox/inbox/Friends</quote> moves the mail to your
+ <quote>Friends</quote> subfolder. Here, too, a <quote>Define...</quote>
+ button is available to help you define the action to take.