How to configure the server spam filter and greylisting

For server administrators · Updated 2026-10-29

On this page
  1. Before you start
  2. Steps
  3. Rules for the values
  4. Good to know
  5. Common questions

Every incoming message gets a spam score. Above one score it goes to the recipient's Junk folder; above a higher score the server refuses it. These are the server-wide defaults; customers can make each of their mailboxes stricter or more lenient.

Before you start

You need the administrator panel (https://<server>:2087).

Steps

  1. Open Mail Queue & Spam in the menu (section Email).
  2. Click the Spam filter tab.
  3. Filter incoming mail for spam — on by default. Untick it to stop spam scoring completely.
  4. Greylisting: briefly delay suspicious senders (real mail servers retry, most spam bots do not) — on by default.
  5. Move to Junk from score — default 6. The hint says typical values are 5–7; lower catches more spam but risks real mail.
  6. Refuse from score — default 15. The sender gets an error and nothing is delivered.
  7. Click Save.

You see Spam filter settings saved. They apply within a minute.

Rules for the values

  • Refuse from score must be between 8 and 50.
  • Move to Junk from score must be at least 2 and lower than Refuse from score.
  • Steps of 0.5 are allowed.

Good to know

  • Spam is moved to Junk, never deleted. Customers can find false positives there.
  • Customers choose Server default (recommended) or their own score per mailbox, and keep allow and block lists. See mailbox spam settings. Mail above the refuse score never reaches a mailbox, whatever the mailbox settings.
  • Greylisting delays only suspicious first contacts. Real servers retry within minutes, so a first message from a new sender can arrive a little late.
  • Mail sent by customers who signed in is still scored on its content, so a hacked mailbox cannot send spam freely.
  • When a virus scanner is installed on the server, mail carrying a virus is refused in both directions.
  • Refused messages appear as Rejected in Delivery reports, with details starting Spam filter:.

Common questions

Customers lose real mail. What should I change?

Check Delivery reports for Rejected rows first. If real mail is refused, raise Refuse from score. If real mail lands in Junk, raise Move to Junk from score a little, or let the customer add the sender to Always allow (never Junk).

Why does the first email from a new contact arrive late?

That is greylisting. Untick it if the delay is a problem for your customers.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.