Problem with filters on mailing list in kmail
Hi
I've been using kmail since I started using SUSE, and it's one of the
email-clients I like best. However, I cannot get the filter on this mailing
list to work. I'm subscribed to the LKML mailing list and quite a few others.
I've tried putting a filter on x-mailing-list and put suse-linux-e there, and
I've tried putting it in List-Id and List-post, I've also used
On Thu December 15 2005 1:16 pm, Jon Jahren wrote:
I've tried putting a filter on x-mailing-list and put suse-linux-e there, and I've tried putting it in List-Id and List-post, I've also used
and suse-linux-e@suse.com, with no luck. The mails appear in "INbox" instead of the mailbox "SUSE", and I have to manually move them to "SUSE" because the filter does not send them there. mine has: To: contains suse-linux-e@suse.com
-- Paul Cartwright Registered Linux user # 367800
On Thursday 15 December 2005 2:27 pm, Paul Cartwright wrote:
On Thu December 15 2005 1:16 pm, Jon Jahren wrote:
I've tried putting a filter on x-mailing-list and put suse-linux-e there, and I've tried putting it in List-Id and List-post, I've also used
and suse-linux-e@suse.com, with no luck. The mails appear in "INbox" instead of the mailbox "SUSE", and I have to manually move them to "SUSE" because the filter does not send them there. mine has: To: contains suse-linux-e@suse.com I use list-post. The reason is that suse-linux-e@suse.com could be in to:, CC: and possibly bcc: where you won't see it. In the past, list-post seems to be very stable. -- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2005-12-16 at 14:31 -0500, Jerry Feldman wrote:
On Thursday 15 December 2005 2:27 pm, Paul Cartwright wrote:
On Thu December 15 2005 1:16 pm, Jon Jahren wrote:
I've tried putting a filter on x-mailing-list and put suse-linux-e there, and I've tried putting it in List-Id and List-post, I've also used
and suse-linux-e@suse.com, with no luck. The mails appear in "INbox" instead of the mailbox "SUSE", and I have to manually move them to "SUSE" because the filter does not send them there. mine has: To: contains suse-linux-e@suse.com I use list-post. The reason is that suse-linux-e@suse.com could be in to:, CC: and possibly bcc: where you won't see it. In the past, list-post seems to be very stable.
- From Q3.3) of this list FAQ, the recommended way is to use "Mailing-List" for filtering this list: If your system is configured to use procmail to deliver mail locally (SuSE's postfix and sendmail packages are) all you need to do is create a file in your home directory named '.procmailrc' that contains something like the following: MAILDIR=$HOME/Mail # where do you keep your mail? DEFAULT=$MAILDIR/inbox # what's you default mail box? # if mail is from list put it in $MAILDIR/foo :0 * ^Mailing-List:.*suse-linux-e $MAILDIR/foo Everything else will be placed in $DEFAULT. By default, procmail creates a normal mbox formatted mail box so if you want to copy the file somewhere (e.g., to a PDA) you only need to, in the above example, copy $MAILDIR/sle. Of course, procmail is capable of much more than what this simple example shows, so please read procmailrc(5) and procmailex(5) for more information. If to the above you add a second rule like: :0 * ^TO_suse-linux-e@suse.com $HOME/Mail/lists/in_dups it will catch those replies CC to the list and the originator ;-) - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDpwhBtTMYHG2NR9URAkRbAJ90ckJTZTvacu4YT/Spwup28KYF2gCfZo4D NUCEKS1G9jWy9O2F0CFUATU= =M1Xh -----END PGP SIGNATURE-----
On Thursday 15 December 2005 12:16, Jon Jahren wrote:
Hi I've been using kmail since I started using SUSE, and it's one of the email-clients I like best. However, I cannot get the filter on this mailing list to work. I'm subscribed to the LKML mailing list and quite a few others.
I've tried putting a filter on x-mailing-list and put suse-linux-e there, and I've tried putting it in List-Id and List-post, I've also used
and suse-linux-e@suse.com, with no luck. The mails appear in "INbox" instead of the mailbox "SUSE", and I have to manually move them to "SUSE" because the filter does not send them there. Any ideas? Thanks in advance Jon Jahren
I have 2 filters for this, as I move my posts as well in the dedicated folder.
My incoming filter filter has 2 rules ("match any of the following"):
1. <List-Post> contains mailto:suse-linux-e@suse.com
2. CC contains
On Thursday 15 December 2005 13:47, Sunny wrote:
Actually, now as I read all this, maybe just adding a 3rd trigger in the first rule (for the TO field), and making this rule to inspect outgoing mails as well, should work.
Even easier, and no need for another filter: Right-click on the folder that you use for the mailing list, select "Properties", and check the box next to "Keep replies in this folder". Instead of going to your sent-mail folder, replies will end up in the mailing list folder. This will also preserve threading. -- Homepage http://scottj.org XFce desktop environment http://www.xfce.org Goodies for the XFce desktop http://xfce-goodies.berlios.de
On Thursday 15 December 2005 15:32, Scott Jones wrote:
On Thursday 15 December 2005 13:47, Sunny wrote:
Even easier, and no need for another filter: Right-click on the folder that you use for the mailing list, select "Properties", and check the box next to "Keep replies in this folder". Instead of going to your sent-mail folder, replies will end up in the mailing list folder. This will also preserve threading.
Thanks, I know that. But sometimes, I use the web interface of gmail to read/answer. And when I'm back home, and start kmail, it gets all locally. And I need the last filter, so the answers are put in the right place. Cheers Sunny
On Thursday 15 December 2005 10:16, Jon Jahren wrote:
Hi I've been using kmail since I started using SUSE, and it's one of the email-clients I like best. However, I cannot get the filter on this mailing list to work. I'm subscribed to the LKML mailing list and quite a few others.
I've tried putting a filter on x-mailing-list and put suse-linux-e there, and I've tried putting it in List-Id and List-post, I've also used
and suse-linux-e@suse.com, with no luck. The mails appear in "INbox" instead of the mailbox "SUSE", and I have to manually move them to "SUSE" because the filter does not send them there. Any ideas? Thanks in advance Jon Jahren
A filter on the subject containing "[SLE]" works for me flawlessly. Regards, Mark
[Mark A. Taff]
[Jon Jahren]
I've tried putting a filter on x-mailing-list and put suse-linux-e there,
Any ideas?
A filter on the subject containing "[SLE]" works for me flawlessly.
I did not follow the conversation, so I might be way off topic, or
repeating what others have been said, and apologize if doing so.
One thing useful to me is filtering through `procmail'. Here is the
exact recipe I use (within ~/.procmailrc). While the recipe is for the
`Reply-To' field, maybe it may be adapted to your needs?
:0 f
* ^X-Mailinglist: suse-linux-e
| formail -bfi "Reply-To: SuSE Linux English
Mark, On Thursday 15 December 2005 12:09, Mark A. Taff wrote:
...
A filter on the subject containing "[SLE]" works for me flawlessly.
This practice is why so many mailing lists pollute their participants' subject headers with this superfluous silliness. There are plenty other better ways to filter email. The best run lists keep their servers hands off the Subject header.
Mark
Randall Schulz
On Thursday 15 December 2005 20:12, Randall R Schulz wrote:
Mark,
On Thursday 15 December 2005 12:09, Mark A. Taff wrote:
...
A filter on the subject containing "[SLE]" works for me flawlessly.
This practice is why so many mailing lists pollute their participants' subject headers with this superfluous silliness. There are plenty other better ways to filter email. The best run lists keep their servers hands off the Subject header.
Mark
Randall Schulz
Too bad this is not one of those "best run lists"... Actually, I greatly _prefer_ have the [SLE] in the subject line. It makes it trivial for a human to spot a mis-filed message. There will always be ways for a computer to filter mail that don't depend on it being easy or sensible or anything else. It is nice, however, to have one easy human-friendly way to do it as well. Mark
* Mark A. Taff
Too bad this is not one of those "best run lists"...
but IT IS.
Actually, I greatly _prefer_ have the [SLE] in the subject line.
I *used* to have a sed filter around here somewhere to remove those. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
Jon, On Thursday 15 December 2005 10:16, Jon Jahren wrote:
Hi I've been using kmail since I started using SUSE, and it's one of the email-clients I like best. However, I cannot get the filter on this mailing list to work. I'm subscribed to the LKML mailing list and quite a few others.
I've tried putting a filter on x-mailing-list and put suse-linux-e there, and I've tried putting it in List-Id and List-post, I've also used
and suse-linux-e@suse.com, with no luck. The mails appear in "INbox" instead of the mailbox "SUSE", and I have to manually move them to "SUSE" because the filter does not send them there.
KMail will show you full headers, if you request it (View -> Headers -> All Headers). When you do, you'll see there is no x-mailing-list, it's x-mailinglist. Likewise, there's no List-ID. There _is_ a list-post, and it contains suse-linux-e@suse.com, so a filter based on that criterion should work. I use the Delivered-To header.
Jon Jahren
Randall Schulz
On Friday 16 December 2005 05:09, Randall R Schulz wrote:
Jon, KMail will show you full headers, if you request it (View -> Headers -> All Headers). When you do, you'll see there is no x-mailing-list, it's x-mailinglist. Likewise, there's no List-ID. There _is_ a list-post, and it contains suse-linux-e@suse.com, so a filter based on that criterion should work.
I use the Delivered-To header.
Jon Jahren
Randall Schulz
Thanks, I just used kmails automatic filter creation and didn't know about that little "trick" there. Created a filter on X-Malinglist and it's working flawlessly. Thanks everyone for the help! Jon
On Thursday 15 December 2005 11:09 pm, Randall R Schulz wrote:
Jon,
On Thursday 15 December 2005 10:16, Jon Jahren wrote:
Hi I've been using kmail since I started using SUSE, and it's one of the email-clients I like best. However, I cannot get the filter on this mailing list to work. I'm subscribed to the LKML mailing list and quite a few others.
I've tried putting a filter on x-mailing-list and put suse-linux-e there, and I've tried putting it in List-Id and List-post, I've also used
and suse-linux-e@suse.com, with no luck. The mails appear in "INbox" instead of the mailbox "SUSE", and I have to manually move them to "SUSE" because the filter does not send them there. KMail will show you full headers, if you request it (View -> Headers -> All Headers). When you do, you'll see there is no x-mailing-list, it's x-mailinglist. Likewise, there's no List-ID. There _is_ a list-post, and it contains suse-linux-e@suse.com, so a filter based on that criterion should work. My kamil has had an option for several versions now, where you right click on the message and create a filet, filter on mailing list ( whatever mailing list it is ) and have some folder to filter it into.. you then have all email from the mailing list, however it gets modified ( so far anyway ) in one folder.
-- j Morning, Evolution in action. only the grumpy will survive Don't try to change my attitude or rearrange my latitude; Don't tell me what I think, I got to get me some boat drinks
On 12/15/2005 12:16 PM, Jon Jahren wrote:
Hi I've been using kmail since I started using SUSE, and it's one of the email-clients I like best. However, I cannot get the filter on this mailing list to work. I'm subscribed to the LKML mailing list and quite a few others.
I've tried putting a filter on x-mailing-list and put suse-linux-e there, and I've tried putting it in List-Id and List-post, I've also used
and suse-linux-e@suse.com, with no luck. The mails appear in "INbox" instead of the mailbox "SUSE", and I have to manually move them to "SUSE" because the filter does not send them there.
Are those filter checks case-sensitive? (You also have a typo in one of them.) The actual case-sensitive header names are X-Mailinglist and list-post.
participants (12)
-
Carlos E. R.
-
Darryl Gregorash
-
François Pinard
-
Jerry Feldman
-
jfweber@bellsouth.net
-
Jon Jahren
-
Mark A. Taff
-
Patrick Shanahan
-
Paul Cartwright
-
Randall R Schulz
-
Scott Jones
-
Sunny