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.

Automatic default address and spam assassin

Discussion in 'General Discussion' started by flash_me, Dec 7, 2003.

  1. flash_me

    flash_me Member

    Joined:
    Sep 30, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello everyone

    I'm a reseller with cpanel and i have about 350 accounts...

    was thinking if there was some script that can automatically
    set the change for all the accounts to "Send all unrouted e-mail for: :blackhole: " and if there was a way to turn the spam assassin on for all the accounts.

    Hope to have good news


    :) Thanks Andy
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    This isn't a script for the blackhole setting, but it may help.

    All you need to do there is add
    *: :blackhole:
    to the end of all the files in the /etc/valiases directory.

    There are various programs that allow an easy search and replace on multiple files.
     
  3. flash_me

    flash_me Member

    Joined:
    Sep 30, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Thanks squirrel :)

    but i was searching some perl script to do it......any suggestions or links to give a look :)
     
Loading...

Share This Page