Recently it's begun to lock-up on me, and also to mark whole mailfolders as unread. It was fine up until about a week ago, but now it's starting to get on my nerves! Does anyone know how to fix it? I don't really want to re-install KDE because I don't have that much time at the moment. But if that's the only way, then I will have to live with a tempremental KMail for the moment. Thanks. -- Geraint Jones
On Friday 08 November 2002 02:52, Geraint Jones wrote:
Recently it's begun to lock-up on me, and also to mark whole mailfolders as unread. It was fine up until about a week ago, but now it's starting to get on my nerves! Does anyone know how to fix it? I don't really want to re-install KDE because I don't have that much time at the moment. But if that's the only way, then I will have to live with a tempremental KMail for the moment.
Have you set any "filters" that execute external programs? Unfortunately, it doesn't appear that kmail is "threaded" in regards to retrieval, so "all of kmail" locks up while it executes an external program [very annoying if you ask me] In particular, I set up "spamassassin" to auto-delete the various bits of spam 'n porn I'm getting. Since spamassassin is a perl script (meaning it's interpreted rather than compiled), "it runs like a dog" (for what it does) As to marking folders as unread, I can't say that I've seen that, however does the folder in question have a sub-folder? What I'm seeing happen is that if a sub-folder gets a message, the parent folder gets highlighted in bold (but with no "unread count" listed after it). This, IMO, is a great "feature" that Outlook lacked -- especially when the lower-level folders are "collapsed" in the display...
On Friday 08 November 2002 07:18 pm, Tom Emerson wrote:
In particular, I set up "spamassassin" to auto-delete the various bits of spam
Can "spamassassin" add to the protection provided by Kmail's own filters ? At present I use Kmail to get my mail from ISP's pop3 server and I do not use 'fetchmail' Is "spamassassin" able to help me fight the rising tide of Spam :o) thanks best wishes ____________ sent on Linux ____________
* tabanna;
On Friday 08 November 2002 07:18 pm, Tom Emerson wrote:
In particular, I set up "spamassassin" to auto-delete the various bits of spam
Can "spamassassin" add to the protection provided by Kmail's own filters ?
At present I use Kmail to get my mail from ISP's pop3 server and I do not use 'fetchmail'
Is "spamassassin" able to help me fight the rising tide of Spam :o)
Yes definetely after you set Spamasssasin (hint if SuSE < 8.1 the use ftp.suse.com/people/draht) If you use KMail: - http://kmail.kde.org/download.html mentions: The filter setup is the work of five minutes (if that!) if you have a working spamassassin set up. The filter in question is "<any header><matches regexp> ." The action is "<pipe through> spamassassin -P" Then, in the advanced options, uncheck the "If this filter matches, stop processing here" box. If you keep this filter at the top, it will analyze any incoming mail, decide whether it's spam or not, and flag it accordingly. [Then add] a second filter behind it, which searches for the added spam-flags and diverts them into a specific spam folder. [...] -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
On Friday 08 November 2002 11:48, tabanna wrote:
On Friday 08 November 2002 07:18 pm, Tom Emerson wrote:
In particular, I set up "spamassassin" to auto-delete the various bits of spam
Can "spamassassin" add to the protection provided by Kmail's own filters ?
They "work together" on this. Basically, I've set up three "filter" rules that I keep at the top of the filter list [remember, filters are processed "in order" until a rule with "stop here" is processed] The first rule, called "spamscope" (you'll see why in a minute) has the "to fire" rule of "mail is bigger than 1 byte" [kmail doesn't have a generic "if true" rule...] This contains as it's "action" list "pipe through spamc", and the "stop here" option is cleared (unchecked) "spamc" is a "fast" front-end to spamd, which runs in the background (to avoid the "startup costs" of loading the full spamassassin "script" -- remember, I said it was interpreted...) Spamd, in turn, evaluates the e-mail using LOTS of criteria: -- does it contain various (overused) "come-ons" like "totally free", "click here", and so on. -- does it contain "apologies" (if this e-mail was sent in error...") -- does it contain HTML (only), or links w/embedded or "encoded" URLS (this would be things like "href=/some.spam.site/gotta_see_this.asp?uid=your_email@provider" or "href=x.jpg" where the height/width have been overidden to be zero-by-zero) -- does it come from a known spammer (known as "blacklisted, or RBL) -- and a bunch of other heuristics I haven't studied yet. It assigns a "score" based on the severity of the "offense" [a "click-here to remove" might add a full point, while a subject line that ends with a single question mark might reduce the score by a tenth of a point] These points are added up, and if they meet a certain (configurable) level, it marks the e-mail as "spam". It does this by ADDING various "X-header" lines. For example (taken from a random item in my "/trash" folder): X-Spam-Status: Yes, hits=7.7 required=5.0 tests=FROM_NAME_NO_SPACES,TO_MALFORMED,PLING,LINES_OF_YELLING, HTTP_ESCAPED_HOST,WEIRD_PORT,MAILTO_LINK,CTYPE_JUST_HTML, MSG_ID_ADDED_BY_MTA_2 version=2.31 X-Spam-Flag: YES X-Spam-Level: ******* X-Spam-Checker-Version: SpamAssassin 2.31 (devel $Id: SpamAssassin.pm,v 1.94.2.2 2002/06/20 17:20:29 hughescr Exp $) X-Spam-Report: 7.7 hits, 5 required; * -0.1 -- From: no spaces in name * 1.1 -- To: has a malformed address * 0.1 -- Subject has an exclamation mark * -0.0 -- BODY: A WHOLE LINE OF YELLING DETECTED * 2.2 -- URI: Uses %-escapes inside a URL's hostname * 0.3 -- URI: Uses non-standard port number for HTTP * 0.8 -- BODY: Includes a URL link to send an email * 1.7 -- HTML-only mail, with no text version * 1.6 -- 'Message-Id' was added by a relay (2) THEN this script finally returns back to kmail. RULE #2 is called "spamtrigger" -- this has a "to-fire" rule that checks the "X-Spam-Flag" header for the value "YES" (note: you have to type in this "header" directly -- it won't appear on the drop-down list) This has as it's "action" list commands to set the status to "read" (so it doesn't show up as unread mail) For added fun and frivolity, I've also added an "execute external program" action that calls "aplay" and passes it a .wav file (in particular, "kling.wav" from the openoffice suite) The "stop here" option is unchecked in this rule as well. Finally, Rule #3 is called "spambullet" -- this fires on "X-Spam-Level" greater than "******" [six asterisks] I've found some "legitimate" messages with readings of 5.5 to 6.0 (usually from e-mail lists like this one, since lists tend to be anonymous...) so I don't want to filter solely on a 5.0 level. This has the action "delete" [which moves it to /trash] and play the file "explosion.wav". This rule has the "stop here" option checked.
At present I use Kmail to get my mail from ISP's pop3 server and I do not use 'fetchmail'
So do I. I'm reconsidering, however, if I should go the route where I do use something like "fetchmail" and have fetchmail send it through the spamassassin filter on a system that is different than the one that I actually read them from [in-home distributed computing is cool!] That way my kmail client doesn't have to do the "work" of processing each message as it arrives [which causes kmail to "lock up" while the external process executes -- this is strictly a kmail oddity, most unix/linux programs are "threaded" so that receiving e-mail doesn't impact writing them (which is what just happened as I was writing this very line!)]
Is "spamassassin" able to help me fight the rising tide of Spam :o)
spam yes, messages on this list, no :) Tom [dreading the concept of leaving my e-mail alone for three days while I take off for the weekend]
I have got a lot of filters, but none that use external programs. Regarding marking folders as unread, even some that don't have sub folders become unmarked. On Friday 8 November 2002 7:18 pm, Tom Emerson wrote:
On Friday 08 November 2002 02:52, Geraint Jones wrote:
Recently it's begun to lock-up on me, and also to mark whole mailfolders as unread. It was fine up until about a week ago, but now it's starting to get on my nerves! Does anyone know how to fix it? I don't really want to re-install KDE because I don't have that much time at the moment. But if that's the only way, then I will have to live with a tempremental KMail for the moment.
Have you set any "filters" that execute external programs? Unfortunately, it doesn't appear that kmail is "threaded" in regards to retrieval, so "all of kmail" locks up while it executes an external program [very annoying if you ask me] In particular, I set up "spamassassin" to auto-delete the various bits of spam 'n porn I'm getting. Since spamassassin is a perl script (meaning it's interpreted rather than compiled), "it runs like a dog" (for what it does)
As to marking folders as unread, I can't say that I've seen that, however does the folder in question have a sub-folder? What I'm seeing happen is that if a sub-folder gets a message, the parent folder gets highlighted in bold (but with no "unread count" listed after it). This, IMO, is a great "feature" that Outlook lacked -- especially when the lower-level folders are "collapsed" in the display... -- Geraint Jones
participants (4)
-
Geraint Jones
-
tabanna
-
Togan Muftuoglu
-
Tom Emerson