Email filters


New to Tiki25, email filters have been added to Cypht.

They leverage the Sieve standard, using https://packagist.org/packages/henrique-borba/php-sieve-manager
Here is the code: https://github.com/cypht-org/cypht/tree/master/modules/sievefilters

If your mail server doesn't support Sieve, Tiki will handle the filtering. Just add a command to Tiki Scheduler or a cron job:

Copy to clipboard
php console.php sieve:filters


Exceptions:

Only available in Sieve

  • Redirects (like a forward except that email is modified so replies go to the original sender)

Better in Sieve

  • Rejecting: When done via Sieve, it is done when the email delivery is attempted. So the mail server is instructed not to accept the email, which is way better than accepting, and then replying with a bounce message. Ref: http://www.dontbouncespam.org/#BVR

Only available in Tiki

Functionality not covered by the Sieve standard. Ex.:

  • Move an email to a tracker item via Email folders Tracker Field
  • Planned feature: Moving an email from one mailbox to another (In Sieve, it's possible to redirect, but a move is cleaner because a redirect could bounce)

Future plans

  • More action will be added later (ex.: create a task from an email with a certain pattern, etc.)
  • We will leverage Machine Learning so Tiki learns how you filter your emails manually: Machine Learning for Email

Info from other systems


Page alias: Sieve rfc5228