Apache SpamAssassin delete / redirect based on Subject example?

expatCanuck

Member
Dec 11, 2008
8
0
51
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 apache.org 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
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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.