Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    Default mass changing sub domains mail to :fail:

    Hi

    I have a load of parked domains and I need to set them all the default mail settings to :fail:

    Can anyone tell me how I can change these an easier way than doing them through WHM? through ssh or anything?

    also i got the title wrong, i mean to say Parked domains and not Sub domains

    cheers

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by loccom View Post
    Hi

    I have a load of parked domains and I need to set them all the default mail settings to :fail:

    Can anyone tell me how I can change these an easier way than doing them through WHM? through ssh or anything?

    also i got the title wrong, i mean to say Parked domains and not Sub domains

    cheers
    I can't think of anything offhand short of writing a script that interfaces with our APIs. However, if you want your server to default to fail, just go to Tweak Settings in WHM and for "Default catch-all/default address behavior for new accounts. "fail" is usually the best choice if you are getting mail attacks." select "fail" then click "save" at the bottom of the page.

  3. #3
    Member
    Join Date
    Feb 2005
    Location
    North Carolina
    Posts
    237

    Default

    If I understand the objective, this usually works for me. You may want to open one of the records under /etc/valiases/ to verify what you are replacing.

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

Similar Threads & Tags
Similar threads

  1. Changing domains to run on their own mail IP
    By biggsy in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 06-19-2011, 03:33 PM
  2. Mass park domains
    By sc00zy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-13-2010, 08:40 AM
  3. Mass change default address to :fail
    By SeaLuvR69 in forum E-mail Discussions
    Replies: 3
    Last Post: 10-13-2008, 02:55 AM
  4. mass unparking domains
    By pasqd in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-08-2007, 12:08 AM
  5. Mass DNS Changing
    By WebmastTroy in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-22-2003, 12:40 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube