Server Wide :blackhole: Setting

rcthost

Active Member
Sep 16, 2002
42
0
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?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
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: