Skip to content

Autoresponder loops with mailing lists

Why a cPanel autoresponder on a mailbox subscribed to a mailing list can flood the list with vacation replies, and how to break the loop without disabling autoresponders entirely.

A team mailbox has a vacation autoresponder enabled. The mailbox is also subscribed to a busy mailing list. Every list message triggers the autoresponder, which goes back to the list, which broadcasts to every subscriber, which sometimes triggers their autoresponders. Inside an hour the list has thousands of “I am out of office” messages copied to everyone. The fix is not panic — it’s understanding which RFC headers should suppress autoresponses and configuring cPanel to respect them.

What’s happening

Mailing lists set headers like Precedence: list, List-Id:, and Auto-Submitted: to indicate the message is automated bulk mail. A properly written autoresponder skips messages with those headers. cPanel’s built-in autoresponder uses Exim’s filter facility, which can be told to skip on header presence — but the default configuration doesn’t always inspect every relevant header. The result is autoresponses to list mail until someone notices.

How to verify

Inspect a recent autoresponder configuration:

cat /home/<user>/.autorespond/<address>.conf
cat /home/<user>/etc/<domain>/aliases | head

Then test by sending a message with Precedence: list to the autoresponder address and confirming whether or not a reply is generated. If it is, the autoresponder isn’t checking the right headers.

The fix

  1. Disable autoresponders during list subscription periods. The simplest fix: the team mailbox unsubscribes from non-essential lists before enabling the vacation reply. This isn’t always practical but it’s bulletproof.
  2. Patch the autoresponder logic to skip on Precedence: list, Precedence: bulk, Precedence: junk, List-Id: present, and Auto-Submitted: auto-replied. For cPanel’s autoresponder, this means editing the underlying Exim filter or using a per-user .forward with conditional logic.
  3. Suppress repeat autoresponses to the same sender. A correct autoresponder also tracks who it has already replied to in the current vacation window and skips repeats. cPanel’s autoresponder does this for the interval you configure (default 24 hours) — confirm the interval is set, not the unlimited default.
  4. Set Auto-Submitted: auto-replied on outgoing autoresponses. This signals downstream that the message itself is automated, so other autoresponders skip it. Without this header, two autoresponders bouncing back and forth can run forever.
  5. For lists you must stay subscribed to, configure the list software (if you administer it) to drop autoresponses, or configure your mailbox-side rules to skip autoresponder generation for messages tagged with list headers.

When mailing-list management and mailbox configuration land on different teams, Stack Harbor coordinates the autoresponder hygiene as part of managed cPanel operations.