LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-07-2014, 10:43 PM   #1
jayram1989
LQ Newbie
 
Registered: Aug 2013
Posts: 13

Rep: Reputation: Disabled
How to configure the spamassassin to check for spam keywords in email body


I'm trying to tracking the spam keywords in an email body part,for this I need to accomplish this check via spamassassin. Please help me to out to configure the spamassassin to setup this functionality. Also

Last edited by jayram1989; 02-07-2014 at 10:47 PM.
 
Old 02-08-2014, 03:13 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You can create a rule in local.cf like this:
Code:
rawbody SPAMMY  /(keyword1|keyword2|keyword3)/i
score SPAMMY 5
describe SPAMMY Spam keywords
Regards
 
Old 02-08-2014, 11:41 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
There's quite a bit of information out there. Searching "spamassassin rules linux" got me this, among other things
https://www.packtpub.com/article/cus...in-linux-email

Personally, I just rely on SpamAssassin's learning (see the man page): after studying several hundred emails sorted as spam and ham it soon got the hang of it.
 
  


Reply

Tags
centos6, dovecot, postfix, spamassasin, spamassassin



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
Spamassassin and marking spam in email clients jsp_1983 Linux - Newbie 2 10-07-2011 09:55 AM
LXer: How to check if your email server looks like a spam source LXer Syndicated Linux News 0 05-15-2010 04:00 PM
how to check that the email server is being used by someone to send spam ? kkeith Linux - Newbie 2 09-07-2006 06:37 AM
Email and spam in different folders using spamassassin tensigh Linux - Software 3 08-11-2005 10:21 AM
As will get rid of a spam on keywords ukrainet Linux - Newbie 2 12-13-2004 03:00 AM

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

All times are GMT -5. The time now is 07:18 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
Open Source Consulting | Domain Registration