LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-21-2004, 10:19 PM   #1
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Rep: Reputation: 30
SoamAssassin on Qmail Vpopmail


Hi Guys,

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
Anybody can help me...pls...
 
Old 07-21-2004, 10:21 PM   #2
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Original Poster
Rep: Reputation: 30
By the way I'm newbie on linux... this is my 1st install... so pls. easy on me...

Thanks
 
Old 07-22-2004, 07:47 AM   #3
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Quote:
Its not working...
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.
 
Old 07-22-2004, 10:49 PM   #4
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Original Poster
Rep: Reputation: 30
I'm tryin to install spamassassin 2.63 on redhat 7.3 I found this link

http://sylvestre.ledru.info/howto/ho...amassassin.php and follow all the instructions but for some reason I don't understand this part.
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
 
Old 07-23-2004, 12:30 AM   #5
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Well, here's what I've got...

[root@falcon root]# cat /etc/default/spamassassin
ENABLED=1
OPTIONS="-v -m 50 --auto-whitelist"

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.

Hope that helps.
 
Old 07-23-2004, 12:37 AM   #6
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Original Poster
Rep: Reputation: 30
Thanks Donboy,



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...
 
Old 07-23-2004, 12:40 AM   #7
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
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??
 
Old 07-23-2004, 12:42 AM   #8
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Original Poster
Rep: Reputation: 30
INSTALL said that I should install the DB_File and Net:NS... or should I install razor as well...


 
Old 07-23-2004, 12:43 AM   #9
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Original Poster
Rep: Reputation: 30
Quote:
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??
So what did you do on your spamassassin rules?
 
Old 07-23-2004, 12:45 AM   #10
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Original Poster
Rep: Reputation: 30
I tried to send a email subject is SEX still i can recieve it
 
Old 07-23-2004, 12:52 AM   #11
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
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?
 
Old 07-23-2004, 12:54 AM   #12
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
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!
 
Old 07-23-2004, 01:00 AM   #13
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Original Poster
Rep: Reputation: 30
Yep... the local.cf file i read it here http://wiki.apache.org/spamassassin/CustomRulesets have you tried it?
 
Old 07-23-2004, 01:01 AM   #14
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
I'm not really doing anything special in there... Here's mine...

Quote:
required_hits 5.0
subject_tag [SPAM]
rewrite_subject 1
report_header 1
use_terse_report 1
defang_mime 1
dns_available yes
dcc_add_header 1
use_dcc 1
skip_rbl_checks 0
rbl_timeout 3
num_check_received 3
score RCVD_IN_BL_SPAMCOP_NET 3
score RCVD_IN_OSIRUSOFT_COM 0
score X_OSIRU_DUL 0
score X_OSIRU_DUL_FH 0
score X_OSIRU_OPEN_RELAY 0
score X_OSIRU_SPAM_SRC 0
score X_OSIRU_SPAMWARE_SITE 0
 
Old 07-23-2004, 01:15 AM   #15
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Original Poster
Rep: Reputation: 30
Quote:
score RCVD_IN_BL_SPAMCOP_NET 3
score RCVD_IN_OSIRUSOFT_COM 0
score X_OSIRU_DUL 0
score X_OSIRU_DUL_FH 0
score X_OSIRU_OPEN_RELAY 0
score X_OSIRU_SPAM_SRC 0
score X_OSIRU_SPAMWARE_SITE 0
Whats that new option or 3rd party spam blocker or something....
 
  


Reply



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
qmail+vpopmail mdnair Linux - Networking 0 09-25-2004 03:35 AM
qmail, vpopmail ETeria Linux - Networking 7 12-04-2003 04:01 PM
qmail+vpopmail+mysql injun Linux - Networking 0 10-23-2003 04:20 AM
SpamAssassin + Qmail + Vpopmail icefantum Linux - Networking 2 07-18-2003 10:08 AM
qmail vpopmail problem Zingaro2002 Linux - Networking 1 01-21-2003 09:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:24 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