Overview
Sieve filtering affects the 'Out of Office' filters, so-called OOO emails for certain mailboxes/users, and spam filtering settings. All the mentioned features are designed using the Sieve script language. It is possible to modify the filtering rules per user basis directly from the OS. Such a procedure includes changing text, email headers, or actions.
This article provides information on how to manually edit the Filter Rules created in Webmail/Kerio Connect Client or KOFF.
Prerequisite
Admin (root) access to the Kerio Connect server.
Solution
- Go to the Kerio Connect store folder.
- Open the user's folder, i.e.,
<store>/mail/<domain>/<username>
. - Locate the filter.siv file and modify the necessary rules.
For example, if the following Attachment filter rule is created in KOFF, it produces the corresponding block in the Filter Sieve file.
Attachment filter rule created in KOFF:
Corresponding block:
- You can now modify the mentioned filter.siv file without restarting the Kerio Connect server.
NOTE: It is recommended to back up the original file before modification.
Testing
The filter.siv file is successfully modified from the server OS and is populated to the corresponding email client's interface. Send a test email to the necessary mailbox to verify the modification is propagated.