Re: [SLE] sa-learn refuses to learn.

From: Ralph Sanford (rsanford_at_telusplanet.net)
Date: 02/29/04

  • Next message: David Herman: "Re: [SLE] sa-learn refuses to learn."
    To: suse-linux-e@suse.com
    Date: Sat, 28 Feb 2004 20:39:18 -0700
    
    

    On Fri, 2004-02-27 at 00:40, Bob S. wrote:
    > On Wednesday 25 February 2004 01:15 am, John Andersen wrote:
    > > On Tuesday 24 February 2004 21:07, Bob S. wrote:
    > > > Originally set up spamassassin and had it learn from my mailboxes
    > > > in Kmail. worked fine. I set up a special spam mailbox with a
    > > > sub-mailbox named MissedSpam in which I placed spam that was
    > > > slipping through. Now I want sa-learn to check on that mailbox and
    > > > learn from it.
    > > >
    > > > What I do is, cd into: '/home/bob/Mail' and then do a: "# sa-learn
    > > > --spam --mbox -f /spam/MissedSpam"
    > >
    > > Is this special mailbox a mbox format or is it maildir format?
    > > I think KDE defaults to maildir, in which case you have to
    > > have a sa-learn script that supports that format, such as this one
    > ...............<snipped but saved>................
    >
    > Thanks John, Jon, & Jon for replying. It is appreciated.
    >
    > John, don't really know what Kmail format is. If I check on the
    > properties of that mailbox the format is greyed out, but looking
    > carefully it looks like mbox. Anyway, I know nothing about scripts,
    > where to put them, or how to execute them. Wish I did :-( Maybe
    > someday I will. I am trying.
    >
    > Jon & Jon Both of you sent me basically the same thing with a slightly
    > different approach, and I said "A Ha !" that is the problem. I
    > understood what you were telling me. Unfortunately, it did not work by
    > using either of the suggestions. Get the same old " "No such file or
    > directory
    > at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/CmdLearn.pm line
    > 120."
    >
    > So then I created a regular (non-mail) directory and moved all of the
    > MissedSpam messages into it and did an sa-learn on it. Told me it
    > learned from 8 of the 50+ messages I put in there. Don't know why it
    > learned from only 8 out of 50 ?? but I guess that is another story.
    >
    > Anyway, can't keep doing that because I would spend forever moving
    > messages around so sa-learn would work. If any of you have more
    > suggestions or guidance it would really be appreciated.
    >
    > Thanks again, Bob.S
    >
    > PS John, If you could point me at some way of learning how to use
    > scripts it would also be really appreciated.

    A quick suggestion based on how I use sa-learn with Evolution mbox. I
    found that I needed to absolutely specify the missed spam folder mbox.

    sa-learn --spam --mbox /home/mylocation/MissedSpam/mbox

    Without the mbox at the end of the directory location, sa-learn would
    not work.

    HTH

    -- 
    Ralph Sanford       -       If your government does not trust you,
    rsanford@telusplanet.net   -   should you trust your government?
    DH/DSS Key   -   0x7A1BEA01
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: David Herman: "Re: [SLE] sa-learn refuses to learn."

    Relevant Pages

    • Re: Entourage database
      ... How do I convert that text file to an mbox format? ... I've had to reinstall Office several times before, ... The only identities that will work are those that are indicated as ...
      (comp.sys.mac.apps)
    • Re: Death to IMAP Clients (by Jeremy Zawodny)
      ... UNIX mbox format; ... Most other servers use mailbox formats other than mbox for the same reason. ... Another part of overhead is in the necessity to insert/delete characters to change message metadata, which can potentially require rewriting the entire mailbox after that point (modern versions of UW imapd avoid this). ... UW imapd's mbx format has preallocated space for metadata and uses size counts as links to locate the messages. ...
      (comp.mail.imap)
    • Re: Telecom Digest archives questions [TELECOM]
      ... I find mbox to be a very useful format. ... One of my major frustrations with Yahoo groups is the lack of any bulk ... download capability, or any way of importing group archives into a ...
      (comp.dcom.telecom)
    • Re: KMail: export received emails?
      ... What format would you like them to be in? ... If you want them as isolated 'elements' (E-mail messages), ... You can then move such MBOX files from ... Roy S. Schestowitz | "Hack to learn, ...
      (comp.windows.x.kde)
    • Re: Filenames for Outlook Express 5 under OS9.x?
      ... Jon B wrote: ... Do they categorically end in .mbox? ... > messages, database cache, preferences, schedules, signatures, mailing ... > Some versions of OE don't have the MUD folder, ...
      (uk.comp.sys.mac)