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.

Mass change default address to :fail

Discussion in 'E-mail Discussions' started by SeaLuvR69, Aug 30, 2008.

  1. SeaLuvR69

    SeaLuvR69 Registered

    Joined:
    Aug 30, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Is there a way to 'mass' change all accounts' DEFAULT mail to :fail? Maybe a 'script' to modify it in /etc/valiases/
     
  2. RickG

    RickG Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    238
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    North Carolina
    Presuming it was set to blackhole, simply use:

    replace :blackhole: :fail: -- /etc/valiases/*
     
  3. SeaLuvR69

    SeaLuvR69 Registered

    Joined:
    Aug 30, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Worked Perfect!!! Thanks a million RickG!

     
  4. ArbuZz

    ArbuZz Active Member

    Joined:
    Mar 27, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    And what if I just change :blackhole to :fail in tweak settings section of WHM. Won't it do the thing?
     
Loading...

Share This Page