A catch-all (or default) address tells your mail server what to do with messages sent to any mailbox at your domain that does not actually exist. Instead of bouncing a message addressed to a mistyped or unknown user, the server can forward it to one inbox, hold it, or discard it. In modern cPanel you configure this per domain under the Default Address feature, and the recommended setting for most sites is to bounce unroutable mail rather than catch everything.

What a catch-all address does

Every email you send to your domain targets a specific local part, the text before the @ sign, such as sales@yourdomain.com. When someone writes to an address you never created, the server needs a rule. cPanel gives you three practical choices:

  • Discard with an error to the sender: the message is rejected and the sender gets a bounce. This is the default and the safest option.
  • Forward to a real mailbox: any unrouted mail lands in one account you choose, for example catchall@yourdomain.com.
  • Discard silently (blackhole): the message is dropped with no notice. This is generally discouraged because senders never learn their mail failed.

Set the default address in cPanel

  1. Log in to cPanel and open the Email section.
  2. Click Default Address.
  3. Use the Send all unrouted email for the following domain menu to pick the domain you want to configure.
  4. Choose one of the options:
    • To bounce unknown mail, select Discard with error to sender and keep or edit the failure message shown in the box.
    • To catch everything, select Forward to email address and type a real mailbox that already exists, such as catchall@yourdomain.com.
  5. Click Change to save.

The Advanced Options on the same page let you pipe unrouted mail to a script or set a custom failure message, but most site owners never need these.

Mail to unknown user@yourdomain Default Address rule on server Catch-all inbox forward option Bounce to sender discard option

Why bounce is usually better than catch-all

A forwarding catch-all sounds convenient, but it becomes a magnet for spam. Spammers guess and dictionary-attack addresses like info, admin, and random strings, so a catch-all inbox fills with junk and can drag down your domain reputation and deliverability. Bouncing unknown mail keeps your address footprint tight and signals clean sending behavior. If you need to receive mail at several role names, create real forwarders or aliases for just those addresses instead of accepting everything.

Clean, well-scoped mail routing is part of protecting a domain the same way a dedicated IP protects its footprint. For more on keeping mail out of spam folders, see our guides on email and deliverability, and for authentication records that back up your sending domain, review your SPF and DKIM setup as described by the SPF specification.

Testing your setup

After saving, send a test message from an outside account (not another mailbox on the same domain) to a made-up address such as doesnotexist@yourdomain.com. If you chose bounce, you should receive a delivery failure notice within a minute or two. If you chose forward, the message should appear in your catch-all inbox. Allow a short delay while the server applies the change.

If unrouted mail is not behaving as expected, or you want help planning role addresses and forwarders across several domains, reach out through our contact page and our team can review the configuration with you.

Was dit antwoord nuttig? 0 gebruikers vonden dit artikel nuttig (0 Stemmen)