LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-03-2014, 03:02 AM   #1
jayram1989
LQ Newbie
 
Registered: Aug 2013
Posts: 13

Rep: Reputation: Disabled
Unhappy How to disable blacklist checking and enable content preview in spamassassin 3.3.1


I want to disable all the blacklist check from spamassassin, once a new mail is received by mail server. Since the blacklist checking in makes the server load spikes to higher rate.Also please help me how to enable content preview feature just like below for spamassassin.

"Content preview: This is a test [...]

Content analysis details: (1.0 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
-0.0 SPF_PASS SPF: sender matches SPF record
-0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
domain
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
0.1 DKIM_SIGNED Message has a DKIM or DK signal

Last edited by jayram1989; 02-03-2014 at 03:04 AM.
 
Old 02-04-2014, 05:24 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by jayram1989 View Post
I want to disable all the blacklist check from spamassassin (..) Since the blacklist checking in makes the server load spikes to higher rate.
Doesn't really make sense because nothing (OK, maybe greylisting) protects you from a sender sending spam on the 2nd run. Plus Spamassassin simply is a resource hog.


Quote:
Originally Posted by jayram1989 View Post
Also please help me how to enable content preview feature just like below for spamassassin.
You don't want that enabled for regular mail delivery. Plus, unless you configured it differently, the Spamassassin "verdict" will be stored in the email message header already.
 
Old 02-05-2014, 03:09 AM   #3
jayram1989
LQ Newbie
 
Registered: Aug 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks for your Reply
But I'm using spamassassin for testing purpose not for sending or receiving mails. It would be greatful if you suggest me how to disable the blacklist checking and also how to enable Content analysis report for the mail header.
 
Old 02-05-2014, 01:06 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by jayram1989 View Post
It would be greatful if you suggest me how to disable the blacklist checking and
Check the updates_spamassassin_org.cf file in /var/lib/spamassassin/?


Quote:
Originally Posted by jayram1989 View Post
also how to enable Content analysis report for the mail header.
Change your Procmail recipe to something like
Code:
:0
| spamassassin --test-mode
?
 
Old 02-06-2014, 05:28 AM   #5
jayram1989
LQ Newbie
 
Registered: Aug 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
Check the updates_spamassassin_org.cf file in /var/lib/spamassassin/?

I was wondered, there are so many files are there having extention .cf. please provide me the particular file name to disable the blacklist check from the list of following files?

10_default_prefs.cf 20_fake_helo_tests.cf 20_phrases.cf 25_dcc.cf 30_text_de.cf 60_shortcircuit.cf local.cf
10_hasbase.cf 20_freemail.cf 20_porn.cf 25_dkim.cf 30_text_fr.cf 60_whitelist.cf MIRRORED.BY
20_advance_fee.cf 20_freemail_domains.cf 20_ratware.cf 25_hashcash.cf 30_text_it.cf 60_whitelist_dkim.cf regression_tests.cf
20_aux_tlds.cf 20_head_tests.cf 20_uri_tests.cf 25_pyzor.cf 30_text_nl.cf 60_whitelist_spf.cf sa-update-pubkey.txt
20_body_tests.cf 20_html_tests.cf 20_vbounce.cf 25_razor2.cf 30_text_pl.cf 60_whitelist_subject.cf STATISTICS-set0-72_scores.cf.txt
20_compensate.cf 20_imageinfo.cf 23_bayes.cf 25_replace.cf 30_text_pt_br.cf 72_active.cf STATISTICS-set1-72_scores.cf.txt
20_dnsbl_tests.cf 20_mailspike.cf 25_accessdb.cf 25_spf.cf 50_scores.cf 72_scores.cf STATISTICS-set2-72_scores.cf.txt
20_drugs.cf 20_meta_tests.cf 25_antivirus.cf 25_textcat.cf 60_adsp_override_dkim.cf 73_sandbox_manual_scores.cf STATISTICS-set3-72_scores.cf.txt
20_dynrdns.cf 20_net_tests.cf 25_asn.cf 25_uribl.cf 60_awl.cf languages user_prefs.template

Sorry I didn't understand from your reply as
"Change your Procmail recipe to something like"
spamassassin --test-mode

Last edited by jayram1989; 02-06-2014 at 05:29 AM.
 
Old 02-06-2014, 11:29 PM   #6
jayram1989
LQ Newbie
 
Registered: Aug 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
Currently I'm using postfix and dovecot with spamassassin, not using procmail
 
Old 02-07-2014, 12:45 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by jayram1989 View Post
I was wondered, there are so many files are there having extention .cf. please provide me the particular file name to disable the blacklist check from the list of following files?
The updates_spamassassin_org.cf (See? I already gave you the name. It's just a question of reading.) may reside outside of that directory. If it's not there then you best consult the spamassassin documentation first.


Quote:
Originally Posted by jayram1989 View Post
Sorry I didn't understand from your reply as
"Change your Procmail recipe to something like"
spamassassin --test-mode
For me the delivery recipes are in /etc/mail/spamassassin/. If they aren't there then you best consult the spamassassin documentation.
 
  


Reply

Tags
centos6, postfix, 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
Checking mail's content with a script gubak Linux - Newbie 6 05-04-2007 07:31 AM
spamassassin and blacklist/whitelist activeq Linux - Software 2 04-27-2007 07:06 AM
Spamassassin checking some messages, but not others Arthur_UK Linux - Software 3 04-13-2006 08:03 AM
spamassassin blacklist stomach Linux - Software 1 02-08-2006 04:37 PM
spamassassin blacklist updates. Retrox Linux - Security 2 05-15-2004 10:32 AM

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

All times are GMT -5. The time now is 06:57 PM.

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