Salt la conținut
mybox Centrul de ajutor

Secțiuni de ajutor

  • Primii pași
  • Cont și facturare
  • Domenii și DNS
  • Găzduire și servere
  • E-mail
  • Securitate și SSL
  • WordPress și CMS
  • Crește online
mybox.com Toate serviciile funcționează
/

Limbă

  • English
  • Română
  • Panoul mybox
  • Webmail
Începe gratuit
/
  • Primii pași
  • Cont și facturare
  • Domenii și DNS
  • Găzduire și servere
  • E-mail
  • Securitate și SSL
  • WordPress și CMS
  • Crește online
  • Centrul de ajutor
  • mybox.com
  • English
  • Română
Toate serviciile funcționează Începe gratuit
  1. Centrul de ajutor
  2. E-mail
  3. WebMail mail.mybox.com
Explicație E-mail

Prezentare generală a regulilor de filtrare prin sită

Actualizat 9 iunie 2026 2 min de citit
Pe această pagină
  1. Basic Elements of a Sieve Script
  2. Comments
  3. Required Extensions
  4. Conditions
  5. Common Sieve Conditions
  6. header
  7. address
  8. size
  9. body
  10. Common Sieve Actions
  11. fileinto
  12. redirect
  13. discard
  14. keep
  15. reject
  16. Example Sieve Script
  17. Practical Uses for Sieve Filters
  18. Summary

Sieve is a mail filtering language used by email servers to automatically process incoming messages. It allows users to create rules that sort, move, forward, reject, or delete emails based on specific conditions.

By using Sieve filters, you can automate mailbox management and reduce the time spent organizing messages manually.

Basic Elements of a Sieve Script

Comments

Comments are ignored by the Sieve interpreter and are useful for documenting your rules.

# This is a comment

Required Extensions

Most Sieve scripts begin by declaring the extensions that will be used.

require ["fileinto", "reject"];

These extensions enable additional actions such as moving messages to folders or rejecting messages.

Conditions

Conditions determine when a specific action should be performed.

if header :contains "Subject" "important" {
    # actions
}

In this example, the rule checks whether the email subject contains the word “important”.

Common Sieve Conditions

header

Checks the value of specific email headers.

if header :contains "From" "example@example.com" {
    # actions
}

This rule examines the sender address.

address

Checks email addresses found in message headers.

if address :domain :is "From" "example.com" {
    # actions
}

This example matches any sender from the example.com domain.

size

Filters messages based on their size.

if size :over 500K {
    # actions
}

This condition matches messages larger than 500 KB.

body

Checks the content of the email body.

if body :contains "unsubscribe" {
    # actions
}

This rule triggers when the specified text appears within the message content.

Common Sieve Actions

fileinto

Moves a message to a selected mailbox folder.

if header :contains "Subject" "project" {
    fileinto "Projects";
}

Messages matching the condition will be moved to the “Projects” folder.

redirect

Automatically forwards a message to another email address.

if address :is "To" "old@example.com" {
    redirect "new@example.com";
}

discard

Silently deletes a message without notifying the sender.

if header :contains "Subject" "spam" {
    discard;
}

keep

Leaves the message in the Inbox.

if header :contains "Subject" "important" {
    keep;
}

reject

Rejects the message and returns an error notification to the sender.

if size :over 10M {
    reject "Message too large";
}

Example Sieve Script

The following example demonstrates several common filtering actions:

require ["fileinto", "reject"];

# Move project-related emails
if header :contains "Subject" "project" {
    fileinto "Projects";
}

# Forward messages from a specific sender
if address :is "From" "boss@example.com" {
    redirect "manager@example.com";
}

# Reject oversized messages
if size :over 10M {
    reject "Message too large";
}

# Remove unwanted messages
if header :contains "Subject" "spam" {
    discard;
}

# Keep all remaining messages
keep;

Practical Uses for Sieve Filters

Sieve can be used to automate many common email management tasks, including:

  • Sorting invoices into a dedicated folder
  • Separating work and personal emails
  • Automatically forwarding messages to another address
  • Blocking unwanted senders
  • Filtering newsletters and mailing lists
  • Rejecting oversized attachments
  • Organizing support requests into specific mailboxes

Summary

Sieve provides a powerful and flexible way to automate email management directly on the mail server. By combining conditions and actions, you can create advanced filtering rules that keep your mailbox organized and ensure important messages are handled exactly as intended.

Whether you want to sort incoming mail, block unwanted messages, or automate forwarding, Sieve offers a reliable server-side solution that continues to work even when your email client is offline.

A fost util acest articol?

Nu ai găsit răspunsul?

Echipa noastră de asistență este aici pentru tine 24/7 – scrie-ne și te ajutăm să rezolvi problema.

Asistență 24/7 Deschide un tichet în panoul mybox Panoul mybox Autentifică-te și gestionează serviciile

Pe această pagină

  1. Basic Elements of a Sieve Script
  2. Comments
  3. Required Extensions
  4. Conditions
  5. Common Sieve Conditions
  6. header
  7. address
  8. size
  9. body
  10. Common Sieve Actions
  11. fileinto
  12. redirect
  13. discard
  14. keep
  15. reject
  16. Example Sieve Script
  17. Practical Uses for Sieve Filters
  18. Summary

Articole similare

Toate din WebMail mail.mybox.com
Ghid WebMail mail.mybox.com Cum setez verificarea în doi pași în Webmail? Securitatea este o prioritate în ziua de azi, iar verificarea în doi pași, care necesită nu doar cunoașterea și introducerea unei parole,… 3 min de citit Ghid WebMail mail.mybox.com Cum să vă schimbați parola de e-mail în WebMail Parola căsuței poștale poate fi modificată direct din webmail la adresa mail.mybox.com — fără a accesa panoul mybox. Acest lucru este util… 1 min de citit Explicație WebMail mail.mybox.com Ce este Webmail? Webmail este o interfață web care permite utilizatorilor să acceseze, să trimită, să primească și să gestioneze mesaje de e-mail direct printr-un… 3 min de citit
mybox

Găzduire web modulară – gratuită de la început, extensibilă pe măsură ce crești.

Secțiuni de ajutor

  • Primii pași
  • Cont și facturare
  • Domenii și DNS
  • Găzduire și servere
  • E-mail
  • Securitate și SSL
  • WordPress și CMS
  • Crește online

mybox

  • mybox.com
  • Panoul mybox
  • Webmail
  • Asistență 24/7
© 2026 mybox 1.680 de articole