Subject: Pine imap and folders

From: Rick Gaine <[email-masked]>
Date: Wed, 21 Jan 1998 15:09:03 -0500 (EST)

I know that Pine has the ability to allow for remote mail checking via
imap by changing the inbox path  to {server}INBOX.  My question is, can
you set up pine to allow you to check remote servers by selecting another
folder?  I see this as a useful feature.  If this does exist, how do I do
it?

Rick

---

From: Stefan Kramer <[email-masked]>
Date: Thu, 22 Jan 1998 09:16:31 -0800 (PST)

Rick,

Go into PINE's FOLDER LIST screen and check the context-sensitive help for
it -- see the section on "Valid Folder Names" near the end.  One fictitious
(so far ;-) example given there for accessing a remote folder other than
the INBOX on another server is: 

	{monet.art.nowhere.edu}~/mail/september-1994

 ------------------------------------------------------------
  Stefan Kramer                   [email-masked]
  University of Washington        Computing & Communications        
 ------------------------------------------------------------

On Wed, 21 Jan 1998, Rick Gaine wrote:

> Message-ID: <[email-masked]>
> From: Rick Gaine <[email-masked]>
> To: Pine Discussion Forum <[email-masked]>
> Date: Wed, 21 Jan 1998 15:09:03 -0500 (EST)
> Subject: Pine imap and folders
> 
> 
>

---

From: Drachen <[email-masked]>
Date: Thu, 22 Jan 1998 09:29:45 -0800 (PST)

well, it's sort of fictitious. I got something like that to work on my
machine.

I have four email boxes

INBOX /var/spool/mail/drachen
{mail1.eni.net}abuse
{mail1.eni.net}drachen
IN.testing /home/drachen/mail/IN.testing

It sorta works. It requires much going in and out of pine. I'm working on
refining now.

--
[email-masked] System Administrator Epoch Internet
"Connecting The World, One Business At A Time......
By Caring About A Customers Success"
[email-masked] Spam Patrol

---

From: Terry Gray <[email-masked]>
Date: Thu, 22 Jan 1998 11:32:14 -0800 (Pacific Standard Time)

> folder?  I see this as a useful feature.  If this does exist, how do I do

In addition to previous responses regarding Pine folder collections, you
might also want to consider defining multiple *incoming* folders, so that
it is easy to check for new mail in them simply by using the TAB command
to automatically cycle through them from the INDEX screen.  (Pine will 
stop and open the folder only if there are new/interesting messages
in it.)

To do this, first, set the "enable-incoming-folders" feature, then use the
ADD dialog in the folder collection screen, OR edit your pinerc to have
something like:

incoming-folders=STATUS {shivams.cac.washington.edu}status,
	IMAP {shivams.cac.washington.edu}imap,
	ACAP {shivams.cac.washington.edu/user=gray}acap,
	PINE-INFO {shivams.cac.washington.edu:145}pine-info,
	SMIME {shivams.cac.washington.edu:145/user=gray}smime,
	CompMailPine {shivams.cac:145}{news.u.washington.edu/nntp}#news.comp.mail.pine,

Note that in my case above, I have different kinds of messages vectored
into different folders on the same server; that's done by a delivery
filtering too (e.g. procmail), but you might have different kinds
of messages going to different servers... 

Also note that the last line above assumes the latest UW IMAP server,
which will proxy between an IMAP client and an NNTP server.  That won't
work with earlier UW IMAP servers.

-teg

---

From: Drachen <[email-masked]>
Date: Thu, 22 Jan 1998 11:41:54 -0800 (PST)

woahwoahwoahwoahwoah

did you just imply that you got procmail to work with IMAP?

Please tell how.

---

From: Terry Gray <[email-masked]>
Date: Thu, 22 Jan 1998 11:56:27 -0800 (Pacific Standard Time)

> did you just imply that you got procmail to work with IMAP?

Well, no, I said "e.g. procmail"... that is "for example, procmail".  As
it happens, I don't use procmail myself (I use a [email-masked]
addressing convention), but I believe many do use procmail successfully
with IMAP, and I don't understand what the problem would be FOR SITES THAT
PERMIT SHELL OR NFS ACCESS TO THE IMAP SERVER and use the normal Unix
mailbox format.

For sites that don't meet the above test, the general problem of
user-controlled delivery filtering in a black-box, client-server
environment is, I think, still unsolved.  It's on our local list of email 
issues, but hasn't gotten much attention yet.

I believe some IMAP clients actually do pseudo-delivery filtering when
they start up by applying rules to the messages in the INBOX and stuffing
them back into different server folders according to those rules.   We've
resisted going down that path in Pine, because it is obviously less
efficient than doing delivery filtering all on the server at the time
messages arrive --but the client-based approach is a pragmatic work-around
to the lack of any standards or infrastructure for "doing it right".

So... could you clarify the problem you are interested in?

-teg

---

From: Drachen <[email-masked]>
Date: Thu, 22 Jan 1998 12:27:11 -0800 (PST)

<sigh>

I was so hoping :)