Subject: Re: Lessons learned...Pine with procmail..:)

From: [email-masked] (Annelise Anderson)
Date: 5 Jul 1996 06:47:27 GMT

Bryon L Harvey ([email-masked]) wrote:
:   Hi fellow Pine users!
:     Now that procmail and Pine are happily working together...I thought I
:   would share some -lessons learned- from this..umm..less-than-enjoyable
:   -but-I'm-glad-it's-done experience.

[snip]

:    Procmail can do about anything you want it to.. except make a good cup of
:    java..:)

:   I am _now_ a expert on Procmail (hadn't planned on it) and will be more
:   than happy to help anybody else setting it up with Pine. It's not _really_
:   that hard once you know what to do...and how to do it right! :) It _really_
:   saves me a tremendous amount of time...

:   Bryon L Harvey
:   PERL/PROCMAIL helper
:   http://clearlight.com/blh    http://clearlight.com/perl

Hi Bryon--I just got pine and procmail working together also, but I've
got sendmail as the mail agent and procmail configured in my home 
directory.  Procmail's happily sorting mail into various incoming
folders.

Now, pine 3.94's release notes say it's possible to read mail sent
to other users' mail boxes.  I'm thinking of a "user" I create to
use as an account from which to subscribe to a mailing list;
alternatively the mail to this user might be sorted by procmail 
into an incoming folder in my home directory.  I haven't been able
to get procmail to do this, the mail still goes to the user to whom
it was directed in spite of a .forward file and a .procmailrc file
in that user's home directory.

Any suggestions?

Annelise

P.S. This is running on FreeBSD.

---

From: Annelise Anderson <[email-masked]>
Date: Sat, 6 Jul 1996 23:19:36 -0700

On Sun, 7 Jul 1996, Jeremy wrote:

> I'm mailing this to you because my news server isn't letting me post
> tonight.

Thanks.  I'm posting it because others may be interested in the answers.
> 
> In comp.mail.pine, you wrote:
> 
> 
> What you want to do is either .forward the other user's mail to your
> account, and filter it with your .procmailrc in your own directory, or

I didn't think of that.  That would work too.

> use the other user's .procmailrc to forward the mail to your own
> address, which isn't as good because then the system has to run

This didn't work, but I may have had permissions wrong.

> procmail twice. Also, if the other "user" is using a .procmailrc, that
> user has to be able to read/execute procmail from your own directory,
> or else you have to install it in two places...

It's installed on the system--both (all) users have access.  What
I did, Jeremy, was create an rmail group and put myself--andrsn, the
"reading" user--in it, and make the user's mail files that I want to
read group-owned by rmail and and group readable.  This second user
can then have whatever filtering in .procmailrc is appropriate, and
I can set up pine in-boxes (in my own account) to read this mail.
> 
> Of course, wouldn't it be better to unsubscribe the other "user" from
> the mailing list, and subscribe from your main account? I've got
> several mailing lists coming in for me, and I just throw them into
> different folders with procmail.

That's basically what I do, but I can think of many situations where
a human user might want to read the mail sent to a variety of accounts--
e.g., [email-masked], [email-masked], [email-masked].  Or
perhaps many human users should be able to read these incoming messages.

I set up a "maildrop" account for a user unable to log in (* in 
password field) --found out user needs a valid shell to get mail.

It turned out to be an interesting exercise in ownership and permissions!

Thanks for your help--

Annelise