LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-29-2004, 09:20 AM   #1
bigdogg
Member
 
Registered: Oct 2003
Distribution: Fedora Core 1
Posts: 80

Rep: Reputation: 15
Spamassassin Config


I have been altering and tweaking my local.cf file to get the best possbile spam config. I'm trying to add mutiple key words for the subject line but I can only add one if I add more it stops working for the key words in the subject line. This is what I have:

#Header Key Words#


header LOCAL_DEMONSTRATION_SUBJECT Subject =~ /\Cialis\b/i
score LOCAL_DEMONSTRATION_SUBJECT 4

~~~~~~~~~~~~~~~~~~~~~~~~~

Now if I try to add the following it does not work:


header LOCAL_DEMONSTRATION_SUBJECT Subject =~ /\Cialis,Arousal\b/i
score LOCAL_DEMONSTRATION_SUBJECT 4

or

header LOCAL_DEMONSTRATION_SUBJECT Subject =~ /\Cialis\b/i
score LOCAL_DEMONSTRATION_SUBJECT 4

header LOCAL_DEMONSTRATION_SUBJECT Subject =~ /\Arousal\b/i
score LOCAL_DEMONSTRATION_SUBJECT 4

Any suggestions on how I can add mutiple key words to mark as spam in the subject line? I have about 10 key words I would like to add.

Thanks,

BiG
 
Old 11-29-2004, 10:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
you should be able to make your own rules along iwth the rest of the spamassasin rules. i was messing with it on the weekend and cialis is filtered a load of times in the 20-drug filter file already. i think the only reason you should be definning scores within your local.cf is to modify existing header scores, but to be honest i'm not that up on what should be done where.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Amavis Spamassassin Config, Where to change settings? schoeppchen Linux - General 1 08-15-2005 11:19 AM
Spamassassin using vpopmail/qmail/courier-imap config issues korozion Linux - Software 0 03-14-2005 05:29 PM
Postfix, IMAP, POP, Spamassassin Config Help please fleabag Linux - Software 3 02-20-2005 12:44 AM
spamassassin 3.0 config file Red Squirrel Linux - Software 3 12-04-2004 10:54 AM
spamassassin config, filter multiple "To" ? SharpyWarpy Linux - Software 2 07-28-2004 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration