Subject: pine, IMAP and filtering

From: Drachen <[email-masked]>
Date: Mon, 15 Dec 1997 02:54:35 -0800 (U)

I'm trying to set up pine to sort my mail (by subject and From field right
now--i.e. all mail from [email-masked] goes to folder IN.foo and all mail
with the subject qaz goes to folder qaz, etc).

Near as I can tell, the recommended procedure for this is to use procmail,
but it looks like (to me) that the mail delivery agent needs to be running
on the computer that I'm checking my mail on, which is not the case here.

Currently I access my mail through a telnet unix account using pine, which
uses IMAP to get mail from the mailserver (which I do not have a telnet
account on, only a mail account)

Any ideas on how I can filter? Am I just confused about procmail needing
access to a local delivery agent?

Thanks,
Drachen

---

From: Edward M Greshko <[email-masked]>
Date: Tue, 16 Dec 1997 23:49:53 +0800 (GMT)

> access to a local delivery agent?

You do have a problem if your inbox is on a machine for which you have no
login account.

However, all is not lost.  The way procmail works is by piping the
incoming mails to procmail as STDIN via the .forward file.

You can do the following:

1.	Get procmail on the system where you run pine and do have the
login account.

2.	Setup your .procmailrc

3.	When in pine you can use the following sequence

	; a a | procmail

	This means, "select", "all", "apply", "pipe to procmail".

You are done.  You just have to remember to clean out your inbox so the
next time you perform "3" you don't get multiple copies.

Ed

-- 
Edward M. Greshko                  Technical Manager, Electronic Commerce
                                   Control Data Asia/Pacific Region
PGPKey-ID:CA3AFA5D  Fingerprint: 2DE6 5527 144E D1BC  3C55 9FA5 518E 52EE

---

From: Drachen <[email-masked]>
Date: Fri, 26 Dec 1997 12:12:28 -0800 (PST)

> You do have a problem if your inbox is on a machine for which you have no

I do have root access now, though..I'm just not sure that it would amuse
anyone if I played with it...(breaking mail servers is *not* a good idea
:) )

> next time you perform "3" you don't get multiple copies.

The only problem I've found with this is that pine seems to only pipe
through part of the header...messages come out as from me, to me. (it does
sort correctly by subject, though) -- any ideas on this?

It does give me some interesting ideas, though. (using pop [I don't like
this because it's insecure--clear text passwords = bad thing]--bouncing
mail to the local machine [and then using a .forward there] I haven't
tried this yet [this is my work machine, and I actually find myself doing
a lot of work on it.. :) no time lately, especially since most of the
department is out on vacation] forwarding mail from the server to the
local machine [I think I could do this without breaking anything])y

I also couldn't get select all to work, it doesn't recognize ';' as a
command --I looked through Setup-configure and tried help files and
couldn't find info on it. Can I ask what version of pine you're using that
lets you do that? Any ideas on what I'm doing wrong?

If I find a fix for this one, I'll post it 

Thanks for the help

drachen

---

From: Noone Special <[email-masked]>
Date: Mon, 29 Dec 1997 08:30:05 -0500 (EST)

> this because it's insecure--clear text passwords = bad thing]--bouncing

Question:
What makes you think POP is any less secure than say... telnet?  or FTP?
A clear-text password is the same no matter where you send it..

Pat

---

From: Drachen <[email-masked]>
Date: Mon, 29 Dec 1997 10:45:41 -0800 (PST)

neither telnet nor ftp is secure either..

if you really care, I don't actually telnet into the machine I check my
mail on--I ssh in...

:)

packet sniffers are only your friend when you're using them

drachen