Expert advice needed, please. Multiple catch-all for multiple sub-domains!

Consultancy

Registered
Feb 4, 2014
2
0
1
cPanel Access Level
Website Owner
Hello

I am migrating my domain to a new ISP and need some expert advice, please. I have:

mydomain.com
aaa.mydomain.com
bbb.mydomain.com
ccc.mydomain.com

Each has catch-all email addresses using the domain.

My question is: Can I set up cPanel to filter all emails to all sub-domains without having to set-up all the individual sub-domains again ?

Thansk in advance.

Rod
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

You could setup an account level filter so that messages are discarded if the "to" address does not match a specific pattern. However, if your goal is to bounce all messages sent to non-existing email accounts, that behavior can be implemented by default. In "WHM Home » Server Configuration » Tweak Settings", under the "Mail" tab, the "Initial default/catch-all forwarder destination" can be set to "Fail".

Thank you.
 

Consultancy

Registered
Feb 4, 2014
2
0
1
cPanel Access Level
Website Owner
Michael, thanks.

I need to add that I want all emails to still be received - just, to confirm, not to have to set up the sub-domains again.

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Are you transferring the account from another cPanel server? If so, all of the subdomains and their email accounts/settings will be transferred over. You must create the subdomains if you want to setup email accounts for them and have them receive emails.

Thank you.