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!

Apache SpamAssassin delete / redirect based on Subject example?

Discussion in 'E-mail Discussion' started by expatCanuck, Nov 12, 2011.

  1. expatCanuck

    expatCanuck Member

    Dec 11, 2008
    Likes Received:
    Trophy Points:
    Greetings -

    Since my site host disabled BoxTrapper, I encounter a LOT more spam during the day.

    I'd like to create one or more rules to delete (or at least redirect) email
    if the Subject fields contain a known trigger word or phrase.

    For example, I'd like to redirect any email whose Subject contains 'jewelry'
    to (e.g.) spamCatcher AT myDomain DOT com.

    I can't find any .cf files on my site via cPanel's FileManager -- I seem only to have access
    to the /.spamassassin/user_prefs file.

    If anyone could
    i) advise whether I can in fact perform the redirection described with SpamAssassin
    (and, if so,)
    ii) provide a straightforward, complete example (as opposed to just a snippet)

    I'd really appreciate it.

    [Yes, I have reviewed the relevant SpamAssassin pages (and others),
    but what I've seen seems geared to Admins with more complete 'nix access -- I'm limited
    to what I can access via (my admittedly limited knowledge of) cPanel.]

    Thanks kindly,

    - Richard
    #1 expatCanuck, Nov 12, 2011
    Last edited: Nov 12, 2011
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Re: SpamAssassin delete / redirect based on Subject example?

    Do you have access to cPanel > Account Level Filtering area? If so, you should simply be able to use filtering there to setup such filters.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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