Skip to content

Rspamd plugin for Spamhaus DQS #7801

@DavidePrincipi

Description

@DavidePrincipi

Accessing public Spamhaus DNS Blocklists (DNSBLs) is subject to a fair-use policy 1 and may not work from certain networks (i.e. Hetzner 2).

Spamhaus’ Data Query Service (DQS) is the alternative protocol, implemented with an Rspamd 3.x plugin 3, that provides similar functionality with better performance, and requires a registered token.

Proposed solution

  • Integrate Spamhaus DQS plugin for Rspamd, as alternative to DNSBL protocol.
  • Document how to configure and permanently enable the DQS plugin.
  • Evaluate future integration in cluster-admin UI.

Alternative solutions

Migrate mail servers to another network provider.

Additional context

If a mail server IP address does not comply with Spamhaus' fair-use policy, the following symbols can be added by Rspamd — rspamd/rspamd#3074:

  • DBL_BLOCKED_OPENRESOLVER
  • RBL_SPAMHAUS_BLOCKED_OPENRESOLVER
  • RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER
  • DBL_BLOCKED
  • RBL_SPAMHAUS_BLOCKED
  • RECEIVED_SPAMHAUS_BLOCKED

See also


Thanks to Matthieu Gaillet

Footnotes

  1. https://www.spamhaus.org/organization/dnsblusage/

  2. https://www.spamhaus.org/resource-hub/email-security/query-the-legacy-dnsbls-via-hetzner

  3. https://github.com/spamhaus/rspamd-dqs?tab=readme-ov-file#installation-instructions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    ToDo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions