Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Catch-all email of wildcard subdomain

Discussion in 'E-mail Discussion' started by hassan777, Sep 19, 2017.

  1. hassan777

    hassan777 Registered

    Sep 19, 2017
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    I need your help to default email address to forward to This means that any messages sent to an address that does not exist at will be forwarded to this email's inbox.
    I need to include any subdomains (wildcard) as well that a user attempts to send to that are not valid.

    I found this post
    email to wildcard subdomains not working

    And it's a great solution but it going to pipe to a program. what I need is to catch all emails and forward it to

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    You can configure the behavior for messages sent to non-existent email accounts by using the "Default Address" option in cPanel. It's documented at:

    Default Address - Documentation - cPanel Documentation

    However, you can only configure this behavior for domain names and subdomains added to the account. If you wanted all unrouted email to that domain name forwarded elsewhere, you would add custom Exim configuration rules, like referenced on this third-party URL:

    email to wildcard subdomains not working

    Note this would require root access, and your access level only shows as "Website Owner".

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice