RE: [toaster] Spam scores required
On Tue, 2007-07-24 at 18:47 -0400, Andy Abshagen wrote: Exactly right. This was discussed in a thread I started a few months ago. The bug I found was that If spamassassin tagged the message as spam with a score of say 5.0 and the simcontrol file has a score of 10, the message would be bounced regardless. I found that by setting the spamassassin score to something very high things worked fine. Shane Bill, You are correct. Changing the number in simcontrol only changes the reject score not the tag score. If you want emails to be tagged at a lower number you need to setup the per user as you stated. Andy -Original Message- From: Bill Shupp [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 6:45 PM To: toaster@shupp.org Subject: Re: [toaster] Spam scores required [EMAIL PROTECTED] wrote: It exactly is (trying to make hits 5.1 for that domain): bohemiaevents.com:clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif,spam_hits=5.1 :clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif Ah, I think I know what's happening. I believe spam_hits does not change the spam threshhold for being marked as spam, but rather changes the *reject* threshold. Perhaps someone knows for sure? I don't have time to look it up. If you need custom scores for users, you should look into per-user preferences, like storing preferences in SQL. Bill
[toaster] Spam scores required
Hello, after a years with Bill's toaster I have a problem :-/ An owner of one domain is complaining about spam. I wanted to lower default required score from 2.5 to let's say 2 I added this line bohemiaevents.com:clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif,spam_hits=2.0 to /var/qmail/control/simcontrol and executed simscanmk. But, received e-mails after this still contain this: Received: (qmail 13217 invoked by uid 89); 24 Jul 2007 19:26:33 - Received: by simscan 1.2.0 ppid: 13210, pid: 13211, t: 3.9327s scanners: attach: 1.2.0 clamav: 0.88.4/m:44/d:3746 spam: 3.2.0 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on futura X-Spam-Level: ** X-Spam-Status: No, *score=2.3 required=2.5* tests=AWL,BAYES_99,HTML_MESSAGE, RDNS_NONE autolearn=no version=3.2.0 What should I do. I am sure it works well in simscan 1.2.0 on another computer, but, maybe I'm dumb :D Regards, Roman
Re: [toaster] Spam scores required
Hi Bill, nice to write to you ;-) Unfortunately yes: It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --enable-user=clamav --enable-clamav=y --enable-spam=y --enable-spam-passthru=y --enable-per-domain=y --enable-ripmime --enable-attach=y --enable-received=y --enable-custom-smtp-reject=y --enable-spam-hits=6 --enable-quarantinedir=/var/qmail/quarantine Should I disable anything? Roman Bill Shupp napsal(a): Roman Bělonohý wrote: Hello, after a years with Bill's toaster I have a problem :-/ An owner of one domain is complaining about spam. I wanted to lower default required score from 2.5 to let's say 2 I added this line bohemiaevents.com:clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif,spam_hits=2.0 to /var/qmail/control/simcontrol and executed simscanmk. Did you compile simscan with --enable-spam-hits? If not, then you can't set it in simcontrol. Regards, Bill
Re: [toaster] Spam scores required
[EMAIL PROTECTED] wrote: Hi Bill, nice to write to you ;-) Unfortunately yes: It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --enable-user=clamav --enable-clamav=y --enable-spam=y --enable-spam-passthru=y --enable-per-domain=y --enable-ripmime --enable-attach=y --enable-received=y --enable-custom-smtp-reject=y --enable-spam-hits=6 --enable-quarantinedir=/var/qmail/quarantine Should I disable anything? Make sure your custom simcontrol entry is *above* any default entry. If it's below it, the default will override your custom entry. Rules are read from the top down, just like tcp.smtp. Regards, Bill
Re: [toaster] Spam scores required
Bill Shupp wrote: [EMAIL PROTECTED] wrote: Hi Bill, nice to write to you ;-) Unfortunately yes: It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --enable-user=clamav --enable-clamav=y --enable-spam=y --enable-spam-passthru=y --enable-per-domain=y --enable-ripmime --enable-attach=y --enable-received=y --enable-custom-smtp-reject=y --enable-spam-hits=6 --enable-quarantinedir=/var/qmail/quarantine Should I disable anything? Make sure your custom simcontrol entry is *above* any default entry. If it's below it, the default will override your custom entry. Rules are read from the top down, just like tcp.smtp. Regards, Bill Hi, It doesn't work in 1.3.1, it appears to work in 1.2. Also, the regex rules run regardless of any entries in simcontrol that specify regex NOT to run for a given domain or [EMAIL PROTECTED], this applies to 1.2 and 1.3.1 Regards, Rick
Re: [toaster] Spam scores required
It exactly is (trying to make hits 5.1 for that domain): bohemiaevents.com:clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif,spam_hits=5.1 :clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif Bill Shupp napsal(a): [EMAIL PROTECTED] wrote: Hi Bill, nice to write to you ;-) Unfortunately yes: It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --enable-user=clamav --enable-clamav=y --enable-spam=y --enable-spam-passthru=y --enable-per-domain=y --enable-ripmime --enable-attach=y --enable-received=y --enable-custom-smtp-reject=y --enable-spam-hits=6 --enable-quarantinedir=/var/qmail/quarantine Should I disable anything? Make sure your custom simcontrol entry is *above* any default entry. If it's below it, the default will override your custom entry. Rules are read from the top down, just like tcp.smtp. Regards, Bill
Re: [toaster] Spam scores required
Seems that it doesn't work in 1.2 - check my previous message to Bill. Any idea what's going wrong? Can I debug it somehow? Roman Make sure your custom simcontrol entry is *above* any default entry. If Hi, It doesn't work in 1.3.1, it appears to work in 1.2.
RE: [toaster] Spam scores required
Bill, You are correct. Changing the number in simcontrol only changes the reject score not the tag score. If you want emails to be tagged at a lower number you need to setup the per user as you stated. Andy -Original Message- From: Bill Shupp [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 6:45 PM To: toaster@shupp.org Subject: Re: [toaster] Spam scores required [EMAIL PROTECTED] wrote: It exactly is (trying to make hits 5.1 for that domain): bohemiaevents.com:clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif,spam_hits=5.1 :clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif Ah, I think I know what's happening. I believe spam_hits does not change the spam threshhold for being marked as spam, but rather changes the *reject* threshold. Perhaps someone knows for sure? I don't have time to look it up. If you need custom scores for users, you should look into per-user preferences, like storing preferences in SQL. Bill