[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SA-learn on remote host



On 08:22 Sat 15 Sep     , Daniel Burrows wrote:
> On Fri, Sep 14, 2007 at 09:23:16PM +0100, John K Masters <johnmasters@oxtedonline.net> was heard to say:
> > I am gradually implementing a mail system where I have a mail-server on
> > host1 running Postfix/Courier/Procmail/spamc which passes all except
> > whitelisted mail to spamd on another server - host2. host2 simply runs
> > the mail through SA and passes it back to host1 from which I read on my
> > local box via Mutt. 
> > 
> > Most spam gets filtered into the .Spam folder and I have bound keys in
> > Mutt to move missed spam to this folder and to copy good messages to a
> > .Ham folder.
> > 
> > What I would like to do now is have a cronjob run the contents of these
> > two folders through SA-learn and then delete them. ATM I am stumped as
> > to how to go about this. Any pointers very welcome.
> 
>   I use IMAP to synchronize my mail across systems (sounds like you do
> too?), and just run the attached script over folders holding spam and
> ham to learn.  (warning: it's quick and dirty, won't work for anyone
> else without tweaks!)
> 
>   Daniel

Thanks for that. The script looks interesting especially as I am trying
to learn Python :)

I am playing around with ssh agent-forwarding and it seems to be coming
together although I tend to keep moving the goalposts when I think of some
new possibility.

Regards, John
-- 
War is God's way of teaching Americans geography
Ambrose Bierce (1842 - 1914)



Reply to: