Subject: Automatic New Mail Handling

From: [email-masked] (Shawn Elliot Switenky)
Date: 26 May 1994 18:00:57 GMT

I've looked around a bit in the .pinerc file (Unix Pine) in which there was
a few lines that made me belive Pine can automagically sort incoming mail 
into a folder.  If I want to have all the mail coming from a particular 
person to be automatically placed in a folder, how would I do this?

--
        + Shawn Switenky --------------+ email: [email-masked] ---+
     ///| User Support                 | Phone: (306) 966-4983             | 
    /// | Computing Services           | Fax:   (306) 966-4938             | 
\\\///  + University of Saskatchewan --+ ICBM: N52 07'53.1" W106 37' 57.9" + 
 \XX/   |       Just when you think you have the universe figured out      |
        +------------ along comes a chain smoking chimpanzee. -------------+

---

From: [email-masked] (Edward Vielmetti)
Date: 26 May 1994 19:22:39 GMT

Shawn Elliot Switenky ([email-masked]) wrote:
: I've looked around a bit in the .pinerc file (Unix Pine) in which there was
: a few lines that made me belive Pine can automagically sort incoming mail 
: into a folder.  If I want to have all the mail coming from a particular 
: person to be automatically placed in a folder, how would I do this?

I've used 'procmail' to do the automatic sorting, which appears to work
reasonably well modulo the absence of a user interface.

Last conversation I had with the pine folks suggested that they were 
looking to incorporate the similar sort of features (a la procmail or
elm filter or some such) into the system, and that the big headache was
putting together a user interface that was expressive enough to solve
the problems yet simple enough to use.

As an e.g. here is the Chameleon 'Mail rules' setup.  You get
a list of rules to add to; here's a representation of their
user interface

    Rule name:   ____________                > add <
    String to match: ________                > modify <
    ( ) Match case                           > delete <

    Field:
    ( ) From     ( ) To      ( ) Subject     > new <

    Action:
    ( ) Move to folder       [lists]         > help <
    ( ) Forward                              > close <
    ( ) Delete

    Rules:                                   > activate <
       rule1
       rule2

To translate this into something familar for pine it might look
like a folder list or something.

  Edward Vielmetti, vice president for research, Msen Inc. [email-masked]
Msen Inc., 320 Miller, Ann Arbor MI  48103 +1 313 998 4562 (fax: 998 4563)
 msen info addresses:   [email-masked] - $20/mo public access Internet
 			[email-masked] - Online Career Center jobs database

---

From: [email-masked] (Chris Herringshaw)
Date: 26 May 1994 19:43:56 GMT

>a list of rules to add to; here's a representation of their
All I did to get mail filtering was to install and take the filter
program from the elm mail system, and use that.  All my mail is
forwarded to the filter program, which places it into a particular
file depending on a file called "filter-rules".  These rules
are simple and easy to follow as well:

Example:

if (to contains "Cabletron") then save "~/mail/CABLETRON"

if (from contains "postmaster") then save "/dev/null"

Thats all there is to the rules files.  It was simple and really easy
to get working, so you might try that if you can't get anything else
working.

-- 
====================================================================
Chris Herringshaw  Network Systems Specialist  [email-masked]
Office of the UMMC Information Technology & Networking   
University of Michigan Medical Center, B1911 CFOB
1414 Catherine Street, Ann Arbor, MI 48109-0704       (313) 747-2778
====================================================================