Sieve
Mail filtering with Sieve scripts on Zimbra.
- Everyday Uses for Sieve Mail Filters in Zimbra
Ten practical jobs Sieve does on a Zimbra server every day: tag external mail, catch spoofed senders, sort mailing lists, handle attachments, auto-reply and more.
- 10 Zimbra Sieve Filter Examples
Ten ready-to-use Sieve scripts for Zimbra: file newsletters and invoices, flag mail from your manager, forward urgent messages, tag projects and more.
- Zimbra Sieve Filters: An Introduction
Learn how Zimbra uses Sieve for mail filters: the basic syntax, where scripts are stored, and how to set them up in the web client, admin console and CLI.
- Sieve Actions in Zimbra: What a Filter Can Do to a Message
Every action a Zimbra Sieve filter can take: fileinto, discard, reject, redirect, tag, flag, reply, notify, header editing and logging, with syntax and Zimbra's own limits.
- Sieve Conditions in Zimbra: What a Filter Can Test
Every test a Zimbra Sieve filter can run on a message: header, address, envelope, size, body, plus Zimbra's own attachment, me, list, bulk, importance and time tests.
- Troubleshooting Zimbra Sieve Filters: Why a Rule Does Not Fire
A step-by-step way to debug a Sieve filter on Zimbra: read the right log, turn on filter logging, make the script report what it did, and the silent failures to check.
- MSH Zimbra Rules vs Sieve: Conditions and Actions Compared
Side-by-side tables of every MSH Zimbra Rules condition and action against its Sieve equivalent, and which of the two to reach for when both could do the job.
- Tag External Mail in Zimbra with a Sieve Filter
Mark every message from outside your organization with an [EXTERNAL] subject marker and a header, using one admin Sieve script applied to a whole domain.
- Flag Spoofed Senders in Zimbra with a Sieve Filter
Catch display-name spoofing and CEO fraud with an admin Sieve script that marks mail whose From header claims your domain or your staff but arrives from outside.
- File Suspected Spam by Its Score in Zimbra
Use the X-Spam-Level and X-Spam-Score headers in a Sieve filter to send borderline mail to a review folder, and avoid the ascii-numeric trap that flags clean mail.
- Block a Sender or a Whole Domain in Zimbra with Sieve
Four ways to stop unwanted mail with a Sieve filter - discard, reject, ereject and fileinto - and which one to pick so senders are not told what happened.
- Sort Mailing Lists and Newsletters Out of the Inbox in Zimbra
Use Zimbra's list and bulk Sieve tests, plus List-Id and variables, to file every mailing list and newsletter into folders without naming a single sender.
- Separate Mail Sent to You from Mail You Are Copied On in Zimbra
Use Zimbra's me test in a Sieve filter to split mail addressed directly to you from Cc traffic and invisible Bcc, so the Inbox holds only what needs an answer.
- Give Every Service Its Own Plus Address in Zimbra
Turn on plus addressing with zimbraMtaRecipientDelimiter, then file each you+tag@ address into its own folder with a Sieve filter - and see who leaked your address.
- File or Reject Mail by Attachment in Zimbra with Sieve
Use Zimbra's attachment test and mime_header to file mail that carries documents, route PDFs and scans to folders, and refuse executable files at delivery.
- Answer Automatically While You Are Away in Zimbra
Zimbra has no Sieve vacation command. Learn what its reply action does instead, how to stop it answering mailing lists, and when to use the built-in out-of-office.
- Keep Automated Alerts and Reports Out of the Inbox in Zimbra
File monitoring mail, backup reports and cron output with a Sieve filter that leaves the failures in the Inbox, so the messages that matter stop hiding in the noise.
cbpolicyd
Rate limits, quotas and access control with the policy daemon bundled with Zimbra.
- cbpolicyd on Zimbra: An Introduction
What cbpolicyd is, where it came from, what state the project is in today, and what it is genuinely good at on a Zimbra server - rate limits, quotas and access control.
- Enabling cbpolicyd on Zimbra and Reading the Policy Model
Turn cbpolicyd on, prove Postfix is really consulting it, then learn the policy model - policies, groups, members and priority - before writing your first rule.
- cbpolicyd Quotas: Rate Limiting Mail on Zimbra
Use the cbpolicyd quotas module to cap how much mail a sender, recipient or client network can push through Zimbra, with worked rules for the cases that matter.
- cbpolicyd Access Control on Zimbra
Allow and deny mail during the SMTP session with the cbpolicyd access control module, including the verdicts available and when it beats a Postfix access map.
- cbpolicyd Greylisting on Zimbra
How greylisting works, how to configure it in cbpolicyd with auto-whitelisting, and the delay and deliverability trade-offs before you turn it on for a live domain.
- cbpolicyd SPF Checking on Zimbra
Configure the cbpolicyd checkspf module to act on SPF results during the SMTP session, and understand why rejecting on SPF failure breaks forwarded mail.
- cbpolicyd HELO Checking on Zimbra
Use the cbpolicyd checkhelo module to reject senders impersonating your server, catch HELO randomisation, and enforce RFC-compliant HELO names without losing real mail.
- cbpolicyd Accounting on Zimbra
Track mail volume per day, week or month with the cbpolicyd accounting module, report on it with SQL, and understand how it differs from quotas.
- cbpolicyd and Amavis on Zimbra
What the cbpolicyd amavis module does, why it needs amavis pointed at the same database, and what to use instead on a Zimbra server where amavis is managed for you.
- Troubleshooting cbpolicyd on Zimbra
Why a cbpolicyd rule does nothing, fires on the wrong mail, or stops working - checked in the order that finds the cause fastest, with the SQL to prove each step.