History: Email filters
Source of version: 21
Copy to clipboard
! {{page}} New to ((Tiki25)), email filters have been added to ((Cypht)). They leverage the [https://en.wikipedia.org/wiki/Sieve_(mail_filtering_language)|Sieve standard], using https://packagist.org/packages/henrique-borba/php-sieve-manager If your mail server doesn't support Sieve, Tiki will handle the filtering. Just add a command to Tiki ((Scheduler)) or a cron job: {CODE()} php console.php sieve:filters {CODE} Exceptions: !!! Only available in Sieve * Redirects (like a forward except that email is modified so replies go to the original sender) !!! Better in Sieve * Blocked sender bounce: 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 rejection 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) !! 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: ((dev:Machine Learning for Email)) !! Related links * Initial commit: https://gitlab.com/tikiwiki/tiki/-/merge_requests/1837 * ((Email bounce handling)) * ((dev:Email as a first-class citizen)) !! Info from other systems * https://docs.gandi.net/en/gandimail/sieve/ * https://blogs.kolabnow.com/2022/09/19/how-are-server-side-sieve-filters-working-again Page alias: (alias(Sieve)) (alias(rfc5228))