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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-03-2014, 04:02 AM
|
#1
|
LQ Newbie
Registered: Aug 2013
Posts: 13
Rep: 
|
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 04:04 AM.
|
|
|
02-04-2014, 06:24 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by jayram1989
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
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.
|
|
|
02-05-2014, 04:09 AM
|
#3
|
LQ Newbie
Registered: Aug 2013
Posts: 13
Original Poster
Rep: 
|
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.
|
|
|
02-05-2014, 02:06 PM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by jayram1989
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
also how to enable Content analysis report for the mail header.
|
Change your Procmail recipe to something like
Code:
:0
| spamassassin --test-mode
?
|
|
|
02-06-2014, 06:28 AM
|
#5
|
LQ Newbie
Registered: Aug 2013
Posts: 13
Original Poster
Rep: 
|
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 06:29 AM.
|
|
|
02-07-2014, 12:29 AM
|
#6
|
LQ Newbie
Registered: Aug 2013
Posts: 13
Original Poster
Rep: 
|
Currently I'm using postfix and dovecot with spamassassin, not using procmail
|
|
|
02-07-2014, 01:45 AM
|
#7
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by jayram1989
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
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.
|
|
|
All times are GMT -5. The time now is 10:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|