Default address for new hosting accounts

mlopez

Well-Known Member
Dec 17, 2020
76
13
8
Maldonado - Uruguay
cPanel Access Level
Root Administrator
Twitter
Hello,

Is there a way to set the default email address for new hosting accounts to be 'Discard with an error...' instead of creating a catch-all account?

1685988956404.png

I need to bulk change this in all accounts hosted in the server and also for the future created accounts.

Thank you in advance
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,570
2,612
363
cPanel Access Level
Root Administrator
Hey there! We don't have an option to set this at account creation time.

If you wanted to adjust this server-wide, the best way to do that would be to create a for loop with the following API:

 
  • Like
Reactions: mlopez