[kdepim-users] KNode scoring rules and reading posts only from selected authors

Ingo Klöcker kloecker at kde.org
Mon Oct 13 21:05:54 BST 2008


On Monday 13 October 2008, skx wrote:
> Hello,
>
> I read few very high volume newsgroups and would like to mark all
> posts as read except posts from selected authors (about a dozen of
> them, different for every group), me and/or proceeded my responses.
>
> I have started to create the rule
>
> <Rule expires="never" linkmode="AND" name="autorzy: preg" >
>     <Group name="pl.pregierz" />
>     <Expression expr="author1" neg="1" type="CONTAINS" header="From"
> /> <Expression expr="author2" neg="1" type="CONTAINS" header="From"
> /> <Expression expr="author3" neg="1" type="CONTAINS" header="From"
> /> <Expression expr="author4" neg="1" type="CONTAINS" header="From"
> /> <Expression expr="author5" neg="1" type="CONTAINS"
> header="Subject" /> <Expression expr="author6" neg="1"
> type="CONTAINS" header="From" /> <Expression expr="author7" neg="1"
> type="CONTAINS" header="From" /> <Expression expr="skx" neg="1"
> type="CONTAINS" header="From" /> <Action type="MARKASREAD" />
>   </Rule>
>
> but noticed that GUI rule creator only allows 8 conditions, while
> this way I'll need at least 15. I tried editing scorefile manually,
> but it gets overwritten on start.
>
> How to add more conditions or write a smarter rule with described
> effect?

If KNode's scoring rules support regular expressions then you can use 
those as workaround for the restriction to 8 conditions, e.g. write
  [From] [does not match regular expression] "author1|author2|author3"


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20081013/67ccd467/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list