Hi Jake,

 

You pretty much hit the nail on the head – I’d like to be able to move any email with ***SPAM*** in the subject to the spam folder (since it is tagged if it gets a scare of 5+)  I checked /etc/mail and didn’t see that script.  Here’s a listing of what I have:

 

[EMAIL PROTECTED] mail]# ls -la

total 344

drwxr-xr-x   3 root root  4096 Jun  7 14:13 .

drwxr-xr-x  72 root root  4096 Jun  7 04:04 ..

-rw-r-----   1 root root 12288 Dec 26 19:23 local-host-names.db

-rw-r--r--   1 root root 58022 Dec 26 19:31 sendmail.cf.bak

-rw-r--r--   1 root root 58064 Mar 22 10:18 sendmail.cf.rpmnew

-rw-r--r--   1 root root 58049 Apr 28 14:17 sendmail.cf.rpmsave

drwxr-xr-x   2 root root  4096 Jun  7 14:29 spamassassin

-rw-r--r--   1 root root 40288 Dec 26 19:15 submit.cf.bak

-r--r--r--   1 root root 41333 Mar 22 10:18 submit.cf.rpmnew

-rw-r--r--   1 root root 40288 Apr 28 14:19 submit.cf.rpmsave

 

So far what I’ve done is modified the local.cf file and set the skip_rbl_checks to 0

 

ok_locales all

skip_rbl_checks 0

 

required_hits 5

report_safe 0

rewrite_header Subject ***SPAM***

 

use_pyzor 1

 

use_auto_whitelist 1

 

use_bayes 1

use_bayes_rules 1

bayes_auto_learn 1

 

Does the rbl check read the blacklists that I put in /var/qmail/control/blacklists ?  If so I put all the ones you recommended on your page.  I also grabbed your live rules.cf and ran the spamassassin –D –lint command and restarted spamd.

 

As far as creating spam folders do I create those in /home/vpopmail/domains/domain/Maildir/ ?

 

Thanks for your help J

 

Jon

 


From: Jake Vickers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 6:40 AM
To: [email protected]
Subject: Re: [qmailtoaster] SpamAssasssin and alternate SMTP port

 

Jon M. Ernster wrote:

George,

 

Thank you very much!  Once again something wasn’t installed (simscan) – I installed it and ran those commands below and now spamassassin is functional.

 

I appreciate the tip as well on sending the test message – it worked great…when setting up my server I was using a secondary domain for testing prior to moving over my production domain and there were some residual affects of using the secondary name that were left behind…creating those test emails helped me resolve a lot of the secondary domain references that qmail was using throughout files in the /var/qmail/control directory.

 

Now that I have SpamAssassin enabled there are emails coming through with ***SPAM*** in the subjects.  Is there a config file for SpamAssassin that I can configure its functionality.  And also is there a way to setup content filters server or side or should I just set them up inside the mail program?  When I used cpanel it had functionality of setting up content filters but I’m not sure if it interfaced with the MTA some how or if it was a third party program or what (it wasn’t qmail running anyhow).

 

I’ll have to start reading through some of the threads previous people have made regarding SpamAssassin to hopefully get more familiar with how it works.

 

I appreciate everyone’s help – you guys have a great community here with a lot of helpful people.

 

Glad to see you've got it working.
To configure spamassassin, edit the file /etc/mail/spamassassin/local.cf
This will allow you to set some things, like at what score you want to to tag messages as ** SPAM **. As far as content filters - what are you looking to do? There's a script in /etc/mail (mailfilter is the script) that will send messages over a specific score to a user's Spam folder (you can set CHKUSER_MBXQUOTA="99" in your tcp.smtp for both the localhost and the other entries to fix the quota issue with the folder).

Reply via email to