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!

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:
    156
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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