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.

Allowing email by a code word in the subject line

Discussion in 'E-mail Discussions' started by cPandemonium, Jan 25, 2008.

  1. cPandemonium

    cPandemonium Registered

    Joined:
    Jan 25, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I would like to set up an email account in the cPanel that will only accept email with a certain word in the subject line. For example, I want to set a rule that scans the subject line for the word BROCCOLI. If BROCCOLI is in the subject line, the email gets through, if the subject line does not contain the word BROCCOLI then the email is trashed.

    The purpose of this is to have a mailbox INFO@DOMAIN.COM, and in order to avoid spam, the individual emailing the INFO@DOMAIN.COM address has to include the word BROCCOLI in the subject line.

    Subject: Nigerian prince wants to give you $10 million = trashed

    Subject: Nigernian prince eats his BROCOLLI and gets big and strong = routed to INFO@DOMAIN.COM
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can go to the cPanel interface and in the Mail section click on User-Level Filtering. For info@domain.com click on Manage Filters. Then click Create New Filter. You can then create a rule that if the subject does not contain BROCCOLI to discard message.
     
  3. cPandemonium

    cPandemonium Registered

    Joined:
    Jan 25, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I do not have an option for User-Level Filtering in my cPanel. I DO have an, "Email Filtering" option. It just doesn't allow me to make a rule for if SUBJECT DOES NOT CONTAIN BROCOLLI. I only get options for: EQUALS; MATCHES REGEX; CONTAINS; and BEGINS WITH.

    Basically, I want to Discard any email that does not have BROCOLLI in the subject line. If the subject line does have BROCOLLI then the email gets through to the appropriate mail box.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Are you using the X3 theme? If so and if you have root access to the server, has user level filtering been disabled in the disabled feature list? If you do not have root access, you should contact your hosting provider regarding this issue.

    If you are not set to use the X3 theme, if you are a reseller, simply modify your account to use the X3 theme. Otherwise, contact your hosting provider.
     
  5. cPandemonium

    cPandemonium Registered

    Joined:
    Jan 25, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    That was it. I did not have the X3 installed and that worked great. Thanks.
     
Loading...

Share This Page