Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Default email space is out of control. Can we change all default emails to fail

    Thousands of accounts added the default email as catch all, but now we have accounts with 2 plus gigs of email they don't even care about.

    Anyone see a script that change catch all as the default to fail ? I have seen it before actually here on this forum.

    Also is there a way to remove all the catch all emails server wide?

    Thanks!

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Try from this:

    http://forums.cpanel.net/showthread.php?t=52170


    Code:
    replace :blackhole: :fail: -- /etc/valiases/*
    replace :blackhole :fail: -- /etc/valiases/*
    replace blackhole: :fail: -- /etc/valiases/*
    replace blackhole :fail: -- /etc/valiases/*
    replace " fail:" " :fail:" -- /etc/valiases/*
    replace /dev/null :fail: -- /etc/valiases/*
    cd /etc/valiases/
    grep fail * | grep -v " :fail:"
    Lloyd F Tennison

Similar Threads & Tags
Similar threads

  1. default address :FAIL: prevents new email accounts
    By handsonhosting in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-19-2009, 05:36 PM
  2. Mass change default address to :fail
    By SeaLuvR69 in forum E-mail Discussions
    Replies: 3
    Last Post: 10-13-2008, 02:55 AM
  3. Default email address to :fail:
    By landmark in forum cPanel Developers
    Replies: 0
    Last Post: 10-16-2007, 12:22 PM
  4. Junk email in default email account set as fail
    By Stanleytiew in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-10-2006, 07:14 PM
  5. How to change the default disk space quota
    By sln3 in forum New User Questions
    Replies: 1
    Last Post: 02-17-2005, 10:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube