[sylpheed:30296] Re: junk filtering not automatic

Seth Kurtzberg seth at cql.com
Tue Oct 31 10:51:31 JST 2006


If I'm interpreting the code correctly, spam filtering on receive occurs in inc_drop_message, and inc_drop_message is only called for POP.  Is that correct?  If so, I'll jump in and make it work for IMAP; if not, I'll have to study the code more carefully.

Seth

On Mon, 30 Oct 2006 20:23:54 -0500
Seth Kurtzberg <seth at cql.com> wrote:

> Investigating further, I find that the bogofilter command never fires (which explains why the filtering doesn't work   :)  ).
> 
> In Configuration, Common preferences, Junk mail, I have "filter messages classified as junk on receiving" and "Delete junk mails from server on receiving" checked.
> 
> I use IMAP; perhaps that's relevant.
> 
> Seth
> 
> On Mon, 30 Oct 2006 19:45:01 -0500
> Seth Kurtzberg <seth at cql.com> wrote:
> 
> > While investigating this problem, I also noticed that bogofilter is being run with the -u flag.
> > 
> > Is it possible to remove the -u from the bogofilter command, without modifying the source and recompiling?  I do not find the -u in the filter command ("Configuration", "Common preferences", "Junk mail" tab, "Classifying command" is set to "bogofilter -l").  Is there more than one place to set the classifying command?
> > 
> > Seth Kurtzberg
> > 
> > On Mon, 30 Oct 2006 19:03:36 -0500
> > Seth Kurtzberg <seth at cql.com> wrote:
> > 
> > > I'm having exactly the same problem in linux, all spam filtering settings unchanged from default (except for turning filtering on, of course).
> > > 
> > > On Mon, 30 Oct 2006 23:59:43 +0100
> > > regisr <regisr at pobox.com> wrote:
> > > 
> > > > On Sun, 29 Oct 2006 12:37:09 -0700
> > > > Bob White <bob at bob-white.com> a écrit:
> > > > 
> > > > > Hmmm,  if it's classifying from the Tools menu, it should be
> > > > > classifying from the commands in Junk mail configuration too.
> > > >  
> > > > > Here are the settings I have:
> > > > > Configuration -> Common Preferences -> Junk Mail
> > > > >      Enable junk control
> > > > >          Learning commands:
> > > > >            Junk:  bogofilter -s -I
> > > > >            Not Junk:  bogofilter -n -I
> > > > >          Classifying command: bogofilter -u -I
> > > > > 
> > > > >      Junk folder: #mh/Mailbox/Junk
> > > > >      Filter messages classified as junk on receiving
> > > > >      Filter junk mails before normal filtering
> > > > 
> > > > Thanks.
> > > > 
> > > > I have the same configuration excepted the name of the junk folder. 
> > > > I found that if I put a space after the '-l' on the classifying command
> > > > running from the tools menu don't work! 
> > > > How sylpheed send the mails to bogofilter when getting mails?
> > > > 
> > > > -- 
> > > > regis
> > > > 
> > > 
> > 
> 


More information about the Sylpheed mailing list