Re: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Paul Traina
I'm a FreeBSD committer. The right answer is to have spamassassin, when it is invoked as a daemon, write its pid out to a file called /var/run/spamassassin.pid. Do not use killall. I would suggest adding a command line option to spamassassin to do this, and then having /usr/local/etc/rc.d/spama

Re: [SAtalk] Stuff

2002-02-26 Thread Craig Hughes
Until just about 5 minutes ago we were waiting on a GA run to rescore the rules. Now that's done, we're waiting on me to clear out my backlog of emails from people asking when the release will be. In other words, I'm planning on doing the release tonight (assuming justin's release scripts all wo

[SAtalk] More questions!

2002-02-26 Thread Mike Loiterman
I’ve included the following commands in my /etc/mail/spamassassin/local.cf file:   score RCVD_IN_RBL       10 score RCVD_IN_RSS       1 score RCVD_IN_DUL       1 score RCVD_IN_BL_SPAMCOP_NET        4   Is that e

RE: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Mike Loiterman
But the problem I'm encountering is that the process is called /usr/bin/perl /usr/local/sbin/spamd. The killall command is not accepting any of the derivatives of that line I give it. For example, killall spamd, killall /usr/local/sbin/spamd, and killall /usr/bin/perl /usr/local/sbin/spamd all

Re: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Olivier Nicole
I think FreeBSD (at least) as a killall function that should do the trick. Olivier ___ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

RE: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Mike Loiterman
I've looked at other scripts...and that was the best I could come up with. Any other BSD users out there? > -Original Message- > From: [EMAIL PROTECTED] [mailto:spamassassin-talk- > [EMAIL PROTECTED]] On Behalf Of Duncan Findlay > Sent: Tuesday, February 26, 2002 10:17 PM > To: [EMAIL P

Re: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Duncan Findlay
> > I don't know anything about the *BSD init system, but for Debian, > Duncan has provided this init script (it works too): > > > The crucial aspect of this is the 'start-stop-daemon' utility. On my > system it is located in /sbin and is part of the 'dpkg' package and > the manpage says it w

Re: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread dman
On Tue, Feb 26, 2002 at 09:16:27PM -0600, Mike Loiterman wrote: | FIXED! It works great if I remove the /dev/null and since there is no | output from it, I guess I'll just run it like this: | | [ -x /usr/local/sbin/spamd ] && /usr/local/sbin/spamd -dac && echo -n ' | spamd' | | My only question

RE: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Mike Loiterman
FIXED! It works great if I remove the /dev/null and since there is no output from it, I guess I'll just run it like this: [ -x /usr/local/sbin/spamd ] && /usr/local/sbin/spamd -dac && echo -n ' spamd' My only question now is how to get it to stop via the init script. I was using this: kill `ps

Re: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Duncan Findlay
On Tue, Feb 26, 2002 at 08:36:18PM -0600, Mike Loiterman wrote: > I still can't get my startup script to work... > > I put this in the script > > [ -x /usr/bin/spamd ] && /usr/bin/spamd -dac > /dev/null && echo -n ' > spamd' > > But it refuses to work unless I start it manually or remove the

RE: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Mike Loiterman
I still can't get my startup script to work... I put this in the script [ -x /usr/bin/spamd ] && /usr/bin/spamd -dac > /dev/null && echo -n ' spamd' But it refuses to work unless I start it manually or remove the -dac. Any ideas? ___ Spamassassin-

Re: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread brad
My freebsd 4.4 startup script is much simpler then yours and it seems to work for me. in /usr/local/etc/rc.d/ #!/bin/sh [ -x /usr/bin/spamd ] && /usr/bin/spamd -u nobody -L -d > /dev/null && echo -n ' spamd' The file is executable brad On Tue, 26 Feb 2002, Mike Loiterman wrote: > Just insta

Re: [SAtalk] EEXIST from auto-whitelistings, and so on

2002-02-26 Thread Craig Hughes
I think there was a bug on some platform or something where O_CREAT would in fact fail if the file already existed, or overwrote it, I forget which. I'll look through the logs and see if I can find the issue. For now, since all we're talking about is a spurious error message, I'm not too concern

[SAtalk] auto-white-list not working

2002-02-26 Thread Mike Loiterman
I keep getting an error when I enable a system wide white list using spamd.   I have this in my /etc/mail/spamassassin/local.cf file: auto_whitelist_path    home/mike/Mail-SpamAssassin-2.01/whitelist/ auto_whitelist_file_mode    0666   But I consistently get this error

[SAtalk] Stuff

2002-02-26 Thread Duncan Findlay
I know we re-added all the extra libs to the Makefile, but I'm wondering if this is the best way. On Debian sid, spamc builds/works fine without these libs. I will release Debian without the extra libs. (Of course, we'll see whether the autobuilders find missing dependencies) Perhaps it depen

RE: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Mike Loiterman
Using 2.01. Seems like HTML mail is not being filtered...? Does anyone have a test one they could send me? When I say that it doesn't start up, I mean that it fails if I have -d enabled. If I just startup with spamd with no options its fine. If -d is enabled the rc.d script executes, but sp

[SAtalk] problems with SpamAssassin's Razor-integration

2002-02-26 Thread Gunter Ohrner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I just installed SpamAssassin 2.0.1 - it does work very well and I'm quite happy with it. However I get lots of asian spam mail (Don't ask me why. :-( ) which does not get sufficient score to be tagged. So I tried adding Razor support to Spam

Re: [SAtalk] SA speed

2002-02-26 Thread Sidney Markowitz
On Tue, 2002-02-26 at 13:41, Bob Plankers wrote: > However, SA is really slow, and I need to deal > with 150-200 email messages per second > for 85,000 accounts without a room full of hardware. The two things you can do are 1) Run spamd/spamc so that you don't have to load up a new spamassassin

Re: [SAtalk] SA speed

2002-02-26 Thread Craig Hughes
Bob, sounds like you're willing to write some code :) The best place to start is in http://bugzilla.spamassassin.org/ The bug numbers of interest there for performance improvements are #47 and #62. It's important to realize that some rules score -ve, so you have to be careful about the order i

RE: [SAtalk] One That Got Through

2002-02-26 Thread Rose, Bobby
Why not just register it with Razor like the docs say? At least that will add 3 to it's score by default which you can always adjust that score to meet your needs. -Original Message- From: Bart Schaefer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 4:37 PM To: Craig Hughes

[SAtalk] SA speed

2002-02-26 Thread Bob Plankers
Hello all, I've started looking at SA with an eye towards implementing it as an opt-in spam filter for our mail systems here at the University of Wisconsin - Madison. I began using it personally about three weeks ago and I have been impressed by it. I really like the way SpamAssassin works with t

Re: [SAtalk] One That Got Through

2002-02-26 Thread Bart Schaefer
On 26 Feb 2002, Craig Hughes wrote: > Yeah, increasing discrimination will end up causing the scores for some > false-negatives to decrease. But hey, quit complaining! I'm not complaining; I'm just offering examples in case somebody wants to concoct new rules, which I don't have time for, just

Re: [SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Craig Hughes
On Tue, 2002-02-26 at 12:11, Mike Loiterman wrote: > The only problem is that if I try to run it as spamd -a then it fails to > startup correctly on boot. Wondering if anyone found a way around that. In what way does it fail to start up? And which version of SA are you using? > Also I received

Re: [SAtalk] One That Got Through

2002-02-26 Thread Craig Hughes
Yeah, increasing discrimination will end up causing the scores for some false-negatives to decrease. But hey, quit complaining! Your false-negative rate has been reduced to 1/3 of its previous level! C On Tue, 2002-02-26 at 12:03, Bart Schaefer wrote: > On 26 Feb 2002, Craig Hughes wrote: > >

RE: [SAtalk] HOWTO Setup Outlook To Work With Spamassassin

2002-02-26 Thread Mike Loiterman
Great docs on setting up outlook! Will be helpful for my users. How did you set up your forward to the anti-spam network as you describe here http://thompsonic.com/util/antispam/nospam4.html? > -Original Message- > From: [EMAIL PROTECTED] [mailto:spamassassin-talk- > [EMAIL PROTECTED]]

RE: [SAtalk] HOWTO Setup Outlook To Work With Spamassassin

2002-02-26 Thread Mark Roedel
> -Original Message- > From: Thomas Hurst [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 26, 2002 2:12 PM > To: [EMAIL PROTECTED] > Subject: Re: [SAtalk] HOWTO Setup Outlook To Work With Spamassassin > > > Can Outlook match on arbitrary headers, such as X-Spam-Status? It can matc

[SAtalk] BSD rc.d script and HTML spam

2002-02-26 Thread Mike Loiterman
Just installed Spamassassin and so far everything is working ok.  EXCEPT for a few issues:   1.   I’m running FreeBSD 4.4 and want to invoke spamd via an initscript.  Here is the script I am using:   #!/bin/sh   case "$1" in   start)     # Start daemon.     /usr/local/s

Re: [SAtalk] HOWTO Setup Outlook To Work With Spamassassin

2002-02-26 Thread Thomas Hurst
* Jeffrey Thompson ([EMAIL PROTECTED]) wrote: > I've written some documentation > on how to setup Outlook to automatically filter email that's been > identified and marked up by Spamassassin. Can Outlook match on arbitrary headers, such as X-Spam-Status? -

Re: [SAtalk] One That Got Through

2002-02-26 Thread Bart Schaefer
On 26 Feb 2002, Craig Hughes wrote: > Latest CVS (soon to be 2.1) catches the viagra, and also the unsubscribe > details. The other day I reported that I had about an 88% success rate on some recent spam with SA 2.01. Actually it was a bit lower than that; it missed 292 messages out of 1926.

Re: [SAtalk] One That Got Through

2002-02-26 Thread Craig Hughes
Latest CVS (soon to be 2.1) catches the viagra, and also the unsubscribe details. C On Tue, 2002-02-26 at 11:19, Erik B. Berry wrote: > It seems the SA 2.01 rules missed the unique ID in the subject and body > here, as well as the removal instructions. Maybe this points to > possibilities for

Re: [SAtalk] Latest SUBJ_ALL_CAPS rule in CVS

2002-02-26 Thread Craig Hughes
It is that. I changed it last night. Except I shortened it by removing the second half, which is superfluous (well technically I should have done {7,} but I'm lazy) C On Tue, 2002-02-26 at 07:39, Bart Schaefer wrote: > diff -r1.32 -r1.33 > 47c47 > < header SUBJ_ALL_CAPS Subject =~ /^[

[SAtalk] One That Got Through

2002-02-26 Thread Erik B. Berry
It seems the SA 2.01 rules missed the unique ID in the subject and body here, as well as the removal instructions. Maybe this points to possibilities for spam phrases for things like "viagra pharmacy", "no hassle", "reasonable prices", "fast delivery", "check out the site", "highest quality"?

[SAtalk] Re: Latest SUBJ_ALL_CAPS rule in CVS

2002-02-26 Thread Bart Schaefer
Never mind, I misread the reul it was replacing and got confused. Sorry. ___ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

[SAtalk] Latest SUBJ_ALL_CAPS rule in CVS

2002-02-26 Thread Bart Schaefer
diff -r1.32 -r1.33 47c47 < header SUBJ_ALL_CAPS Subject =~ /^[A-Z0-9\W]{6,}[^a-z]+$/ --- > header SUBJ_ALL_CAPS Subject =~ /^[^[:lower:]]{6,}$/ Shouldn't that be header SUBJ_ALL_CAPS Subject =~ /^[^[:lower:]]{6,}[^[:lower:]]+$/ ?? ___

Re: [SAtalk] EEXIST from auto-whitelistings, and so on

2002-02-26 Thread Theo Van Dinter
On Tue, Feb 26, 2002 at 09:35:30AM -0500, Theo Van Dinter wrote: > On Tue, Feb 26, 2002 at 03:04:27AM -0800, Craig Hughes wrote: > > FYI, your code example is not even close to concurrency-safe. If one > > instance checks (-f $path) and finds no file, then context switches, and > > instance #2 pe

Re: [SAtalk] EEXIST from auto-whitelistings, and so on

2002-02-26 Thread Theo Van Dinter
On Tue, Feb 26, 2002 at 03:04:27AM -0800, Craig Hughes wrote: > FYI, your code example is not even close to concurrency-safe. If one > instance checks (-f $path) and finds no file, then context switches, and > instance #2 performs the same check, then both instances will try to > create a new fil

[SAtalk] (no subject)

2002-02-26 Thread nope
>From [EMAIL PROTECTED] Tue Jan 29 12:30:50 2002 Received: from host217-36-4-111.in-addr.btopenworld.com (HELO POLY) (217.36.4.111) by server1.mahnke.net with SMTP; 29 Jan 2002 18:30:49 - From: "Peter" <[EMAIL PROTECTED]> To: "spamassassin_list" <[EMAIL PROTECTED]> Subject: all_spam_from? D

[SAtalk] New spamproxyd available now and in forthcoming SpamAssassin 2.1

2002-02-26 Thread Ian R. Justman
Hi, all. I have upgraded spamproxyd for use with newer versions of the SpamAssassin modules and its accompanying modules which will be released with SpamAssassin 2.1. However, if you don't want to wait until 2.1 and/or would like to preview it, I have released it as a stand-alone package. It st

Re: [SAtalk] EEXIST from auto-whitelistings, and so on

2002-02-26 Thread Craig Hughes
FYI, your code example is not even close to concurrency-safe. If one instance checks (-f $path) and finds no file, then context switches, and instance #2 performs the same check, then both instances will try to create a new file, and you'll probably end up with some weird mangled DB file. C On

[SAtalk] EEXIST from auto-whitelistings, and so on

2002-02-26 Thread Nix
OK. I've been testing spamassassin from CVS, and I've been getting the bizarre error message that Craig reports, the `Cannot open: File exists' one. However, in my case this can't be blamed on `a stupid RedHat configuration error', because I'm not running RedHat (or any distribution). Looking at