/** * Transparent Header - Customizer. * * @package Astra * @since 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if ( ! class_exists( 'Astra_Ext_Transparent_Header_Loader' ) ) { /** * Customizer Initialization * * @since 1.0.0 */ class Astra_Ext_Transparent_Header_Loader { /** * Member Variable * * @var object instance */ private static $instance; /** * Initiator */ public static function get_instance() { if ( ! isset( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } /** * Constructor */ public function __construct() { add_filter( 'astra_theme_defaults', array( $this, 'theme_defaults' ) ); add_action( 'customize_preview_init', array( $this, 'preview_scripts' ) ); add_action( 'customize_register', array( $this, 'customize_register' ), 2 ); } /** * Set Options Default Values * * @param array $defaults Astra options default value array. * @return array */ public function theme_defaults( $defaults ) { // Header - Transparent. $defaults['transparent-header-logo'] = ''; $defaults['transparent-header-retina-logo'] = ''; $defaults['different-transparent-logo'] = 0; $defaults['different-transparent-retina-logo'] = 0; $defaults['transparent-header-logo-width'] = array( 'desktop' => 150, 'tablet' => 120, 'mobile' => 100, ); $defaults['transparent-header-enable'] = 0; /** * Old option for 404, search and archive pages. * * For default value on separate option this setting is in use. */ $defaults['transparent-header-disable-archive'] = 1; $defaults['transparent-header-disable-latest-posts-index'] = 1; $defaults['transparent-header-on-devices'] = 'both'; $defaults['transparent-header-main-sep'] = ''; $defaults['transparent-header-main-sep-color'] = ''; /** * Transparent Header */ $defaults['transparent-header-bg-color'] = ''; $defaults['transparent-header-color-site-title'] = ''; $defaults['transparent-header-color-h-site-title'] = ''; $defaults['transparent-menu-bg-color'] = ''; $defaults['transparent-menu-color'] = ''; $defaults['transparent-menu-h-color'] = ''; $defaults['transparent-submenu-bg-color'] = ''; $defaults['transparent-submenu-color'] = ''; $defaults['transparent-submenu-h-color'] = ''; $defaults['transparent-header-logo-color'] = ''; /** * Transparent Header Responsive Colors */ $defaults['transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['hba-transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['hbb-transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-header-color-site-title-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-header-color-h-site-title-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-menu-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-menu-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-menu-h-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-submenu-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-submenu-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-submenu-h-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-content-section-text-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-content-section-link-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-content-section-link-h-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); return $defaults; } /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ public function customize_register( $wp_customize ) { // @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound /** * Register Panel & Sections */ require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/class-astra-transparent-header-panels-and-sections.php'; /** * Sections */ require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-colors-transparent-header-configs.php'; // Check Transparent Header is activated. require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-transparent-header-configs.php'; // @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } /** * Customizer Preview */ public function preview_scripts() { /** * Load unminified if SCRIPT_DEBUG is true. */ /* Directory and Extension */ $dir_name = ( SCRIPT_DEBUG ) ? 'unminified' : 'minified'; $file_prefix = ( SCRIPT_DEBUG ) ? '' : '.min'; wp_enqueue_script( 'astra-transparent-header-customizer-preview-js', ASTRA_THEME_TRANSPARENT_HEADER_URI . 'assets/js/' . $dir_name . '/customizer-preview' . $file_prefix . '.js', array( 'customize-preview', 'astra-customizer-preview-js' ), ASTRA_THEME_VERSION, true ); // Localize variables for further JS. wp_localize_script( 'astra-transparent-header-customizer-preview-js', 'AstraBuilderTransparentData', array( 'is_astra_hf_builder_active' => Astra_Builder_Helper::$is_header_footer_builder_active, 'is_flex_based_css' => Astra_Builder_Helper::apply_flex_based_css(), 'transparent_header_devices' => astra_get_option( 'transparent-header-on-devices' ), ) ); } } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Ext_Transparent_Header_Loader::get_instance(); Catch-All or Forwarder? How Registrars Differ – Partidas de San Luis

Catch-All or Forwarder? How Registrars Differ

Type a random address at your own domain, like refunds@ or sales@, and hit send. Whether the message bounces or lands in your inbox depends entirely on which registrar holds your DNS. The term catch-all email sounds universal, but it describes at least three different mechanisms: a mailbox default address, a domain-level forwarder, and cPanel’s Default Address. Each one routes unrouted mail differently, and each one fails differently when spam arrives.

Registrars describe these features with near-identical language, so it is easy to assume they behave the same way. They do not. Namecheap catch-all and GoDaddy catch-all are configured in different places, obey different precedence rules, and interact with MX record lookup in ways that surprise people who switch providers. A forwarding rule that worked for years on one panel can silently drop mail on another, and the bounce message often points at the wrong culprit.

This comparison separates the models, walks through the email forwarding setup on each platform, and covers the spam trade-off honestly. Expect concrete dashboard locations, precedence rules between forwarders and default addresses, and the configuration details that decide whether a stray message reaches a human or disappears. If you own more than one domain, or have moved hosting recently, the differences matter more than the marketing pages suggest.

What a Catch-All Email Address Actually Does

A catch-all email address is a routing rule, not a mailbox. When a message arrives for an address on your domain that does not match any existing mailbox, alias, or forwarder, the mail server hands it to a designated fallback destination instead of rejecting it. That destination might be a real mailbox, an external address, or a script. The rule only fires for unrouted mail, which is why a catch-all produces no visible effect until someone writes to a misspelled or guessed address like sales@ or info@ on a domain that never created those accounts.

The confusion starts because four different things get called the same name. An alias is a fixed, named pointer (billing@ goes to Ana). A distribution list fans one address out to several recipients. A standard email forwarder maps one specific address to another. A catch-all has no fixed local part at all; it catches whatever is left over. Mixing these up leads to the belief that a catch-all «creates» addresses. It does not. It accepts mail for addresses that do not exist and sends it somewhere you chose.

Behavior also depends on where the rule lives. A catch-all must be set where the MX records point, because that is the server that decides whether a recipient exists. If your MX records point to a third-party provider, a toggle in your registrar’s dashboard does nothing for that mail. cPanel calls the feature Default Address and applies it at the domain level inside the hosting panel. Namecheap offers catch-all through its free email forwarding, which is a forwarder layer rather than a mailbox. GoDaddy provides a catch-all toggle in its email administration, but its behavior differs between Workspace Email, Professional Email, and cPanel hosting. Google Workspace requires its own catch-all rule configured inside the admin console, independent of anything at the registrar.

Mechanism What it matches Where it lives Typical behavior
Alias One exact local part Mailbox or admin panel Delivers to the named mailbox only
Standard forwarder One exact local part Registrar or hosting panel Relays to an external address, keeps no copy
Distribution list One exact local part Mail platform Copies to several members
Catch-all (Default Address) Any unmatched local part cPanel, at the MX target Routes leftovers to one mailbox or discard
Catch-all (forwarder based) Any unmatched local part Namecheap free forwarding Relays leftovers, subject to forwarding limits

The practical test is simple: run an MX record lookup before touching any setting. Whichever server answers is the one whose catch-all setting matters. Everything else is decoration.

Mailbox Default vs. Domain Forwarder vs. Default Address

Three vendors, three mechanisms, and three very different answers to the question «where does mail for an address that does not exist go?» The confusion starts because the word catch-all is applied to all of them.

Where the rule actually lives

On Namecheap, the catch-all is a setting on a mailbox inside Private Email or Professional Email. You pick a mailbox, mark it as the default for the domain, and anything addressed to a user that does not exist lands there. The routing decision happens on the mail server that owns the mailbox, which means it only works when the domain’s MX record lookup points at Namecheap’s mail servers.

GoDaddy takes a different route. Its catch-all is a domain-level forwarder, a redirect rule managed in the email forwarding panel rather than inside a mailbox. Unmatched mail is rewritten to a destination address you specify, which can be a GoDaddy mailbox, a Gmail account, or anything else. No system account exists on the GoDaddy side to hold the message; it arrives, gets redirected, and leaves. That distinction matters: a domain forwarder has no storage of its own, so if the destination rejects the message, the forwarder has nowhere to park it.

cPanel, used by Namecheap shared hosting and GoDaddy cPanel hosting, calls the catch-all the Default Address. It sits under the Email section of the panel and points unrouted mail at a specified mailbox, a system account, or even a pipe to a program. Because cPanel owns the whole mail stack, the Default Address can discard email outright, route it to a script, or hand it to a local mailbox. Domain-level forwarders configured in the same panel override the Default Address for the addresses they cover, so precedence is explicit and worth checking before you assume the catch-all is doing the work.

Delivery limits, filtering, and what each one implies

  • Namecheap mailbox default: mail is stored, so it counts against the mailbox quota and appears in the normal spam filter’s judgment.
  • GoDaddy domain forwarder: no local storage, no local spam scoring beyond the inbound relay, and a hard dependency on the destination accepting the relayed message.
  • cPanel Default Address: full server-side control, including blackhole (discard) and pipe options, with filtering applied before delivery.
  • Google Workspace: requires its own catch-all rule in the admin console; registrar settings do not touch it.
  • All three: the rule must be set where the MX records point, or it silently does nothing.

The practical consequence is that identical wording in three dashboards produces a stored copy, a relayed copy, or a discarded copy. Check which one you bought.

Setting Up a Catch-All on Namecheap, GoDaddy, and cPanel

Before you touch a single toggle, confirm the prerequisites. The catch-all must be set where your MX records point. Run an MX record lookup (dig MX yourdomain.com or a free web checker) and note which service actually receives mail. If the MX points to Google Workspace, a cPanel Default Address will never see the traffic; Google Workspace requires its own catch-all rule under Admin console > Apps > Google Workspace > Gmail > Routing. If MX points to your registrar’s mail service, you need at least one active mailbox on that service, because every catch-all needs a destination. Verified domain ownership and propagated MX changes (usually 15 minutes to 24 hours) come first; without them the panel will accept the setting and silently fail to route.

Namecheap. Namecheap offers catch-all via free email forwarding, but the setting lives at the mailbox level, not the domain level. In Dashboard > Domain List > Manage > Mail Settings, confirm «Email Forwarding» is selected and the MX records are set to Namecheap’s servers. Then open the mailbox you want to catch mail and look for the «Catch-all» checkbox. Namecheap’s forwarder limit applies here: free forwarding allows up to 100 forwarders per domain, and the catch-all counts against that pool. Private Email and Professional Email plans put the catch-all inside the webmail admin panel instead, under domain settings. Note that domain-level forwarders override the Default Address, so a wildcard forwarder created earlier will shadow the catch-all.

GoDaddy. GoDaddy provides a catch-all toggle in its email hosting panel, but only on paid plans. Sign in, go to My Products > Email & Office, open Manage next to the domain, then Email Accounts > Settings, and flip «Catch-all» on with a target mailbox selected. catch-all email in cPanel covers this in more depth. For GoDaddy domains on free forwarding, the equivalent is a domain-level forwarder set to a wildcard, which behaves like a catch-all but is not one: it forwards everything, including mail addressed to aliases you deliberately retired. If your GoDaddy hosting runs cPanel, use the cPanel path below instead; the two controls can conflict.

cPanel. cPanel is used by Namecheap shared hosting and GoDaddy cPanel hosting, and it calls the catch-all «Default Address.» Log in to cPanel > Email > Default Address, select the domain, and choose «Forward to email address» plus a mailbox, or «Discard» to drop unrouted mail. The Advanced Options let you pipe to a program or send to a system account, which is where ticket systems hook in. Set the target before you enable it; an empty destination means unrouted mail bounces with an SMTP rejection.

Deliverability, Spam, and Security Tradeoffs

A catch-all address is a spam magnet by design. Once a domain has been live for a few months, dictionary attacks and scraped address lists will hit it with addresses like info@, admin@, sales@, and thousands of random strings. Every one of those messages that would otherwise bounce with a 550 SMTP rejection gets accepted instead. On a busy domain, that can mean hundreds of junk messages a day landing in one inbox, and the filtering burden shifts entirely to whatever spam engine sits in front of that mailbox.

The delivery model changes the arithmetic. With a cPanel Default Address, unmatched mail is handed to a local mailbox or system account, so it is filtered once by the server’s SpamAssassin rules and stored. With a domain-level forwarder, the same mail is relayed to an external address, and that relay step is where things get messy. If the forwarder does not rewrite the envelope sender, the receiving provider sees a message claiming to come from the original sender but arriving from your server’s IP. That fails SPF alignment, and if DKIM is not applied at the forwarding hop, DMARC checks fail too. Gmail and Microsoft 365 increasingly quarantine or reject such mail, so a forwarder-based catch-all can silently lose legitimate messages along with the spam.

Backscatter is the other trap. A catch-all that accepts everything and then bounces internally, for example because the destination mailbox is full or the forwarder target rejects the message, generates non-delivery reports to forged sender addresses. Spammers forge those addresses deliberately, so your domain ends up sending bounce traffic to innocent third parties and picking up reputation damage. A mailbox default avoids most of this because the message is delivered locally and never re-sent.

Storage costs follow the same split. A mailbox default on a 5 GB plan fills up if nobody prunes it, and a full mailbox either rejects new mail or starts bouncing, which is exactly the backscatter scenario above. Forwarders store nothing, but they also give you no local copy to audit, and free email forwarding tiers often cap volume at a few hundred messages a day before silently dropping the rest.

Practical mitigations apply to both models. Publish SPF records that include every sending source, sign outbound mail with DKIM at the origin, and set a DMARC policy so receivers know what to do with failures. If you must forward, use SRS rewriting where the panel offers it. Otherwise, route the catch-all into a real mailbox you control and filter it there.

Choosing the Right Catch-All Model for Your Domain

Pick the model by asking one question: who owns the mailbox that receives the unrouted mail? If a real mailbox exists and you want everything to land there, a mailbox default (Namecheap’s approach) is the simplest fit. If you want unmatched mail forwarded somewhere else without paying for a mailbox, a domain-level forwarder (GoDaddy’s model) does the job. If the domain sits on shared hosting, cPanel’s Default Address is already there and needs only a target address.

Small businesses with one or two domains usually do best with a mailbox default. Every misspelled sales@ or info@ address lands in the owner’s inbox, replies come from a real account, and SPF/DKIM stay aligned because the mail is delivered, not relayed. The cost is spam volume: once a catch-all address is live, dictionary-style senders will find it within weeks, so plan on server-side filtering and a habit of checking the junk folder.

Privacy-conscious owners who register domains to protect a brand, not to read mail, should use a forwarder pointed at an existing personal inbox, or skip the catch-all and set a discard rule. A catch-all on a parked domain mostly collects spam and backscatter from forged senders. If the goal is simply to stop losing legitimate mail, forward only the handful of addresses you publish and let everything else get an SMTP rejection.

Multi-domain setups need the most care. If several domains point MX records at the same hosting panel, each domain has its own Default Address or forwarder, and changing one does not touch the others. Check where the MX records actually point before configuring anything: a catch-all set in a registrar’s panel does nothing for a domain whose mail is routed to Google Workspace, which requires its own catch-all rule, or to a third-party filter. Domain-level forwarders also override the Default Address in cPanel, so a forwarder left over from an earlier setup can quietly intercept mail you expected at the default mailbox.

Migration notes: export the list of existing forwarders and aliases before switching registrars, because most panels do not import them. Lower the MX record TTL to 300 seconds a day ahead, create the destination mailbox or forwarder at the new provider first, then repoint MX records. Keep the old catch-all active for 48 hours to catch in-flight mail, and test with an address that matches no alias. If you move from a forwarder model to a mailbox default, expect a one-time burst of spam as old addresses surface; filtering rules copied over in advance save a week of cleanup.

Before you touch a single toggle, run an MX record lookup on the domain and confirm which system actually receives mail: Google Workspace, Microsoft 365, cPanel, or a registrar’s own forwarder. That result decides everything. If MX points at Google Workspace or Microsoft 365, the registrar’s catch-all controls nothing, and you need the provider’s own catch-all rule or alias instead. If MX points at cPanel, the Default Address is your lever. If MX points at a registrar forwarder service such as Namecheap’s free email forwarding, the domain-level forwarder is the one that fires. Write the answer down next to the domain name in a plain text file; you will need it again the day mail starts disappearing.

Then pick one model and test it the same afternoon. Send a message to a nonsense address at your domain, such as q7test-4821@yourdomain.com, and watch where it lands. If it bounces with an SMTP rejection, no catch-all is active. If it arrives, check the headers to see which hop rewrote the recipient. Repeat the test after 24 hours, because DNS and panel changes propagate unevenly. Budget for the spam trade-off at the same time: a catch-all on a public-facing domain can pull in hundreds of junk messages a week within days of going live, so set a filter or a discard rule before you enable it, not after. Small teams that want a few role addresses should use explicit forwarders and skip the catch-all entirely. Privacy-conscious owners who register throwaway addresses should use the mailbox default or Default Address and review the inbox monthly. Anyone running several domains should document the catch-all model per domain, since a migration between registrars rarely carries the setting across.