SPFBL.net · Documentation

Whitelist

The whitelist tells SPFBL which messages must be accepted even when the filters are suspicious of them. Messages with viruses are still refused.

Before you create a rule

The simplest path is almost always to open the message on the Irondome screen and mark it as Wanted. SPFBL builds the rule by itself, from the real data of the message: the sender, the validation it actually passed and the server that delivered it. That rule is as precise as it gets.

Create the rule by hand when the message has not arrived yet, or when you want something different from what the system would build, such as allowing it for one recipient only.

How a rule is built

Every rule has three parts:

  • Origin: who the message comes from (a sender, a domain, a server or an IP).
  • Validation: the proof that the message really came from that origin.
  • Destination (optional): who the rule applies to. Blank means any recipient of your account.

Validation is the most important part. Anyone can write any sender in an email, including your supplier's. Without validation, the rule would also allow whoever impersonates them.

Record types

TypeWhat it allows
SenderA full address, like [email protected].
Sender domainAny address of the domain. *@supplier.com is the domain; *.supplier.com includes the subdomains. It requires a validation, and a free email domain (Gmail, Outlook, Yahoo etc.) cannot be allowed as a whole.
Origin serverEverything delivered by a server identified by name, like mail.supplier.com, including the subdomains.
Origin IPEverything delivered by an IP, like 192.0.2.10.
IP block (CIDR)Everything from a range, like 192.0.2.0/24. The maximum is /24 for IPv4 and /48 for IPv6.
Deactivation for a recipientTurns the SPFBL filter off for everything that reaches a recipient or @domain.
Deactivation for a senderTurns the SPFBL filter off for everything that comes from an IP or server.

Both deactivation types let everything through, including spam and scams. Use them only when no other rule solves the problem.

Validations

They apply to the Sender and Sender domain types.

ValidationWhen to use
Valid SPFThe domain publishes SPF and the message passed it. It is the strongest and most common validation.
Any bulk email providerThe message goes out through a newsletter or bulk email provider (Mailchimp, Amazon SES and similar).
Server of a domainThe message is delivered by a server whose name belongs to a domain, like supplier.com. Useful when the sender's SPF is wrong but the server is always the same.
Server of an IPThe message always leaves from the same IP, like an internal system or a device.
No validationFull sender only, without destination. The record is temporary and expires in 7 days. During that time, SPFBL watches the real messages and creates by itself a permanent record with the right validation.

Destination

Fill in the destination when allowing only makes sense for one person or one domain of your account: [email protected] or @mydomain.com. Blank means all recipients.

Lifetimes

Records with a validation expire when they go unused. Each message allowed by the record counts as use and renews the lifetime.

RecordExpires after
No validation7 days from creation, never renewed.
Validated by IP or by an SPF qualifier30 days without use.
Validated by the server of a domain90 days without use.
Bulk email180 days without use.
Valid SPF360 days without use.
IP, CIDR, origin server and deactivationsNever expire.

Recipes

Supplier with a well configured email

Type Sender domain, origin *@supplier.com, validation Valid SPF. If it is only one person, use Sender with the full address.

A newsletter you subscribed to

Type Sender domain, origin *@store.com, validation Any bulk email provider.

A system that sends from a fixed IP, without SPF

An ERP, a printer or a device: type Sender with the address it uses and validation Server of an IP. If the device uses several addresses, use the Origin IP type.

A customer who writes from Gmail

Type Sender, origin [email protected], validation Valid SPF. Never allow the whole domain of a free email: anyone can create an account on it.

Allow for one department only

Build the rule as usual and fill in the destination with the department address, like [email protected].

Rejected message that does not show up in the history

If a sender says they were rejected and the message does not show up when you search for the recipient, the sender is probably banned: the history keeps only part of those rejections. Search for the sender domain, such as supplier.com. Their last rejection shows up, and from it you create the allowance. If the ban is wrong, see also the Ban section of the Blocklist.

The list

The Whitelist screen shows the records of your account, with search and sorting by column. The Created by column tells who created the record: you (manual entry, marking as wanted or API), the administrator or an automatic SPFBL filter. The Last used column shows the last time the record allowed a message.

To remove a record, use the trash icon on its row. The next messages from that origin go through the filters again.

Precautions

  • Always prefer the narrowest rule that solves the problem: sender before domain, and with validation.
  • Do not allow the whole domain of a free email; the system refuses that rule.
  • Deactivations turn off all protection for that origin or destination.
  • For the opposite, blocking an origin, see Blocklist.