Subject: Re: My SA catches less spam mails than ever
Date: Fri, 19 Mar 2004 19:42:47 -0600
From: Chris <[EMAIL PROTECTED]>
To: Llu'is Batlle i Rossell <[EMAIL PROTECTED]>

On Friday 19 March 2004 07:10 am, Llu'is Batlle i Rossell wrote:
> Hi!
>
>
> And... how can call spamassassin report or revoke over a maildir mailbox?
> Or sa-learn. Or razor-report. By now, I use a bash line like this inside
> the directory which contains the mail files:
> for a in *; do sa-learn --spam < "$a" ; done
>
> But I think a better way exists. :)
> 3rd q: Which is this better way?

I can't answer your other questions but as far as calling sa-learn I've
setup an alias in my /etc/bashrc file like this:

alias spam='sa-learn --spam -C /etc/mail/spamassassin --showdots --dir
/home/chris/Mail/Spam/cur'

alias ham='sa-learn --ham -C /etc/mail/spamassassin --showdots --dir
/home/chris/Mail/inbox/cur'

All I need do is open a terminal and type "spam" or "ham" (no quotes).

Chris

--
  Regards
  Chris
  A 100% Microsoft free computer
  Registered Linux User 283774 http://counter.li.org
  7:38pm  up 12 days,  3:25,  7 users,  load average: 0.16, 0.33, 0.33

-------------------------------------------------------

-- 
  Regards
  Chris
  A 100% Microsoft free computer
  Registered Linux User 283774 http://counter.li.org
  8:23pm  up 12 days,  4:10,  7 users,  load average: 0.82, 0.79, 0.75

Reply via email to