Subject: Re: roles do not work

From: Tommi Lahtonen <[email-masked]>
Date: Sat, 13 Oct 2001 11:25:53 +0300 (EEST)

On Fri, 12 Oct 2001, Eduardo Chappa wrote:

>   *** Tommi Lahtonen ([email-masked]) wrote on Oct 13, 2001:
>
>   :) > I tried to reproduce this, but couldn't. Could you cut and paste the
>   :) > definitions of your roles from the .pinerc file?
>   :)
>   :) Here they are:
>   :)
>   :) # Patterns and their actions are stored here.
>   :) patterns-roles=LIT:pattern="/NICK=Hazor/FLDTYPE=SPEC/FOLDER=INBOX" action="/ROLE=1/FROM=Tommi Lahtonen <[email-masked]>/FCC=sent-mail-hazor/SIG=\/home\/hazor\/bin\/omasig|/RTYPE=NC/FTYPE=NC/CTYPE=NC",
>   :) 	LIT:pattern="/NICK=ope/TO=/FROM=/SENDER=/CC=/RECIP=/PARTIC=/NEWS=/SUBJ=/ALL=/FLDTYPE=ANY" action="/ROLE=1/FROM=Tommi Lahtonen <[email-masked]>/FCC=sent-mail-ope/SIG=\/home\/hazor\/bin\/opesig|/RTYPE=NC/FTYPE=NC/CTYPE=NC"
>
>   Thank you. I noticed that the second filter has values set to <Empty
>   Value> and not to <No Value Set>. That makes a difference. "<Emtpy Value>"
>   means that the header is not present, but "<No Value Set>" means that you
>   do not care if that header exist or the value that it has, so change the
>   role "ope" to be

Oops. These must have been from some old testings and I didn't notice the
wrong values anymore. Now it works perfectly. Thank you for your help.

Pine is a great program :)

-- 
Tommi Lahtonen, [email-masked], <URL: http://www.iki.fi/hazor/>

Attack the problem, not each other.  -- Limon

---

From: Tommi Lahtonen <[email-masked]>
Date: Sat, 13 Oct 2001 14:34:46 +0300 (EEST)

On Fri, 12 Oct 2001, Eduardo Chappa wrote:

>   LIT:pattern="/NICK=ope/FLDTYPE=ANY" action="/ROLE=1/FROM=Tommi Lahtonen <[email-masked]>/FCC=sent-mail-ope/SIG=\/home\/hazor\/bin\/opesig|/RTYPE=NC/FTYPE=NC/CTYPE=NC"
>
>   and that should make it work.

Now more problems. I have now several roles and some of them work just
like they should work and some of them do not. It looks like that it
depends of the folder name?

I have the following roles:

# Patterns and their actions are stored here.
patterns-roles=LIT:pattern="/NICK=Hazor/FLDTYPE=SPEC/FOLDER=INBOX" action="/ROLE=1/FROM=Tommi Lahtonen <[email-masked]>/FCC=sent-mail-hazor/SIG=\/home\/hazor\/bin\/omasig|/RTYPE=NC/FTYPE=NC/CTYPE=NC",
	LIT:pattern="/NICK=Tyhjä Joukko/FLDTYPE=SPEC/FOLDER=TJ" action="/INICK=Hazor/ROLE=1/FROM=Tommi Lahtonen <[email-masked]>/RTYPE=NC/FTYPE=NC/CTYPE=NC",
	LIT:pattern="/NICK=[email-masked]/FLDTYPE=SPEC/FOLDER=W3C" action="/INICK=[email-masked]/ROLE=1/RTYPE=NC/FTYPE=NC/CTYPE=NC",
	LIT:pattern="/NICK=[email-masked]/FLDTYPE=SPEC/FOLDER=Scene" action="/INICK=hazor/ROLE=1/FROM=Tommi Lahtonen <[email-masked]>/RTYPE=NC/FTYPE=NC/CTYPE=NC",
	LIT:pattern="/NICK=[email-masked]/FLDTYPE=ANY" action="/INICK=hazor/ROLE=1/FROM=Tommi Lahtonen <[email-masked]>/FCC=sent-mail-ope/SIG=\/home\/hazor\/bin\/opesig|/RTYPE=NC/FTYPE=NC/CTYPE=NC"

The first role works just fine but the second one (Tyhjä Joukko) doesn't
work. Every time I try to compose a message in TJ-folder I get the last
role and not the Tyhjä Joukko -role.

The third role ([email-masked]) has the same problem.

fourth role ([email-masked]) works just fine. Except if I add another
folder to it for example read-messages-Scene. After that this role still
works in Scene-folder but it will not start working in
read-messages-Scene-folder.

The most hopelessly stupid man is he who is not aware that he is wise.