Skip to main content
← Back to Privacy GuideTutorials · 2026 Guide

How to Check Spam with Mailpit 1.33.1 and Rspamd in 2026?

Developers can use Mailpit’s optional Rspamd integration to inspect spam-scoring signals in captured messages, but the score is not evidence of external delivery. This guide walks through setup, data-handling checks, result interpretation, and a separate controlled-inbox acceptance test.

Use Mailpit’s optional Rspamd integration to inspect spam-scoring signals in captured test mail; use a separate controlled inbox to verify external delivery. This approach fits developers and QA teams testing their own product’s messages, not teams seeking proof that a recipient mailbox accepted them.

For developers, this helps surface content or header signals while a template is still being built.
For QA engineers, it separates a local score from a send result and real external receipt.
For test-environment maintainers, it highlights the data boundary: the complete message, including attachments, is sent to Rspamd for scoring.

Last updated November 11, 2026. Release and behavior details checked against the Mailpit release record, Rspamd integration configuration, and spam-check documentation.

Before setup, define what the score can prove

Mailpit added optional Rspamd integration in v1.33.0. The official release record lists v1.33.1 as released on November 7, 2026. Those facts establish the relevant version history; they do not mean every deployment has Rspamd enabled or configured identically. Check the official releases for the build actually in use. Mailpit’s spam-check guide describes checking a captured message and viewing the returned Rspamd results.

Keep three test outcomes distinct:

Test method What it can tell you What it cannot establish
Mailpit capture only Your application submitted a message to the local capture flow, so you can inspect its content and headers there. Whether an external receiving system accepted or classified it.
Mailpit with Rspamd How the connected Rspamd instance scored the captured message and which symbols it returned. Whether an external provider will use the same rules or place the message in an inbox.
Controlled external inbox Whether that test address received the message and where it appeared in that mailbox. Whether every recipient provider or user will see the same outcome.

This is the core distinction behind a useful Mailpit Rspamd integration: it is an inspection step, not a delivery receipt. A successful score request says that the scoring service returned a result. It does not supply evidence of external SMTP acceptance, inbox placement, or spam-folder classification.

Decision rule: Use Rspamd to investigate message signals during development. If the release criterion says “received by an external mailbox,” run an independent receiving test and retain that result separately.

Prepare the test environment and data boundary

Before configuring a connection, confirm that the Mailpit version in the test environment supports the integration and consult the configuration documentation for the exact settings available to that deployment. The official release record identifies the feature’s introduction in v1.33.0; the documentation is the source for the supported configuration behavior. Avoid copying an example address or port as if it were valid for every network layout.

The message payload also matters. Mailpit’s spam-check documentation says it sends the complete message, including attachments, to the Rspamd instance for analysis. That can expose more than the visible text of a test email. Headers may contain addresses or identifiers, and attachments may contain real documents or embedded data. Use synthetic addresses, sample-only attachment content, and non-production secrets. Confirm who operates the Rspamd instance, who can access its results, and what retention or logging applies before sending test data to it.

A short preflight review can prevent the local toolchain from becoming an unplanned data-sharing path:

  • Use a message generated by your own application and a test fixture you control.
  • Remove real customer names, addresses, account tokens, and production links.
  • Inspect attachments as well as the rendered body; do not assume that a “test” label makes an attachment safe.
  • Verify that the Mailpit process can reach the intended Rspamd service over the network.
  • Check the transport scheme and authentication requirements against the actual deployment, not a copied sample.
  • Decide whether score results or message content may be visible to other people with access to the test environment.

For internal policy, review MXTemp’s privacy policy alongside your own test-environment controls. That link does not replace reviewing the handling terms of the Rspamd service you configure.

Configure the connection for the deployment you have

Use Mailpit’s Rspamd configuration guide as the authority for the setting names and accepted values in the version you run. The operational task is to supply an address that the Mailpit process can reach and to match the connection’s security and authentication requirements to your environment. A browser-accessible address is not necessarily reachable from a container or host running Mailpit.

Configuration decision What to verify Safe handling
Rspamd address The configured address resolves and is reachable from the Mailpit runtime. Confirm network route, service name, and any proxy or firewall rules. Use the address for your actual environment; do not assume a documentation example applies unchanged.
HTTP or HTTPS Confirm which scheme the deployed service accepts and whether encrypted transport is required by your environment. Prefer the transport policy required by your organization, especially when messages can contain sensitive test data.
Authentication Check whether the Rspamd instance requires credentials and whether Mailpit supports the authentication method configured there. Supply secrets through an appropriate deployment secret mechanism. Do not commit them to source control, paste them into public examples, or write them to logs.
Network access Test connectivity from the Mailpit process itself, not only from a developer’s workstation. Limit access to the services and operators that need it; do not expose a controller endpoint unnecessarily.

Rspamd’s controller documentation describes the controller’s role and its configuration context; its scoring and action documentation explains that results depend on configured metrics and actions. Review the controller documentation and Rspamd metrics guidance if access control or score interpretation is unclear. Do not infer a universal authentication setup from an example: the required controls depend on how the instance is deployed.

Keep the setup reproducible. Record the Mailpit build, the Rspamd endpoint reference used by the environment, the selected transport, and where credentials are managed. Do not record credential values. If configuration differs between local development and CI, document that difference rather than treating a result from one environment as proof about the other.

Send a message and read the returned signals

Once the connection is configured, trigger a test message from your own application. Make it easy to identify: use a synthetic recipient, a clear test subject, and a unique fixture or test-run label that does not include secrets. Confirm that the message appears in Mailpit before starting the spam check. This separates an application-to-capture problem from a scoring-service problem.

Open the captured message and run the spam check using the interface described in Mailpit’s documentation. Read the complete response, not just its headline score. The result view and symbol list answer different questions:

  • Score and suggested action: the assessment and action returned by the connected Rspamd configuration.
  • Symbols: the individual rules or signals reported for that message, which help explain how the result was produced.
  • Message content: the headers, body, links, and attachments you can compare against the returned symbols.

A suggested action is not an instruction that every external provider will follow. Rspamd’s configured metrics and action thresholds determine how its own result is expressed. Different instances can have different rules, weights, thresholds, and data, so one score cutoff cannot serve as a cross-environment pass/fail rule. For a test, define acceptance criteria around the symbols you expect to see, the content you intend to test, and the behavior of your own application.

The phrase developer test email score should therefore mean “a diagnostic result from this configured test pipeline,” not “a deliverability rating.” Preserve the distinction in test reports. Record the score and symbols alongside the Mailpit build and the relevant Rspamd configuration version or environment reference, without copying secrets or message data into a broadly accessible report.

Review each signal before changing the message

When a result is unexpected, avoid immediately rewriting the whole template. First confirm the scoring request succeeded and that Mailpit contacted the intended Rspamd instance. Then compare the returned symbols with the actual test message. A suspicious link symbol, for example, calls for checking the test URL and its surrounding content; a header-related signal calls for inspecting the generated headers and sender configuration. Treat each finding as a clue to investigate, not a diagnosis detached from the message.

Use a controlled edit cycle:

  • Save the original synthetic message fixture and the unmodified result.
  • Select one relevant element to change, such as a test link, header value, or attachment.
  • Send the revised message through the same application path and environment.
  • Run the check again and compare the returned symbols and action.
  • Note any configuration or fixture change that could explain a different result.

Changing one element at a time makes the comparison more useful. If the result changes after several template, header, and environment edits, it is difficult to tell which change mattered. Also avoid “optimizing” a message solely to reduce a local score when doing so would make the content misleading, less accessible, or inconsistent with the product’s actual notification.

If the check fails or returns no useful result, troubleshoot the boundary before the message content. Verify that Mailpit is using the intended configuration, that the address is reachable from its runtime, and that the request receives a response from the expected Rspamd instance. Then check whether that instance’s rules and actions match the assumptions in the test. A connection or configuration problem is not evidence that the email itself is clean or problematic.

Interpretation boundary: A Rspamd result is meaningful only with its source configuration in view. Store the outcome as a diagnostic observation, not a promise about where a recipient’s mail will land.

Verify real receipt as a separate acceptance test

A local capture and a Rspamd response cannot establish real test email delivery. If the release requirement includes external receipt, send a separate copy through the sending path intended for release and use a controlled external receiving address. Confirm that the address is appropriate for the test, inspect whether the message arrived, and record whether it appeared in the inbox, spam folder, or neither. Treat a missing message as an unresolved delivery result until the sending and receiving evidence has been checked.

For a clean report, keep the evidence in separate fields:

  • Application send: whether the application attempted to send the expected message.
  • Mailpit capture: whether the local test message was available for inspection.
  • Rspamd check: the score, suggested action, symbols, and the environment that returned them.
  • External receipt: whether the controlled mailbox received the message and where it appeared.

This structure prevents a passing local score from being mistaken for a successful end-to-end delivery test. It also helps QA report precisely what failed: message generation, local capture, scoring connectivity, or external receipt. MXTemp can be considered as one option when a test needs a separate receiving address; review the MXTemp inbox page and its stated conditions before using it. Do not treat a temporary inbox as the right destination for accounts that need long-term recovery, ongoing correspondence, or dependable future access.

FAQ

Where does Mailpit show a Rspamd score?

Open the captured message in Mailpit and run its spam check after confirming that the Rspamd integration is configured and reachable. Read the returned score, suggested action, and symbol list together. Those values describe the response from the Rspamd instance connected to your test environment; they do not report what an external mailbox provider did with the message.

What should be ready before connecting Mailpit to Rspamd?

Confirm that your Mailpit build supports the integration, that its configured Rspamd address is reachable from the Mailpit process, and that the transport and authentication match your deployment. Review the payload too: Mailpit’s documentation says the full message, including attachments, is sent to Rspamd. Use synthetic test data and confirm who can access the scoring instance and its results.

How should the suggested action and symbols be interpreted?

Treat the action and symbols as an explanation of how the connected Rspamd configuration evaluated the message. Compare each returned symbol with the headers, body, links, and attachments. Do not use a single score cutoff as a universal pass condition; scoring weights and action thresholds depend on the rules and configuration used by that Rspamd instance.

Does Mailpit’s spam check prove that a message reached an inbox?

No. The check analyzes a message captured by Mailpit and returns Rspamd’s assessment. It does not establish external acceptance, inbox placement, or spam-folder classification. To verify those outcomes, send a separate test through the intended external sending path to a controlled receiving address, then inspect the message and record the observed result.

For development, start with Mailpit’s local score to find content signals worth investigating, then verify release acceptance through a controlled external inbox when actual receipt matters. If a separate receiving address suits the test, check MXTemp’s stated conditions before using it; a local Rspamd score is useful evidence about the configured analysis, not a delivery guarantee.

Frequently asked questions

Where does Mailpit show a Rspamd score?

Open the captured message in Mailpit and run its spam check after confirming that the Rspamd integration is configured and reachable. Read the returned score, suggested action, and symbol list together. Those values describe the response from the Rspamd instance connected to your test environment; they do not report what an external mailbox provider did with the message.

What should I prepare before connecting Mailpit to Rspamd?

Confirm that your Mailpit build supports the integration, that its configured Rspamd address is reachable from the Mailpit process, and that the chosen transport and authentication match your deployment. Also review the message payload: Mailpit’s documentation says the full message, including attachments, is sent to Rspamd for checking. Use synthetic test data and verify who can access that instance.

How should I read Rspamd's suggested action and symbols?

Treat the action and symbols as an explanation of how the connected Rspamd configuration evaluated the message. Inspect each returned symbol against the actual headers, body, links, and attachments. Do not apply one score cutoff as a universal pass condition: scoring weights and action thresholds depend on the Rspamd rules and configuration used by that instance.

Does a Mailpit spam check prove that a message reached an inbox?

No. The check analyzes a message captured by Mailpit and returns Rspamd’s assessment. It does not establish that an external mail server accepted the message, placed it in an inbox, or kept it out of spam. For those outcomes, send a separate controlled test to an external receiving address and inspect the message there.

⚡Is the task definitely short-term and low risk?Open the prepared temporary inbox, copy the address, and keep the page open.Create a temporary email →↗Will you need order or security notifications later?Verify your real email first, then create a pauseable forwarding alias for this site.Use email forwarding →