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!

Mass change default address to :fail

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

  1. SeaLuvR69

    SeaLuvR69 Registered

    Joined:
    Aug 30, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    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:
    168
    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:
    51
    Worked Perfect!!! Thanks a million RickG!

     
  4. ArbuZz

    ArbuZz Active Member

    Joined:
    Mar 27, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    156
    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

  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