Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I just finish installing the spamassassin2.6.3-1.rpm and I already all this lines on local.cf
___________________________________________________________________
required_hits 5.0
rewrite_subject 0
subject_tag *****SPAM*****
report_safe 1
use_terse_report 0
use_bayes 1
auto_learn 1
skip_rbl_checks 0
use_razor2 0
use_dcc 1
use_pyzor 0
ok_languages en
ok_locales en
____________________________________________________________________
Its not working...
and I don't get this message
Quote:
In /etc/default/spamassassin (if this file does not exist, create it)
Change ENABLED to 1, then add these options to "-m 10 -v --auto-whitelist".
With that stuff, you can launch spamd which is bascilly a spamassassin deamon (provide great performances).
-m 10 => 10 childs
-v => vpopmail config
--auto-whitelist => Use auto whitelist (friend list)
Instead of spamassassin, you have to use spamc in order to test email.
There are some options "-c -u vpopmail" which enabled the creation of preferences for a domain or a user but it does not work very well for me.
/etc/init.d/spamassassin start
This isn't really enough info. What happened, exactly? What did you expect to have happen that didn't? I guess you were testing spamassassin by injecting a test message?
What howto are you using for this?
I don't know if this will help, but check the first link in my sig and click on the link for Spamassassin near the top. This may give you some insights into how to set it up.
In /etc/default/spamassassin (if this file does not exist, create it)
Change ENABLED to 1, then add these options to "-m 10 -v --auto-whitelist".
With that stuff, you can launch spamd which is bascilly a spamassassin deamon (provide great performances).
-m 10 => 10 childs
-v => vpopmail config
--auto-whitelist => Use auto whitelist (friend list)
Instead of spamassassin, you have to use spamc in order to test email.
There are some options "-c -u vpopmail" which enabled the creation of preferences for a domain or a user but it does not work very well for me.
/etc/init.d/spamassassin start
So you should make your file look the same. Of course, his instructions specify you should use 10 for the children instead of 50 that I'm using.
The -c -u vpopmail are some alternative options he's saying exist but doesn't recommend using.
The /etc/init.d/spamassassin start is the command used to start the spamassassin daemon. I haven't used this particular howto, but I'm assuming that later on he will explain how to make the daemon start when the system boots. Course you can do that yourself easily using chkconfig --level 2345 spamassassin on.
BTW the autowhitelist is included when I install the spamassassin right...??? or should I install it also...??? I already did what you told me... Its running alright but its not filtering spam...
Man, I really don't know. I have never used the whitelist. How do you know it's not filtering spam? What makes you believe that? What did you expect to happen that didn't??
Originally posted by Donboy Man, I really don't know. I have never used the whitelist. How do you know it's not filtering spam? What makes you believe that? What did you expect to happen that didn't??
Yeah, I'm running razor2 and it does good things. But you know what... I'll tell you something.... I am starting to think that spamassassin isn't very useful. The only thing I find spamassassin good for is deleting spam that scores above a certain number of points (which is good when messages slip through the cracks that have over 20 hits!) and it's good for tagging the subject line of spam messages.
But the thing is... most of the clever spam I'm seeing these days are able to slip past spamassassin. These spammers are getting very smart these days. They are coming up with spam that only scores just a few points on spamassassin... well below the limit I've set to rewrite the subject on a score of 5, which most people will tell you is much too low!
So in my opinion, spamassassin is barely worth it. You can block a whole lot more spam with rblsmtpd which comes included with qmail anyhow! Plus, SA runs a whole bunch of CPU cycles when it's scanning messages, so I'm not thrilled about that either.
But those are just my 2 bit opinions. If you really want SA to work, razor2 will certainly help get better results than just running SA by itself.
Which rules were you talking about? You mean my local.cf file?
Heh... yeah, that's not enough to make SA have a cow. You can put sex in the subject and it'll still work. The deal is... SA is supposed to check for certain properties of the message, like how many URL's are included in the body of the message... how many images are embedded... whether it's an HTML email or not... typical characteristics of a spam message. Best thing to do is sit back and wait for spam to come rolling in. If your mailbox is anything like mine, that should only be like a 5 minute wait time. LOL!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.