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!

Set Default Address for all addon domains at once?

Discussion in 'General Discussion' started by boatdesign, Aug 19, 2007.

  1. boatdesign

    boatdesign Well-Known Member

    Sep 13, 2003
    Likes Received:
    Trophy Points:
    Is there a way to set the default address (catchall) for all addon domains at once to :fail: no such address here or do you have to do this one at a time over and over and over again (one account for example has 15 addon domains so it seems you have to click each one, see what the current setting is after a few seconds, and then set it if difference at which point you are redirected to a success page, and then you have to go back and find your place and do it for the next one.)

    It would be a huge timesaver to have a convenient table where you could see what all the add-on domains were set to all at once, and more importantly, set them all to the same if you wanted with one click. Or is there already an easy way to do this?
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    May 20, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    From CLI:

    replace :blackhole: :fail: -- /etc/valiases/*

    In WHM > Tweak Settings > Mail section also set:

    Default catch-all/default address behavior for new accounts. fail is usually the best choice if you are getting mail attacks.

    To fail
    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