Subject: Glitches with Courier-IMAP and Pine 4.44

From: Lilla <[email-masked]>
Date: Sun, 13 Oct 2002 21:32:11 +0200

Hi,

I've configured Pine 4.44 to use me IMAP-SSL Courier-IMAP server with these 
lines in .pinerc:
   inbox-path={myhost/ssl/novalidate-cert}INBOX
   folder-collections=mybox {myhost/ssl/novalidate-cert}INBOX.[]
and it works just fine. I have three small problems left to solve which I 
couldn't find in the FAQ:

1. Pine stores all sent mail in the folder "sent-mail"... is it possible to 
change so it stores them in the folder "Sent" instead?

2. All my IMAP-folders have a "[.]". after their name in the Folder List, but 
on the disk they have no trailing "[.]". Is it possible to not show that in 
the folder list?

3. When I want to save mails to a folder and presses "tab" to autocomplete the 
foldername it fills out the foldername with a trailing dot (".") so I need to 
press backspace every time after an autocomplete. Is it possible to have Pine 
not adding that dot?

Thanks for any help!

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

---

From: "Mark T. Valites" <[email-masked]>
Date: Mon, 14 Oct 2002 11:55:27 -0400 (EDT)

I have a similar setup here with courier.  Besides annoying users with a
second password prompt, it works wonderfully.

> couldn't find in the FAQ:

I also have user=${USER} in those options in my
/usr/local/lib/pine.config(.fixed)

> change so it stores them in the folder "Sent" instead?

Change the default-fcc to "Sent".

> on the disk they have no trailing "[.]". Is it possible to not show that in

Believe it or not, it looks like quell-empty-directories will prevent
this.

> press backspace every time after an autocomplete. Is it possible to have Pine

Try the quell-emtpy-directories

Holler if you need anymore suggestions.

>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)

---

From: Lilla <[email-masked]>
Date: Mon, 14 Oct 2002 18:17:14 +0200

> > I've configured Pine 4.44 to use me IMAP-SSL Courier-IMAP server with
> > these lines in .pinerc:

Hmm... I don't seem to have that file pine.config or pine.config.fixed 
anywhere in my system... I'm using RedHat Linux 7.3 i686. In what file should 
I enter those words "user=${USER}" ? Can I do it in my ~/.pinerc ?

Thanks alot for your help with "default-fcc" and the magic 
"quell-emtpy-directories". They both really worked! :)

--
LH

---

From: "Mark T. Valites" <[email-masked]>
Date: Mon, 14 Oct 2002 15:27:43 -0400 (EDT)

> I enter those words "user=${USER}" ? Can I do it in my ~/.pinerc ?

I swear I can type, but it's a day off for me, so I'll claim that as my
excuse.  It's /usr/local/lib/pine.conf & /usr/local/lib/pine/conf/fixed
for a pretty stock compiled pine.

If you're using redhat, (someone correct me if I'm wrong) I think it's
your /etc/pine.conf & /etc/pine.conf.fixed.  The fixed file is for
settings you don't want your users to be able to change.  Using these
files saves you from having to create ~/.pinerc files for each user.

> "quell-emtpy-directories". They both really worked! :)

Not a problem.

Mark T. Valites
Unix Systems Analyst

---

From: Alessandro Selli <[email-masked]>
Date: Tue, 15 Oct 2002 10:16:30 +0200 (CEST)

Il giorno Mon, 14 Oct 2002, Mark T. Valites così ha scritto:

|From: Mark T. Valites <[email-masked]>
|To: Pine Discussion Forum <[email-masked]>
|Date: Mon, 14 Oct 2002 15:27:43 -0400
|Subject: Re: Glitches with Courier-IMAP and Pine 4.44
|
|If you're using redhat, (someone correct me if I'm wrong) I think it's
|your /etc/pine.conf & /etc/pine.conf.fixed.  The fixed file is for
|settings you don't want your users to be able to change.  Using these
|files saves you from having to create ~/.pinerc files for each user.
|

  I believe you're right as far as RedHat is concerned.  However, on a
Slackware 8.1 I find the file located in /usr/lib/pine/pine.conf.  I have no
*fixed file installed by default, however man 1 pine tells me it is to be
located in /usr/lib/pine/pine.conf.fixed .

  Sandro

-- 
Bellum se ipsum alet
       La guerra nutre se stessa

Livio, Ab urbe condita, XXXIV,9

---

From: "Lilla" <[email-masked]>
Date: Tue, 15 Oct 2002 16:09:06 +0200 (CEST)

>> anywhere in my system... I'm using RedHat Linux 7.3 i686. In what file
>> should I enter those words "user=${USER}" ? Can I do it in my
>> ~/.pinerc ?
>
> If you're using redhat, I think it's your /etc/pine.conf &
> /etc/pine.conf.fixed.

Thanks I got those files. But I don't really understand where in the
configfile to type "user=${USER}". I tried to put it on a single line but
it still get this when I start Pine:
    "HOST: myimapserver.my.domain  ENTER LOGIN NAME [myusername] :"
I thought that config ("user=${USER}") would help to avoid that question?

I also have another question... before I switched to Pine with
IMAP/Maildir I had working filtering in my .pinerc . Now only some of the
filterrules seem to work which is strange, also I realizes one need to
type "." instead of "/" to save mail in subfolders. For example this
filterrule works automatically:

LIT:pattern="/NICK=postfix-users/SENDER=[email-masked]/FLDTYPE=SPEC/FOLDER=INBOX"
action="/FILTER=1/FOLDER=postfix.users/NOKILL=1"

But this rules does not work (no errormessage, it justs no longer filter
these mails after switching to IMAP/Maildir):

LIT:pattern="/NICK=openoffice-users/TO=[email-masked]/FLDTYPE=SPEC/FOLDER=INBOX"
action="/FILTER=1/FOLDER=openoffice.users/NOKILL=1"

But they look very similar to each other, both saves the mail in a
subfolder (postfix.users and openoffice.users) but only the first rule
(postfix.users) seem to work after the switch to IMAP/Maildir.

Any idea why the second rule (openoffice-users) no longer does filter the
mail? If I select messages manually inside Pine by typing ';' + 'T' + 'T'
and "[email-masked]" it works, but not automatically when filtering.

Thanks for any help!

--
LH

---

From: "Mark T. Valites" <[email-masked]>
Date: Tue, 15 Oct 2002 10:35:42 -0400 (EDT)

> I thought that config ("user=${USER}") would help to avoid that question?

I have this in my rc file:

inbox-path={localhost/novalidate-cert/user=${USER}}INBOX.

> and "[email-masked]" it works, but not automatically when filtering.

No idea on the filters - I use procmail.

Mark T. Valites
Unix Systems Analyst

---

From: "Lilla" <[email-masked]>
Date: Tue, 15 Oct 2002 16:49:02 +0200 (CEST)

> inbox-path={localhost/novalidate-cert/user=${USER}}INBOX.

Thanks, that worked! :)

>> IMAP/Maildir I had working filtering in my .pinerc . Now only some of
>> the filterrules seem to work which is strange, also I realizes one
>> need to type "." instead of "/" to save mail in subfolders. For
>> example this filterrule works automatically:
>>
>> But this rules does not work (no errormessage, it justs no longer
>> filter these mails after switching to IMAP/Maildir):
>>

After testing more it looks like after switching to IMAP/Maildir Pine no
longer can filter the "TO=" automatically, only "SENDER=", strange isn't
it?

--
LH

---

From: "Lilla" <[email-masked]>
Date: Tue, 15 Oct 2002 16:54:05 +0200 (CEST)

> No idea on the filters - I use procmail.

Just curious.. I'm a bit newbie when it comes to filtering (I have always
used Pine's filtering).

How do you use Procmail together with Pine? Do you use it separately? Is
procmail running on the client or on the mailserver?

--
LH

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 15 Oct 2002 07:54:11 -0700 (PDT)

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

:) >> LIT:pattern="/NICK=postfix-users/SENDER=[email-masked]/FLDTYPE=SPEC/FOLDER=INBOX"
:) >> action="/FILTER=1/FOLDER=postfix.users/NOKILL=1"
:) >>
:) >> But this rules does not work (no errormessage, it justs no longer
:) >> filter these mails after switching to IMAP/Maildir):
:) >>
:) >> LIT:pattern="/NICK=openoffice-users/TO=[email-masked]/FLDTYPE=SPEC/FOLDER=INBOX"
:) >> action="/FILTER=1/FOLDER=openoffice.users/NOKILL=1"
:) >
:) > No idea on the filters - I use procmail.
:)
:) After testing more it looks like after switching to IMAP/Maildir Pine
:) no longer can filter the "TO=" automatically, only "SENDER=", strange
:) isn't it?

Right, this is a bug in the Courier IMAP server. Many people have noticed
it, I wonder why it has not been addressed. Has anyone reported it to the
developers of that server?

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

---

From: Luis Costabile <[email-masked]>
Date: Tue, 15 Oct 2002 11:13:45 -0400 (EDT)

Is it possible to do authenticated SMTP with pine?

if so, how ?  any links you can point me to?

thanks in advance.

--

---

From: Nancy McGough <[email-masked]>
Date: Fri, 18 Oct 2002 11:56:44 +0100 (BST)

> if so, how ?  any links you can point me to?

Yes, it's possible and I describe how to do it on my Power Pine
page in this section

 <http://www.ii.com/internet/messaging/pine/pc/#MSCtop>

HTH,
Nancy

-- 
       PROCMAIL  <http://www.ii.com/internet/robots/procmail/qs/>
           IMAP  <http://www.ii.com/internet/messaging/imap/isps/>
           PINE  <http://www.ii.com/internet/messaging/pine/>

--  I N F I N I T E  I N K    www.ii.com    N A N C Y  M c G O U G H  --

---

From: Luis Costabile <[email-masked]>
Date: Tue, 15 Oct 2002 11:12:02 -0400 (EDT)

In my .fetchmailrc the mda is set to procmail.

Then I have a file  .procmailrc which contains the filter rules.

procmail can also be used on the mail server, as I have it on my home
server , that way junk gets filtered before I even POP3 it,  also handy
for acting on mail right away, sending to a pager, etc even though I don't
POP3 my mail.

--