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.

Server Wide :blackhole: Setting

Discussion in 'General Discussion' started by rcthost, Jun 28, 2004.

  1. rcthost

    rcthost Active Member

    Joined:
    Sep 16, 2002
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    I know that we can now set :blackhole: as default on any new accounts, but is there a way to set all accounts default email to :blackhole: on all accounts already on the server?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You would need to write a little script in your favourite language to go into /etc/valiases and search each file for the line starting:

    *: <something>

    and set it to:

    *: :blackhole:
     
Loading...

Share This Page