1 / 8

SIEVE Alexey Melnikov Cyrus Daboo

SIEVE Alexey Melnikov Cyrus Daboo. What is SIEVE?. SIEVE is a Mail Filtering Language. Usually runs in SMTP (LMTP) servers or MUAs. Multiple implementations: Server side, like Exim, Cyrus/Isode, Sun, Sendmail. User agents like Mulberry, Polymer, Ingo (web)

declan
Download Presentation

SIEVE Alexey Melnikov Cyrus Daboo

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SIEVEAlexey MelnikovCyrus Daboo Sieve Mail Filtering Language WG (sieve)

  2. What is SIEVE? • SIEVE is a Mail Filtering Language. • Usually runs in SMTP (LMTP) servers or MUAs. • Multiple implementations: • Server side, like Exim, Cyrus/Isode, Sun, Sendmail. • User agents like Mulberry, Polymer, Ingo (web) • IETF SIEVE WG:http://www.ietf.org/html.charters/sieve-charter.html Sieve Mail Filtering Language WG (sieve)

  3. What can SIEVE do right now (Sieve "tests") • Can examine • header fields, addresses • SMTP envelope (if available) • message body (draft-ietf-sieve-body-02.txt) • spam scores and viruses (draft-ietf-sieve-spamtestbis-01.txt) – done externally • SIEVE now has support for variables (draft-ietf-sieve-variables-06.txt) Sieve Mail Filtering Language WG (sieve)

  4. What can SIEVE do right now (Sieve "actions") • Sieve scripts can edit headers (draft-ietf-sieve-editheader-02.txt) • Sieve scripts c an set IMAP flags (draft-ietf-sieve-imapflags-01.txt) • The received message can be • filed into an IMAP mailbox • discarded/rejected • redirected to another address • send vacation replies (draft-ietf-sieve-vacation-03.txt) Sieve Mail Filtering Language WG (sieve)

  5. Application to Lemonade: Customizable notifications • draft-ietf-sieve-notify-00.txt: require ["notify", "fileinto", "variables"]; if header :contains "to" "sievemailinglist@example.org" { # :matches is used to get the value of the Subject header if header :matches "Subject" "*" { set "subject" "${1}"; } # :matches is used to get the value of the From header if header :matches "From" "*" { set "from" "${1}"; } notify :low :message "[SIEVE] ${from}: ${subject}"; fileinto "INBOX.sieve"; } Sieve Mail Filtering Language WG (sieve)

  6. Application to Lemonade: Mailbox annotations require ["notify", "mboxannotate", "variables", "envelope"]; if not annotation :private "INBOX" :matches "/vendor/isode/notification-uri“ "none" { set "notif_uri" "${0}"; # :matches is used to get the MAIL FROM address if envelope :all :matches "from" "*" { set "env_from" " [really: ${1}]"; } # :matches is used to get the value of the Subject header if header :matches "Subject" "*" {set "subject" "${1}";} # :matches is used to get the address from the From headerif address :matches :all "from" "*" {set "from_addr" "${1}";} notify :method "${notif_uri}":message "${from_addr}${env_from}: ${subject}";} Sieve Mail Filtering Language WG (sieve)

  7. SIEVE script management/generation • SIEVE scripts can be managed using manage sieve protocol (draft-martin-managesieve-xx.txt). • SIEVE generation can be hidden behind simple UI • managing it from a small device becomes simple Sieve Mail Filtering Language WG (sieve)

  8. Future work • Creation of a SIEVE profile to work on IMAP flag changes/message deletion. Sieve Mail Filtering Language WG (sieve)

More Related