Loading...
 
Skip to main content

History: Email filters

Source of version: 25

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
* 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)

!! 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

!! Related links
* http://sieve.info/

Page alias: (alias(Sieve)) (alias(rfc5228))
        

History

Advanced
Information Version
Marc Laporte 28
Marc Laporte 27
Marc Laporte 26
Marc Laporte 25
Marc Laporte That project is not relevant here. Tiki filters via Sieve rules for any IMAP account. The eFa Project is an appliance to filter spam and viruses 24
Daniel Gauthier 23
Marc Laporte Reject vs bounce 22
Marc Laporte 21
Marc Laporte 20
Marc Laporte 19
Marc Laporte 18
Marc Laporte 17
Marc Laporte 16
Marc Laporte Page alias 15
Marc Laporte Gandi.net is nice 14
Marc Laporte 13
Marc Laporte 12
Marc Laporte 11
Marc Laporte 10
Marc Laporte 9
Marc Laporte 8
Marc Laporte 7
Marc Laporte 6
Marc Laporte 5
Marc Laporte 4
Marc Laporte 3
Marc Laporte 2
Marc Laporte 1