Re: razor-check

2001-12-12 Thread Tony Godshall

On Tue, Dec 11, 2001 at 12:45:43PM +0100, Thomas Roessler wrote:
> On 2001-12-10 14:31:54 -0800, Vineet Kumar wrote:
> 
> >I think your best bet is to check them at delivery time via your 
> >MDA (maildrop, procmail, etc.) Have it add a header indicating its 
> >results, and have mutt perform checks based on the presence or 
> >contents of this header.
> 
> I'd also recommend some kind of reversible spam filtering - after 
> all, razor has had a couple of bad false positives in the past week 
> or so, including bugtraq posts and messages to the razor-users 
> mailing list.
> 
> Possible approaches include using mutt's scoring, or creating a 
> special folder to which all messages identified as spam by razor are 
> written.


I installed the spamassassin a week ago and I *love* it.  

http://spamassassin.taint.org or from CPAN

It uses Vipul's Razor as one of its spam scoring methods.
By default the weight 3 of a possible 5 so that the Razor
alone is insufficient for spamassassin to mark a message as
spam, but gets it really close.  Some other feature like a
forged From addr is enought, so it is damn impressive.

The .procmailrc below makes a reversible spam filter for me
(I skim with 'mutt -f =caughtmail' periodically to see if 
it made any mistakes) and added a mutt macro in my .muttrc 
to report spam it didn't catch to the Razor.  Here are the 
snippets from my dotfiles.  I got this from spamassasin's 
own README file... the URL follows the dotfile snippets.

-- my .muttrc --
...
# Give the message to Vipul's Razor
macro index X "| spamassassin -r"
...

-- my .procmailrc --
:0f
| /usr/local/bin/spamassassin -P

:0e
{
  EXITCODE=$?
}

:0:
* ^Subject:.*\*\*\*\*SPAM\*\*\*\*
mail/caughtspam

-- The recipe --
http://www.cpan.org/modules/by-authors/id/J/JM/JMASON/Mail-SpamAssassin-1.2.readme




Re: razor-check

2001-12-11 Thread Thomas Roessler

On 2001-12-10 14:31:54 -0800, Vineet Kumar wrote:

>I think your best bet is to check them at delivery time via your 
>MDA (maildrop, procmail, etc.) Have it add a header indicating its 
>results, and have mutt perform checks based on the presence or 
>contents of this header.

I'd also recommend some kind of reversible spam filtering - after 
all, razor has had a couple of bad false positives in the past week 
or so, including bugtraq posts and messages to the razor-users 
mailing list.

Possible approaches include using mutt's scoring, or creating a 
special folder to which all messages identified as spam by razor are 
written.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/



msg21492/pgp0.pgp
Description: PGP signature


Re: razor-check

2001-12-10 Thread Vineet Kumar

* Ben White ([EMAIL PROTECTED]) [011210 07:06]:
> Hi, I am looking for ways to incorporate razor-check into my mail
> reading with mutt. (http://razor.sf.net/)
> 
> I've got a few ways of doing it as far as I can see.
> 
> Bind a keypress that runs razor-check with the currently selected message, so
> I can check whether a message is marked as spam or not in the razor
> catalogue.  I see it either changing the score for that message or
> flagging it in some way if it's a spam.
> 
> A folder-hook or something like that that will run razor-check on each
> message when I open the mailbox.  Or a keypress that I can use to
> spamcheck the entire mailbox I have open.

I think your best bet is to check them at delivery time via your MDA
(maildrop, procmail, etc.) Have it add a header indicating its results,
and have mutt perform checks based on the presence or contents of this
header.

Just ask if you need more detailed help.

good times,
Vineet

-- 
Satan laughs when  #  "I disapprove of what you say, but I will
we kill each other.#   defend to the death your right to say it."
Peace is the only way. #  --Beatrice Hall, The Friends of Voltaire, 1906




msg21474/pgp0.pgp
Description: PGP signature


razor-check

2001-12-10 Thread Ben White

Hi, I am looking for ways to incorporate razor-check into my mail
reading with mutt. (http://razor.sf.net/)

I've got a few ways of doing it as far as I can see.

Bind a keypress that runs razor-check with the currently selected message, so
I can check whether a message is marked as spam or not in the razor
catalogue.  I see it either changing the score for that message or
flagging it in some way if it's a spam.

A folder-hook or something like that that will run razor-check on each
message when I open the mailbox.  Or a keypress that I can use to
spamcheck the entire mailbox I have open.
This can then score the message lower if it's a spam according to the razor database.

I'm wanting to do it in mutt first so I can check to see whether razor's
reliable before incorporating it into either my Mail::Audit script
and/or our mail exim configuration.
I just see problems if the razor-check client can't connect to the razor servers.

Anyone able to help with this?  Other ways of doing it?

Does anyone any good/bad reports of using vipul's razor?


Thanks,


Ben

--  
Ben White
[EMAIL PROTECTED]
KeConnect Internet
http://www.keme.net/