Skip to content

Bounce processing

Only in the Pro and Enterprise editions

Newsletter → Configuration → Modules → Bounce processing for the settings, Newsletter → Bounce for the list.

Fetches undeliverable mail from a mailbox over POP3, matches it to subscribers and takes them off the distribution list.

The bounce module's settings


Why you need this once the list grows

Every address that cannot be delivered to is a signal to the recipient's mail server — and a bad one. Keep sending to dead addresses and you lose deliverability for everyone else too.

A list that is never cleaned reliably ends up in spam after a year or two.


Preparation: where the bounces go

Bounces go to your sender address. The plugin sets it as the return path of the mail; there is no separate field for it.

That determines which mailbox you have to enter here: the one for the sender address from Automatic mails — or one that address forwards to.

Two routes, both of which work:

Route How
A separate mailbox for the newsletter Sender newsletter@your-domain.test, and that is exactly the mailbox you enter below
Forwarding The sender stays your usual address, and your host forwards a copy to bounce@your-domain.test. You enter that mailbox

The module deletes mail from this mailbox

Depending on the setting it tidies up, and it reads everything that is there. If your sender address is also the one people reply to, set Delete bounce mails from mailbox to None — or take the forwarding route.

Check it once

Send a test newsletter to an address that does not exist — something like doesnotexist@your-domain.test. Then see which mailbox the bounce lands in. That is the mailbox to enter here.


The settings

Field
POP3 host The host name, e.g. mail.your-host.test
POP3 port Usually 995 for SSL/TLS and 110 for STARTTLS or no encryption
Encryption Automatic, SSL/TLS, STARTTLS or None. Automatic means: SSL/TLS on port 995, otherwise STARTTLS if the server offers it
POP3 username Usually the full mail address
POP3 password Stored encrypted. The field stays empty if one is saved
Bounce mails per page Length of the list in the backend
Delete bounce mails from mailbox None, Every bounce mail, Every bounce mail that was matched to a subscriber
Matched subscribers Do nothing, only log, Set to inactive, Delete immediately — since 2.2.0 only for a bounce that can be matched to a send (see below)
Process bounce mails automatically At every cron run one portion of the mailbox is read

Two buttons sit below:

Check credentials Connects and reports whether it worked — and whether the connection is encrypted. Changes nothing
Check mailbox now Fetches one portion straight away

Save before pressing either.

The fetch runs in portions

One run reads for at most twenty seconds. With a mailbox holding thousands of messages it therefore takes several runs — deliberately, as otherwise the server breaks off mid-fetch.

Connect encrypted

Use SSL/TLS on port 995 if your host offers it. Over port 110 without encryption the mailbox name and password go over the wire in clear text.

The prefix ssl:// in front of the host name still works, but you no longer need it.

What we recommend

Setting Recommendation
Delete from the mailbox Every bounce mail that was matched to a subscriber. What could not be matched stays — and you can look at why
Matched subscribers Set to inactive. Not delete: a deleted entry can reappear with the next import, an inactive one is the proof
Process automatically On. Otherwise you have to remember

Only what belongs to a send acts automatically

Since 2.2.0 the module sets a subscriber inactive or deletes them by itself only if the bounce carries the newsletter's identifier and that newsletter went to this subscriber according to the sending log.

The reason: the address of your bounce mailbox is in every email you send and is therefore public. Anyone sending a mail there that looks like a bounce could, until then, have any subscriber they guessed taken off your list.

What that costs: a genuine bounce that does not send the original mail's headers along no longer acts automatically. It still stands in the list as a recognised bounce — you set the subscriber inactive there with one click.

Test mails never act automatically: they are in no sending log.

„Delete immediately" is final

Along with the subscriber go their groups, their consent record, their delivery rows and their clicks. And a single bounce does not mean the address is dead — a full mailbox is a bounce too.


The list

Newsletter → Bounce. It shows every mail that sits in that mailbox — not only the bounces.

The bounce list: recognized bounces with a green bar, two unrecognized mails among them

The green bar on the left marks what the module recognized as a bounce. Everything else in the mailbox sits between them, marked Not recognized as a bounce.: auto-replies, real replies, reports of a full mailbox.

Column
E-mail For a bounce, the address delivery failed for. Otherwise the sender — and for a report of a full mailbox the recipient it is about, not the mail server that reported it. (Inactive) behind it means the subscriber is already out of the distribution list
Subject The subject of the mail
Newsletter Which one it was about — or Unknown
Date

On a phone the Newsletter column is dropped.

What you can do with a row

Show Fetches headers and text from the mailbox. That is where it says why the mail did not arrive: „Mailbox full", „User unknown", „Message rejected as spam"
Delete Asks Delete this mail from the mailbox? and removes it there and from the list
Set subscriber inactive Takes this one subscriber out of the distribution list without deleting them
Delete subscriber Deletes them with everything attached. Only shown where there is a subscriber for that address at all

Show all above the list expands every row of the page at once; once they are all open the button reads Hide all. What you expanded stays open after an action.

The same actions exist as bulk actions for ticked rows. Tick every row of a page and the list offers to select all entries in this view — including those on the following pages.

Showing only one kind

The drop-down above the list narrows to All mails, Recognized bounces or Not recognized; the number behind it says how many there are. After choosing, click Filter. The list remembers what you chose and which page you were on.

Read these texts occasionally

They are the only place where somebody tells you what is going on with your deliverability. If reports of spam classification pile up, that is a problem with your sender domain and not with the addresses.

„Check mailbox“ reads everything every time

Every new fetch goes through the whole mailbox, including the mails that were already read last time. That is why Stop does no harm: the next check reads everything that is still in the mailbox.

A subscriber's bounces also appear in their own form, and a newsletter's in its form.


What the module cannot do

It distinguishes final from temporary only roughly. A full mailbox does not count as a bounce — the address exists, it just accepts nothing at the moment. Such reports appear in the list but take nobody out of the distribution list. Everything else the mail server reports as failed is treated the same, whether „User unknown" or a timeout. So look at the list before choosing Delete immediately.

It only reads POP3. No IMAP. In practice that is rarely a problem — for a pure bounce mailbox, POP3 is enough.

What stays behind even with „Every“

If Delete bounce mails from mailbox is set to Every bounce mail, a report still stays in the mailbox when no recipient can be read from it. Otherwise it would vanish uncounted and you would not know it existed.

Since 2.1.0 the module also recognises the delivery reports of Postfix, which carry no X-Failed-Recipients header — there the recipient sits in the report part of the mail. Before that those bounces went unnoticed.


What has to go into your privacy policy

Here there really is something to add. For every undeliverable mail the module stores:

  • the e-mail address delivery failed for,
  • the subject of the bounce,
  • the complete headers — which contain host names and IP addresses of the mail servers involved,
  • the text of the bounce,
  • the time and the newsletter it was about.

A suggested wording:

If a newsletter mail comes back as undeliverable, we store the recipient address, the subject, the time and the technical headers and text of the bounce message. We use this information solely in order to remove permanently unreachable addresses from our distribution list.

The IP addresses in the headers stay — deliberately

The plugin stores IP addresses nowhere else. Here they are the addresses of the mail servers the bounce travelled through, not those of a visitor — and they are the only thing that shows why a mail did not arrive.

Under Newsletter → Configuration → Data collected the module names this explicitly instead of hiding it behind „headers of the bounce message".

Retention. The module does not tidy up by itself. When a subscriber is deleted, their bounce entries go too; with the setting on „delete subscriber", no entry is left at all. Otherwise, look in occasionally yourself.


If the fetch does not work

Symptom Cause
Connection fails Host or port wrong, or your host blocks outgoing connections on that port
Login fails Mailbox name or password. Usually the name is the full address
Connects but finds nothing The mailbox is empty — or the bounces go somewhere else. Check which address your mail server writes into the Return-Path

The module was non-functional up to 1.1.4

Under PHP 8 every fetch aborted — and in such a way that the whole cron run stopped, not just the module. The cause was a bundled library from 2010.

Since 2.0 the module uses the POP3 class WordPress brings along itself. If you once switched the module off because it did not work: try it again.