Subject: roles do not work

From: Tommi Lahtonen <[email-masked]>
Date: Fri, 12 Oct 2001 14:42:21 +0300 (EEST)

I have major problems with the roles in Pine 4.33 and Pine 4.40. They just
do not work as intended.

I have the following two roles in this order:

Nickname        = Hazor
To pattern      = <No Value Set>
>From pattern    = <No Value Set>
Sender pattern  = <No Value Set>
Cc pattern      = <No Value Set>
News pattern    = <No Value Set>
Subject pattern = <No Value Set>
Recip pattern   = <No Value Set>
Partic pattern  = <No Value Set>
AllText pattern = <No Value Set>
Score interval  = <No Value Set>

Current Folder Type =
            Set    Choose One
            ---  --------------------
            ( )  Any
            ( )  News
            ( )  Email
            (*)  Specific (Enter Incoming Nicknames or use ^T)
                 Folder List = INBOX

Nickname        = Ope
To pattern      = <No Value Set>
>From pattern    = <No Value Set>
Sender pattern  = <No Value Set>
Cc pattern      = <No Value Set>
News pattern    = <No Value Set>
Subject pattern = <No Value Set>
Recip pattern   = <No Value Set>
Partic pattern  = <No Value Set>
AllText pattern = <No Value Set>
Score interval  = <No Value Set>

Current Folder Type =
            Set    Choose One
            ---  --------------------
            (*)  Any
            ( )  News
            ( )  Email
            ( )  Specific (Enter Incoming Nicknames or use ^T)
                 Folder List =

Both of the roles have compose, forward and reply usages defined to
without confirmation. Everything else is in default condition except
for different From: line for both of them.

Now if I try to compose a new message then it works fine. Hazor-role is
offered in INBOX and Ope-role is offered in every other folder.

But if I try to reply or forward to any messages then Pine doesn't find
the right role even that it should!

And Yes, I have tried to check the option:

            [X]  confirm-role-even-for-default

With this option the Pine always asks which role to use. It becomes rather
annoying to pick the right role every time I am replying to someone when
it could be done automatically by Pine.

Pine knows the right role with compose but not with reply and forward.
Is there something wrong with my configuration or understanding or is
there a serious bug in Pine?

--------------------------------------------------------------------------
And then some comments about the following part of the role configuration:

Current Folder Type =
            Set    Choose One
            ---  --------------------
            (*)  Any
            ( )  News
            ( )  Email
            ( )  Specific (Enter Incoming Nicknames or use ^T)
                 Folder List =

In the specific-section if you use ^T you can choose only one folder.
Everytime you use ^T all the previous folders in the list get replaced
with the new one.

And does it really have to be an Incoming folder here? It would be very
nice if I could use my read-messages-folders also here.

--------------------------------------------------------------------------
and about filtering rules:

Would it be possible to get a NOT-operation
in the filtering rules? It would make easier to filter out mails which
are not sent directly to your address. For example, I could filter all
my mailing lists with normal roles and then as a last role I could write
something like this:

Nickname        = Spam
To pattern      = [email-masked]

! stands here for NOT. I could filter all the rest (probably spam)
somewhere where it could be easily deleted. And all the normal mail
would end up in my INBOX.

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

I have had a perfectly wonderful evening.  But this wasn't it.  -- Groucho Marx

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Eduardo Chappa <[email-masked]>
Date: Fri, 12 Oct 2001 13:14:29 -0700 (PDT)

*** Tommi Lahtonen ([email-masked]) wrote in the pine-info list today:

:) I have major problems with the roles in Pine 4.33 and Pine 4.40. They just
:) do not work as intended.
:)
:) Both of the roles have compose, forward and reply usages defined to
:) without confirmation. Everything else is in default condition except
:) for different From: line for both of them.
:)
:) Now if I try to compose a new message then it works fine. Hazor-role is
:) offered in INBOX and Ope-role is offered in every other folder.
:)
:) But if I try to reply or forward to any messages then Pine doesn't find
:) the right role even that it should!

I tried to reproduce this, but couldn't. Could you cut and paste the
definitions of your roles from the .pinerc file?

:) And Yes, I have tried to check the option:
:)
:)             [X]  confirm-role-even-for-default

You should uncheck this option.

:) and about filtering rules:
:)
:) Would it be possible to get a NOT-operation in the filtering rules?

The way to do this in Pine is to set a score. You must define a score rule
that gives a score, say of 10, to every message that goes to
[email-masked], then use the field "Score interval" in the definition
of the filter to set that messages with a score less than 10 be filtered
somewhere else.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/