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

Re: evolution+spamassassin don't detect spam (Etch)



On Fri, 2006-12-01 at 09:54 -0800, JP wrote:
> michael wrote:
> 
> > On Fri, 2006-12-01 at 04:55 -0800, JP wrote:
> > > Hi there,
> > >
> > > I have recently started to use evolution as my mail client. However, I
> > > can't figure out how to make it work with spamassassin to detect the
> > > tons of junk mail I get every day. I have come across several posts to
> > > ubuntu/debian/gentoo... mailing lists describing different settings to
> > > make it work but none of them has worked for me so far. I have
> > > installed spamassassin and enbled it in /etc/defaults/spamassassin,
> > > checked the spamassassin plugin and spam detection options within
> > > evolution, and created a junkmail testing filter. The status bar says
> > > that it is learning to detect spam, but it actually doesn't work.
> > >
> > > Ch
> >
> > which version of Evolution (etc)?
> > you don't need to set up any testing filter with recent versions of
> > Evolution IIRC. have you set up all the relevant options in the
> > preferences for the relevant accounts? do you have spamd/spamc running?
> > have you trained spamassassin?
> Versions are:
> evolution 2.6.3-2
> spamassassin 3.1.7-1
> The following options are set:
> Edit->Plugins->Spam detection with spamassassin
> Edit->Preferences->Mail options->Spam->Detect if incoming mail is spam
> & Include remote tests
> I've checked that spamd is up and spamc installed:
> debian_etch$ ps -ef | grep spam
> root      3859     1  0 Nov29 ?        00:00:03 /usr/sbin/spamd
> --create-prefs --max-children 5 --helper-home-dir
> jp   9872  3859  0 Nov30 ?        00:01:01 spamd child
> jp   9903  3859  0 Nov30 ?        00:00:25 spamd child
> jp   3449  4465  0 18:44 pts/3    00:00:00 grep spam
> debian_etch$ which spamc
> /usr/bin/spamc
> 
> I've selected hundreds of junk messages and manually flagged them as
> spam. I've also selected some ham messages and flagged as spam and
> afterwards as not spam.
> 
> I also thought that the spam folder would get full of junk soon after
> flagging some junks messsages but nothing happened. Then I started
> setting/unsetting any option I could think off.

Seems okay (presuming you've not messed any option re last sentence). My
junk goes to a 'Junk' folder not one named 'Spam'/'spam'... I believe it
you mark it as Junk it should go there. IIRC it takes a long(ish) [a few
hundred?] while before S.A. starts marking stuff automatically. 

Have you checked your syslog and mail.* logs? Eg when SA is doing it's
job I get:

        Dec  4 12:01:09 ratty spamd[12035]: checking message
        <20061204115732.9E5B77385@tempeh.redblackandgreen.net> for
        michael:1000.
        Dec  4 12:01:10 ratty spamd[12035]: identified spam (15.0/5.0)
        for michael:1000 in 0.1 seconds, 23780 bytes.
        Dec  4 12:01:10 ratty spamd[12035]: result: Y 15 -
        BAYES_99,FORGED_MUA_MOZILLA,HELO_DYNAMIC_IPADDR2,HTML_40_50,HTML_FONT_INVISIBLE,HTML_FONT_LOW_CONTRAST,HTML_IMAGE_ONLY_12,HTML_MESSAGE,MIME_HTML_ONLY,MSGID_FROM_MTA_ID scantime=0.1,size=23780,mid=<20061204115732.9E5B77385@tempeh.redblackandgreen.net>,bayes=1,autolearn=no
        

I do recall thinking I had this prob in the past, checked various
newsgroups etc then decided I just had to let S.A. learn - and now it
does seem to work (unless I start reading etc new msgs while S.A. is
still filtering... that sometimes seems to screw things up)



Reply to: