The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Share This Page