Bug#484628: marked as done (problems with default spamassassin filters in kmail)
Your message dated Mon, 22 Mar 2010 03:56:55 +0100 with message-id 201003220356.55371.ewoer...@kde.org and subject line Re: problems with default spamassassin filters in kmail has caused the Debian Bug report #484628, regarding problems with default spamassassin filters in kmail to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 484628: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484628 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ---BeginMessage--- Package: kmail Version: 4:3.5.9-2 Severity: normal There are 4 default filters in kmail that interact with spamassassin, 3 of them have problems: 1. SpamAssassin Check command line: spamassassin -L This filter should be discarded since we have the next. 2. SpamAssassin Service Check command line: spamc Looks ok. 3. Classified as spam: command line: sa-learn -L --spam --no-rebuild --single --no-rebuild is deprecated, should use --no-sync --single is not documented in sa-learn manual, if it means a single mail message is to be checked, it's not necessary. 4. Classified as non-spam: command line: sa-learn -L --ham --no-rebuild --single Same problems as in 3. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (1100, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: LANG=zh_CN, LC_CTYPE=zh_CN (charmap=GB2312) Shell: /bin/sh linked to /bin/bash Versions of packages kmail depends on: ii kdebase-kio-plugins 4:3.5.9.dfsg.1-2+b1 core I/O slaves for KDE ii kdelibs4c2a 4:3.5.9.dfsg.1-4core libraries and binaries for al ii kdepim-kio-plugins 4:3.5.9-2 KDE pim I/O Slaves ii libart-2.0-2 2.3.20-2Library of functions for 2D graphi ii libaudio21.9.1-2 Network Audio System - shared libr ii libc62.7-10 GNU C Library: Shared libraries ii libfontconfig1 2.5.0-2 generic font configuration library ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib ii libgcc1 1:4.3.0-5 GCC support library ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libidn11 1.8-1 GNU libidn library, implementation ii libjpeg626b-14 The Independent JPEG Group's JPEG ii libkcal2b4:3.5.9-2 KDE calendaring library ii libkdepim1a 4:3.5.9-2 KDE PIM library ii libkleopatra14:3.5.9-2 KDE GnuPG interface libraries ii libkmime24:3.5.9-2 KDE MIME interface library ii libkpimidentities1 4:3.5.9-2 KDE PIM user identity information ii libksieve0 4:3.5.9-2 KDE mail/news message filtering li ii libmimelib1c2a 4:3.5.9-2 KDE mime library ii libpng12-0 1.2.27-1PNG library - runtime ii libqt3-mt3:3.3.8b-5 Qt GUI Library (Threaded runtime v ii libsm6 2:1.0.3-1+b1X11 Session Management library ii libstdc++6 4.3.0-5 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-7 X11 client-side library ii libxcursor1 1:1.1.9-1 X cursor management library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxft2 2.1.12-2FreeType-based font drawing librar ii libxi6 2:1.1.3-1 X11 Input extension library ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library ii libxrandr2 2:1.2.2-2 X11 RandR extension library ii libxrender1 1:0.9.4-1 X Rendering Extension client libra ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library ii perl 5.10.0-10 Larry Wall's Practical Extraction ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages kmail recommends: ii procmail 3.22-16Versatile e-mail processor -- no debconf information ---End Message--- ---BeginMessage--- Version: 4:4.2.0-1 The bug you reported has been fixed in KDE SC 4.2 ---End Message---
Bug#484628: problems with default spamassassin filters in kmail
Package: kmail Version: 4:3.5.9-2 Severity: normal There are 4 default filters in kmail that interact with spamassassin, 3 of them have problems: 1. SpamAssassin Check command line: spamassassin -L This filter should be discarded since we have the next. 2. SpamAssassin Service Check command line: spamc Looks ok. 3. Classified as spam: command line: sa-learn -L --spam --no-rebuild --single --no-rebuild is deprecated, should use --no-sync --single is not documented in sa-learn manual, if it means a single mail message is to be checked, it's not necessary. 4. Classified as non-spam: command line: sa-learn -L --ham --no-rebuild --single Same problems as in 3. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (1100, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: LANG=zh_CN, LC_CTYPE=zh_CN (charmap=GB2312) Shell: /bin/sh linked to /bin/bash Versions of packages kmail depends on: ii kdebase-kio-plugins 4:3.5.9.dfsg.1-2+b1 core I/O slaves for KDE ii kdelibs4c2a 4:3.5.9.dfsg.1-4core libraries and binaries for al ii kdepim-kio-plugins 4:3.5.9-2 KDE pim I/O Slaves ii libart-2.0-2 2.3.20-2Library of functions for 2D graphi ii libaudio21.9.1-2 Network Audio System - shared libr ii libc62.7-10 GNU C Library: Shared libraries ii libfontconfig1 2.5.0-2 generic font configuration library ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib ii libgcc1 1:4.3.0-5 GCC support library ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libidn11 1.8-1 GNU libidn library, implementation ii libjpeg626b-14 The Independent JPEG Group's JPEG ii libkcal2b4:3.5.9-2 KDE calendaring library ii libkdepim1a 4:3.5.9-2 KDE PIM library ii libkleopatra14:3.5.9-2 KDE GnuPG interface libraries ii libkmime24:3.5.9-2 KDE MIME interface library ii libkpimidentities1 4:3.5.9-2 KDE PIM user identity information ii libksieve0 4:3.5.9-2 KDE mail/news message filtering li ii libmimelib1c2a 4:3.5.9-2 KDE mime library ii libpng12-0 1.2.27-1PNG library - runtime ii libqt3-mt3:3.3.8b-5 Qt GUI Library (Threaded runtime v ii libsm6 2:1.0.3-1+b1X11 Session Management library ii libstdc++6 4.3.0-5 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-7 X11 client-side library ii libxcursor1 1:1.1.9-1 X cursor management library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxft2 2.1.12-2FreeType-based font drawing librar ii libxi6 2:1.1.3-1 X11 Input extension library ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library ii libxrandr2 2:1.2.2-2 X11 RandR extension library ii libxrender1 1:0.9.4-1 X Rendering Extension client libra ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library ii perl 5.10.0-10 Larry Wall's Practical Extraction ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages kmail recommends: ii procmail 3.22-16Versatile e-mail processor -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: POP filters in KMail
On Monday 26 July 2004 07:24, David P James wrote: The problem with filtering on the server is that KMail has to download the headers of *every* message that is over the specified size. This means that the headers of messages that don't get deleted (ie the good stuff) gets downloaded twice. Since a lot of spam is as small as a kilobyte, this results in a massive duplication of downloading if you set the threshold at something small. If most of your mail is junk this might not be a big deal, but if you're on mailing lists it can slow things down quite a bit. It's probably best to use a local filter instead, and this also allows you to check for false positives anyway. Thanks for your help; it (sorta) worked. However, my expectations were far greater than what was actually delivered. Hmm. I just looked at the Python docs for poplib and decided that I could whip up a compact Python script that would do exactly what I want. I don't know if anyone else is interested in this, but maybe I'll submit it to the bugs database as an example of what I had in mind for POP filtering... :Peter
POP filters in KMail
I'm running KMail 1.6.2 with KDE 3.2.3, and I am unable to get the POP filters working. What I want to do is filter out messages that have been flagged as spam; the POP server I connect to nicely runs SpamAssassin, but leaves it up to the user to decide what to do about it. It appends a header X-Spam-Warning: This message may be SPAM to every email that it decides is spam, and what I would like to do is just delete every email with that header. So, under the POP3 filter dialog, I create the following filter: o Match all of the following o any header - contains - This message may be SPAM o Filter Action: Download mail later o Global Options: Always show matched 'Download Later' messages in a confirmation dialog. But it does nothing. I set it to Download later to simply double check that it was working, but that spam keeps coming in even when I change it to Delete mail from server. As an extreme example, I created another rule, that should download all mail later and show a confirmation dialog for all emails larger than 1 byte. This too does not work, since all messages (spam and otherwise) continue to be delivered. Are the POP3 filters simply there for show, and should I be looking into other means of filtering out spam? TIA, :Peter
Re: POP filters in KMail
On Sun 25 July 2004 12:02, Peter Clark wrote: I'm running KMail 1.6.2 with KDE 3.2.3, and I am unable to get the POP filters working. What I want to do is filter out messages that have been flagged as spam; the POP server I connect to nicely runs SpamAssassin, but leaves it up to the user to decide what to do about it. It appends a header X-Spam-Warning: This message may be SPAM to every email that it decides is spam, and what I would like to do is just delete every email with that header. So, under the POP3 filter dialog, I create the following filter: o Match all of the following o any header - contains - This message may be SPAM o Filter Action: Download mail later o Global Options: Always show matched 'Download Later' messages in a confirmation dialog. But it does nothing. I set it to Download later to simply double check that it was working, but that spam keeps coming in even when I change it to Delete mail from server. As an extreme example, I created another rule, that should download all mail later and show a confirmation dialog for all emails larger than 1 byte. This too does not work, since all messages (spam and otherwise) continue to be delivered. Are the POP3 filters simply there for show, and should I be looking into other means of filtering out spam? It's not very intuitive, I'll grant you that. POP3 filtering has to be enabled first: Settings | Configure KMail Network | Receiving Select the account, Modify... X Filter messages if they are greater than [...] The problem with filtering on the server is that KMail has to download the headers of *every* message that is over the specified size. This means that the headers of messages that don't get deleted (ie the good stuff) gets downloaded twice. Since a lot of spam is as small as a kilobyte, this results in a massive duplication of downloading if you set the threshold at something small. If most of your mail is junk this might not be a big deal, but if you're on mailing lists it can slow things down quite a bit. It's probably best to use a local filter instead, and this also allows you to check for false positives anyway. I only use this feature for large (50kB) messages, most of which are probably viruses. -- David P James Ottawa, Ontario http://david.jamesnet.ca ICQ: #42891899, Jabber: [EMAIL PROTECTED] If you've lost something, you had to lose it, not loose it. pgpuPU0pmVLMo.pgp Description: signature
POP filters in KMail
I just discovered the POP filters in KMail, except that they don't seem to work. I set the filter to 'size is greater than 1' (thought I would give an absurdly low value to test it) and the filter action to 'Download mail later' and 'Always show matched in confirmation dialog'. I then sent an email to myself and then checked my mail, expecting to see a dialog box. Nothing. Instead, it just lands in my inbox. Is this feature working yet, or is there something else I need to do? I like the idea, since I tend to get a lot of viruses and I'm on a dial-up connection, so I would like to get it working. :Peter -- Oh what a tangled web they weave who try a new word to conceive!
Re: POP filters in KMail
Subscribe to an ISP that protects you at the server :) But yes, filters work, you just have to assign the correct actions to the filter. On Thursday 06 February 2003 14:15, Peter Clark wrote: I like the idea, since I tend to get a lot of viruses and I'm on a dial-up connection, so I would like to get it working. -- -- Catch the Magic of Linux... Michael Peddemors - Senior Consultant LinuxAdministration - Internet Services NetworkServices - Programming - Security Wizard IT Services http://www.wizard.ca Linux Support Specialist - http://www.linuxmagic.com LinuxMagic is a Registered TradeMark of Wizard Tower TechnoServices Ltd. (604)589-0037 Beautiful British Columbia, Canada
Re: POP filters in KMail
On Thursday 06 February 2003 06:59 pm, Michael Peddemors wrote: Subscribe to an ISP that protects you at the server :) But yes, filters work, you just have to assign the correct actions to the filter. Well, then what am I doing wrong? I thought I _had_ assigned the correct values and actions. Once again, my setup: o Match all of the following size is greater than 1 o Download mail later x Always show matched Download Later messages in confirmation dialog. Now, unless I am greatly mistaken, this ought to stop every single message; instead, every single message floats blithely by. :Peter
Re: filters in kmail
I just recently started subscribing to the debian-kde and debian-user mailing lists, and I've got filters set up in kmail to transfer mailings from those lists to specific folders. The folders have got the folder holds mailing-list option checked with the post address field filled out as well. But whenever I reply to a posting it defaults to sending it to the original sender (no real surprise there). I can send a *new* message to the mailing list by right-clicking on the folder, but not a reply. Instead I have to use reply-all and then remove the address of the original sender (so he doesn't get the same message twice). Does anyone else who uses KMail (1.2 with KDE 2.1.2) have a solution to this? -- David P. James Third Year Economics Queen's University, Kingston, Ontario http://members.home.com/dpjames/ The bureaucratic mentality is the only constant in the universe. -Dr. Leonard McCoy, Star Trek IV
Re: filters in kmail
On Saturday 03 November 2001 17:20, David P James wrote: But whenever I reply to a posting it defaults to sending it to the original sender (no real surprise there). I can send a *new* message to the mailing list by right-clicking on the folder, but not a reply. Instead I have to use reply-all and then remove the address of the original sender (so he doesn't get the same message twice). Does anyone else who uses KMail (1.2 with KDE 2.1.2) have a solution to this? I am not sure if this is only pat of kmail 1.3 but: You can try hitting L or use the Menuu Message-Reply list... bye t. -- Tobias Leismann [EMAIL PROTECTED]
Reply List [was Re: filters in kmail]
On Saturday 03 November 2001 11:20, David P James wrote: I just recently started subscribing to the debian-kde and debian-user mailing lists, and I've got filters set up in kmail to transfer mailings from those lists to specific folders. The folders have got the folder holds mailing-list option checked with the post address field filled out as well. But whenever I reply to a posting it defaults to sending it to the original sender (no real surprise there). I can send a *new* message to the mailing list by right-clicking on the folder, but not a reply. Instead I have to use reply-all and then remove the address of the original sender (so he doesn't get the same message twice). Does anyone else who uses KMail (1.2 with KDE 2.1.2) have a solution to this? Ok, I found an answer of sorts... Under Message there is the option of 'Reply List' which does just that, and one can use 'L' to do so. Ok, so now my question is more like is there a way to customize the icons on the control bar at the top to insert the option to reply to list? This reply list feature is quite neat, btw. It automagically removes the previous person's signature and the mailing list signature from your reply... (though some might want to requote the previous person's signature I suppose). -- David P. James Third Year Economics Queen's University, Kingston, Ontario http://members.home.com/dpjames/ The bureaucratic mentality is the only constant in the universe. -Dr. Leonard McCoy, Star Trek IV
Re: filters in kmail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 03 November 2001 07:27 am, Tobias Leismann wrote: On Saturday 03 November 2001 17:20, David P James wrote: But whenever I reply to a posting it defaults to sending it to the original sender (no real surprise there). I can send a *new* message to the mailing list by right-clicking on the folder, but not a reply. Instead I have to use reply-all and then remove the address of the original sender (so he doesn't get the same message twice). Does anyone else who uses KMail (1.2 with KDE 2.1.2) have a solution to this? I am not sure if this is only pat of kmail 1.3 but: You can try hitting L or use the Menuu Message-Reply list... bye t. I am using Kmail 1.3.2 and the Reply list feature includes the senders address as well as the list address. Can someone confirm this works in 1.3.2, or maybe I have some configuring to do? TIA - -- Greg Madden -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE75FZ2gFopErbyUAoRApC0AJ9Q8hXkjvXvW4hNiyO7d4q6oaQlkQCdGShD PZDUdgEPcNcdXJg2eRuRe+4= =4Oph -END PGP SIGNATURE-
Re: filters in kmail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 03 November 2001 01:41 pm, Greg Madden wrote: On Saturday 03 November 2001 07:27 am, Tobias Leismann wrote: On Saturday 03 November 2001 17:20, David P James wrote: But whenever I reply to a posting it defaults to sending it to the original sender (no real surprise there). I can send a *new* message to the mailing list by right-clicking on the folder, but not a reply. Instead I have to use reply-all and then remove the address of the original sender (so he doesn't get the same message twice). Does anyone else who uses KMail (1.2 with KDE 2.1.2) have a solution to this? I am not sure if this is only pat of kmail 1.3 but: You can try hitting L or use the Menuu Message-Reply list... bye t. I am using Kmail 1.3.2 and the Reply list feature includes the senders address as well as the list address. Can someone confirm this works in 1.3.2, or maybe I have some configuring to do? TIA this only works after assigning a mailing list to that folder (right-click folder- folder contains ml). unfortunetly,that doesn't create an equiv. filter, you have to do that manually (right-click message-create filter- from mailing list). hth and hand (sorry about typing, using one hand). - -- D.A.Bishop -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE75FhrKEJ4huP2XBERAq4PAKCTPpkLjRhgKLYTAfY4mEltIOd7hgCeLDzr KA1Ypz4cUQv+6Iw8cKfr3kE= =YgY+ -END PGP SIGNATURE-
Re: filters in kmail
Am Donnerstag, 1. November 2001 23:30 schrieb Mikage Sakurai: Hello, i have a problem with filters in kmail: i would like that all the mail coming from this mailing list went to the folder debian-kde, so i tried to set this filter rule: To: contains debian-kde@lists.debian.org and Cccontains debian-kde@lists.debian.org transfer debian-kde I can't understand what's wrong with it think it has to be something easy, but i have no clue thanks, Mikage Hello, try X-Loop: or Resent-From: This is working with me. For decisions like that, it was good for me to have all the headers shown in my mails and turn them off later on. -- -- Thomas Watz -- http://www.tomswebspace.f2s.com
Re: filters in kmail
On Friday 02 November 2001 09:31, Thomas Watz wrote: Am Donnerstag, 1. November 2001 23:30 schrieb Mikage Sakurai: Hello, i have a problem with filters in kmail: i would like that all the mail coming from this mailing list went to the folder debian-kde, so i tried to set this filter rule: To: contains debian-kde@lists.debian.org and Cc contains debian-kde@lists.debian.org transfer debian-kde I can't understand what's wrong with it think it has to be something easy, but i have no clue thanks, Mikage Hello, try X-Loop: or Resent-From: This is working with me. For decisions like that, it was good for me to have all the headers shown in my mails and turn them off later on. Message - View Source ... works also. But I just discovered that there is also a Message-Create Filter submenu (Or try RMB over folder list or message window) that offers filtering for Mailinglist if, e.g., list-id header field is present. Achim -- -- Thomas Watz -- http://www.tomswebspace.f2s.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To me vi is Zen. To use vi is to practice zen. Every command is a koan. Profound to the user, unintelligible to the uninitiated. You discover truth everytime you use it. -- [EMAIL PROTECTED]
filters in kmail
Hello, i have a problem with filters in kmail: i would like that all the mail coming from this mailing list went to the folder debian-kde, so i tried to set this filter rule: To: contains debian-kde@lists.debian.org and Cc contains debian-kde@lists.debian.org transfer debian-kde I can't understand what's wrong with it think it has to be something easy, but i have no clue thanks, Mikage
Re: filters in kmail
To: contains debian-kde@lists.debian.org and Cc contains debian-kde@lists.debian.org I imagine that would have to be an OR instead of an AND. Ciao, Gordon
Re: filters in kmail
Thus spake David P James ([EMAIL PROTECTED]): For spam that has my email address in it, I've got a couple of other filters lined up, most of them involving common spam subject words, such as ADV [don't know what this is but it's always spam] rich viagra xxx lolita Windows Reliability ...etc. It's quite satisfying to watch the spam accumulate in the trash and not in the inbox :) If this interests you, you might be interested in this: http://codesorcery.net/docs/spamtricks.html Something I whipped up to describe my anti-spam setup. -- Justin R. Miller [EMAIL PROTECTED] PGP/GnuPG Key ID 0xC9C40C31 (preferred) pgpShfoC8O4lT.pgp Description: PGP signature
Re: filters in kmail
Windows Reliability should we add XP to the list as well? heh :D Sunny Dubey