%META:TOPICPARENT{name="OdsMailFiltersGuide"}%
---+Setting Filter Rule associated with IMAP4 account
The following example presents a simple scenario how to create ODS-Mail filter rule associated with IMAP4 account:
1 Ensure [[OdsMailInstallGuide][ODS-Mail has been installed]] in your host ODS instance.
1 Browse to your host ODS instance, http://<cname>[:<port>]/ods
, e.g., [[http://id.myopenlink.net/ods/][http://id.myopenlink.net/ods/]].
1 Log in.
1 Create ODS-Mail instance
1 [[ODSMailIMAP4External][Add external IMAP4 account]].
1 Go to ODS-Mail -> Preferences -> Filters:
%BR%%BR%%BR%%BR%
1 Click "Create Filter":
%BR%%BR%%BR%%BR%
1 In the presented form enter respectively:
* Name: for ex. MyIMAPFilter;
* Attach to IMAP account: select from the drop-down list an IMAP4 account added as per above to your ODS-Mail instance;
* Criteria: Click Add and enter respectively "Field": "Subject"; "Condition": "contains substring"; "Value": for ex: Note
* Commands: Click Add and enter respectively "Command": "Move To"; "Value": select from the drop-down list existing IMAP folder, for ex. with name "Notes":
%BR%%BR%%BR%%BR%
1 Click "Save".
1 The created rule should be presented in the Filters list:
%BR%%BR%%BR%%BR%
1 [[ODSMailIMAP4Thunderbird][See further details]] on how the created rule applies over the ODS-Mail messages.
---++Related
* [[OdsMail][ODS-Mail]]
* [[OdsMailInstallGuide][ODS-Mail's Installation Guide]]
* [[OdsMailFiltersGuide][Creating Filters in ODS-Mail]]
* [[ODSMailWebIDFilterRule][Web ID Filter Rule Example]];
* [[OdsMailSpamFilterGuide][Set Spam Filter Example]];
* [[ODSMailSpamFilterRule][Manage Spam Filter with Addressbook interaction]]
* [[ODSMailWebIDSMIME][ODS-Mail's SMIME + WebID Support Guide]]
* [[OdsWebmailProgrammersGuide][ODS-Mail's Programmers Guide]]
* [[ODSMailPop3External][Configure an external POP3 account in ODS-Mail]]
* [[ODSMailIMAP4External][Configure an external IMAP4 account in ODS-Mail]]
* [[ODSMailIMAP4Thunderbird][Synchronizing Mozilla Thunderbird IMAP4 account store with ODS-Mail IMAP4 mapped instance]]