pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] how to use additional X-headers for scoring?


From: Heinrich Mueller
Subject: Re: [Pan-users] how to use additional X-headers for scoring?
Date: Wed, 5 Oct 2011 04:54:43 +0000 (UTC)
User-agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 6fe4e4e merge_with_lostcoder_testing)

Am Tue, 04 Oct 2011 07:43:49 +0000 schrieb Heinrich Müller:

> Am Tue, 04 Oct 2011 05:07:50 +0000 schrieb Heinrich Müller:
> 
>> Am Mon, 03 Oct 2011 17:24:25 +0200 schrieb FritzS - gmx:
>> 
>>> Hello,
>>> I am new here on pan users.
>>> I run pan 0.135 under Mac OS X Lion and MacPorts (GIT 30dc37b master;
>>> x86_64-apple-darwin11.1.0)
>>> 
>>> how I could use additional X-headers such as X-Authenticated-User:
>>> or NNTP-Posting-Host:
>>> for scoring?
>>> 
>>> In Score this don't work:
>>> %BOS %Score created by Pan on Wed Sep 28 06:26:18 2011 [~xxxxxx]
>>> Score:: -600 X-Authenticated-User: ^$$m$x1dqu63w4useridf$
>>> %EOS
>>> 
>>> the string $$m$x1dqu63w4useridf  is the user ID on the NNTP server and
>>> posted in the header
>>> 
>>> The original line in header:
>>> X-Authenticated-User: $$m$x1dqu63w4useridf
>>> 
>>> This works well %BOS %Score created by Pan on Mon Oct  3 10:21:15 2011
>>> [~xxxxxx]
>>> Score:: =-606 From: address@hidden \(Name Equall\)$
>>> %EOS
>>> 
>>> [~xxxxxx] (is not xxxxxx)  works  as Joker for all groups [*] don't
>>> work
>>> 
>>> .....
>>> How can I change, expand the selection at / Article / add new rating
>>> ..
>>> / From the article ....
>>> 
>>> In German /Artikel/Neue Wertung hinzufügen ../Und die Artikel ....
>>> .....
>>> The next X-Header I want to use for scoring is the NNTP-Posting-Host:
>>> and with a Joker for a part of the hostname looks like this
>>> NNTP-Posting-Host: *.hostname.domain.com * is the ip from the posting
>>> host and a Joker is needed .....
>>> 
>>> Plus and minus scoring appear interchanged in the pan German version
>>> too.
>>> 
>>> Could I attach some screenshots in this mailing list too?
>>> 
>>> PS: Please excuse my bad english, my native language is German, I live
>>> in Austria :-)
>> 
>> This doesn't work as of yet in pan, but you just got my attention. I'll
>> add this to the program.
>> You're right, the translation is wrong. I changed it already in my git
>> repository.
>> Don't worry, your english is fine. ;)
>> 
>> 
>> 
>> _______________________________________________
>> Pan-users mailing list address@hidden
>> https://lists.nongnu.org/mailman/listinfo/pan-users
> 
> I roughly implemented it now, test it please. (my git repository)
> judgefudge @ github
> 
> 
> 
> _______________________________________________
> Pan-users mailing list address@hidden
> https://lists.nongnu.org/mailman/listinfo/pan-users

Bumping myself. I just figured out through your conversation with
Duncan that my version is not needed as it works out-of-the-box.
Well, I'll implement generic adding of header values for scoring then.

Cheers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]