Thread View: news.software.readers
7 messages
7 total messages
Started by Tarkus
Wed, 01 Oct 2003 06:54
[Dialog] Filtering crossposts in email
Author: Tarkus
Date: Wed, 01 Oct 2003 06:54
Date: Wed, 01 Oct 2003 06:54
41 lines
2719 bytes
2719 bytes
If you subscribe to multiple mailing lists that point to the same folder, and there is a crosspost between two of them, you get the one copy in the folder, and then another copy elsewhere (usually your Inbox). I subscribe to kc_chiefs@yahoogroups.com and chiefs@yahoogroups.com, both of which are sent to a folder called Chiefs. Items are crossposted to these two groups quite often, so what I'd like to do is delete the extra copy. So what I'd like to do is have a scoring action that looks for both in the To: line, then check the Reply-To: line and if it matches a certain one of them, it would delete it (or at least mark it as read). I would prefer to keep the kc_chiefs message and remove the chiefs message, though I realize it's probably easier to get rid of the kc_chiefs message. So for example, if the To: line looks like this: >To: kc_chiefs@yahoogroups.com, chiefs@yahoogroups.com (or vice versa) And the Reply-To: line looks like this: >Reply-To: chiefs@yahoogroups.com I'd want to delete or mark that message as read. But if the Reply-To: line looks like this: >Reply-To: kc_chiefs@yahoogroups.com It would leave it alone. Can anyone help? -- The Official Binary News Reaper (BNR) mailing list: Email: bnr1-subscribe@yahoogroups.com Web: http://groups.yahoo.com/group/bnr1/ Now playing: "Rick Wakeman - Robot Dance"
Re: [Dialog] Filtering crossposts in email
Author: Antonio 'Gandalf' Favata
Date: Wed, 01 Oct 2003 10:27
Date: Wed, 01 Oct 2003 10:27
18 lines
1910 bytes
1910 bytes
news.software.readers ~ 1/10/2003 8.54 ~ Tarkus: > Can anyone help? Use the score. +5 To "kc_chiefs@yahoogroups.com, chiefs@yahoogroups.com" +5 To "chiefs@yahoogroups.com, kc_chiefs@yahoogroups.com" +5 Reply-To "chiefs@yahoogroups.com" -5 Reply-To "kc_chiefs@yahoogroups.com" Then you can delete email that have a score lower than 15. -- Fare Well! | gandalf@ithn.net ~ ICQ# 16553733 ~ now: 01/10/2003 12.26.14 G | 40tude Dialog (presto in Italiano): http://snurl.com/dialog �Many are my names in many countries.�
Re: [Dialog] Filtering crossposts in email
Author: Tarkus
Date: Thu, 02 Oct 2003 09:12
Date: Thu, 02 Oct 2003 09:12
41 lines
2878 bytes
2878 bytes
On 1 Oct 2003 10:27:42 GMT, Antonio 'Gandalf' Favata wrote: > Use the score. > > +5 To "kc_chiefs@yahoogroups.com, chiefs@yahoogroups.com" > +5 To "chiefs@yahoogroups.com, kc_chiefs@yahoogroups.com" > +5 Reply-To "chiefs@yahoogroups.com" > -5 Reply-To "kc_chiefs@yahoogroups.com" > > Then you can delete email that have a score lower than 15. Actually, I think you mean lower than 10, since only one of the first two lines would apply to any particular mail. The problem with this is that most of my regular email has a score of 0, so I would have to actually get into the negative. Hmmm...maybe something like this: -1 Header (To) "kc_chiefs@yahoogroups.com, chiefs@yahoogroups.com" -1 Header (To) "chiefs@yahoogroups.com, kc_chiefs@yahoogroups.com" +1 Header (Reply-To) "chiefs@yahoogroups.com" So any crosspost would go to -1, and the third action would bring up "chiefs" to 0, while "kc_chiefs" would remain at -1. Messages not crossposted would remain at 0 for "kc_chiefs" and be 1 for "chiefs". Since I'm already configured to mark messages read that are -1 or lower, that would require no further action from me to get rid of dupes (from sight anyway). I'll have to give that a try right away. Thanks for your input. -- The Official Binary News Reaper (BNR) mailing list: Email: bnr1-subscribe@yahoogroups.com Web: http://groups.yahoo.com/group/bnr1/ Now playing: the radio
Re: [Dialog] Filtering crossposts in email
Author: Tarkus
Date: Thu, 02 Oct 2003 16:43
Date: Thu, 02 Oct 2003 16:43
32 lines
2766 bytes
2766 bytes
On Thu, 02 Oct 2003 09:12:19 GMT, Tarkus wrote: > Hmmm...maybe something like this: > > -1 Header (To) "kc_chiefs@yahoogroups.com, chiefs@yahoogroups.com" > -1 Header (To) "chiefs@yahoogroups.com, kc_chiefs@yahoogroups.com" > +1 Header (Reply-To) "chiefs@yahoogroups.com" > > So any crosspost would go to -1, and the third action would bring up > "chiefs" to 0, while "kc_chiefs" would remain at -1. Messages not > crossposted would remain at 0 for "kc_chiefs" and be 1 for "chiefs". > > Since I'm already configured to mark messages read that are -1 or lower, > that would require no further action from me to get rid of dupes (from > sight anyway). Doesn't work because "chiefs" is a subset of "kc_chiefs", and thus, "kc_chiefs also ends up at 0, not -1. Now to try this: -1 Header (To) "kc_chiefs@yahoogroups.com, chiefs@yahoogroups.com" -1 Header (To) "chiefs@yahoogroups.com, kc_chiefs@yahoogroups.com" +1 Header (Reply-To) "kc_chiefs@yahoogroups.com" If that works like I think it will, it has the added benefit of saving the "kc_chiefs" version of the message, which is what I prefer anyway. -- The Official Binary News Reaper (BNR) mailing list: Email: bnr1-subscribe@yahoogroups.com Web: http://groups.yahoo.com/group/bnr1/ Now playing: the radio
Re: [Dialog] Filtering crossposts in email
Author: Antonio 'Gandalf' Favata
Date: Thu, 02 Oct 2003 16:49
Date: Thu, 02 Oct 2003 16:49
20 lines
2424 bytes
2424 bytes
news.software.readers ~ 2/10/2003 18.43 ~ Tarkus:
> -1 Header (To) "kc_chiefs@yahoogroups.com, chiefs@yahoogroups.com"
> -1 Header (To) "chiefs@yahoogroups.com, kc_chiefs@yahoogroups.com"
> +1 Header (Reply-To) "kc_chiefs@yahoogroups.com"
It should be:
|| -1 Header "To: kc_chiefs@yahoogroups.com, chiefs@yahoogroups.com"
|| -1 Header "To: chiefs@yahoogroups.com, kc_chiefs@yahoogroups.com"
|| +1 Header "Reply-To: "kc_chiefs@yahoogroups.com
Also, you could use regex (I'd advice you to do so!):
|| -1 To {((kc_)?chiefs@yahoogroups\.com|, ){2}}
|| +1 Reply-To {^kc_chiefs@yahoogroups\.com$}
--
Fare Well! | gandalf@ithn.net ~ ICQ# 16553733 ~ now: 02/10/2003 18.46.31
G | 40tude Dialog (presto in Italiano): http://snurl.com/dialog
Hard work has a future payoff. Laziness pays off now.
Re: [Dialog] Filtering crossposts in email
Author: Tarkus
Date: Thu, 02 Oct 2003 21:53
Date: Thu, 02 Oct 2003 21:53
17 lines
2079 bytes
2079 bytes
On 2 Oct 2003 16:49:18 GMT, Antonio 'Gandalf' Favata wrote:
> Also, you could use regex (I'd advice you to do so!):
>|| -1 To {((kc_)?chiefs@yahoogroups\.com|, ){2}}
>|| +1 Reply-To {^kc_chiefs@yahoogroups\.com$}
Improper syntax. I had to change it to:
-1 Header (To) {((kc_)?chiefs@yahoogroups\.com|, ){2}}
+1 Header (Reply-To) {^kc_chiefs@yahoogroups\.com$}
--
The Official Binary News Reaper (BNR) mailing list:
Email: bnr1-subscribe@yahoogroups.com
Web: http://groups.yahoo.com/group/bnr1/
Now playing: the radio
Re: [Dialog] Filtering crossposts in email
Author: Tarkus
Date: Thu, 02 Oct 2003 21:53
Date: Thu, 02 Oct 2003 21:53
14 lines
1979 bytes
1979 bytes
On 2 Oct 2003 16:49:18 GMT, Antonio 'Gandalf' Favata wrote:
> Also, you could use regex (I'd advice you to do so!):
>|| -1 To {((kc_)?chiefs@yahoogroups\.com|, ){2}}
>|| +1 Reply-To {^kc_chiefs@yahoogroups\.com$}
I like that! I'll give it a shot. Thanks.
--
The Official Binary News Reaper (BNR) mailing list:
Email: bnr1-subscribe@yahoogroups.com
Web: http://groups.yahoo.com/group/bnr1/
Now playing: the radio
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads