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!

Importing "Blocked Email Addresses"

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

  1. neil154

    neil154 Well-Known Member

    Joined:
    Oct 17, 2013
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:

    /home/$username/.spamassassin/user_prefs

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

    Code:
    blacklist_from 123@domain.com
    You can then setup a filter to determine what action to take for messages marked as SPAM.

    Thank you.
     
    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