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

    Joined:
    Sep 19, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Malaysia
    cPanel Access Level:
    Website Owner
    I need your help to default email address to forward to catchall@domain.com. This means that any messages sent to an address that does not exist at domain.com 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.
    e.g. anything@anything.domain.com

    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 catchall@domain.com.

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    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...
Loading...

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