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.

Importing "Blocked Email Addresses"

Discussion in 'E-mail Discussions' started by neil154, Oct 26, 2013.

  1. neil154

    neil154 Well-Known Member

    Oct 17, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    I have a list of email address that I would like to have blocked. I know that I can do a copy & paste into BoxTrapper but I do not use BoxTrapper because I do not want my business clients to get a bounce back message that they would need to respond to. So the only solution I know would be to put the addresses in the email filtering but the list is long and I don't want to spend the day to add them one by one, I would like to import them.

    Does anyone have suggestions on how I can accomplish my objective without having to manually add each email address to a filter?
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You are limited in the options available to you without root access to the system. Is SpamAssassin enabled for your account? If so, you can manually modify the following file:


    You will need to add in a line for each email account you want to block with the following format:

    You can then setup a filter to determine what action to take for messages marked as SPAM.

    Thank you.

Share This Page