[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Folders in pine



-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 19 May 1998, Ana Graca Silva wrote:

> I really don't know how to configure pine to select mails based on the
> subject of the messages and to redirect them to different folders.
> Can someone help me? 
> 

Pine does not do this by itself.  The docs state that Pine will support
this, by allowing you to define multiple folders for incoming mail, but it
won't do the filtering for you.  You need to use something like procmail,
which is available in .deb format from ftp.debian.org.  Procmail is very
easy to set up.  For example, here's a sample of my .procmailrc, which
sends all mail from the Debian mailing list to a special folder:

:0:
* ^To.*debian-user@lists.debian.org
./mail/archive/debianuser

:0:
* ^Cc.*debian-user@lists.debian.org
./mail/archive/debianuser

This procmail "recipe" grabs all messages with the "To: " or "Cc: " header
being debian-user@lists.debian.org, and places them in
./mail/archive/debianuser.  Pine has been setup so that it treats this
file as an incoming mail folder (in addition to the default INBOX).
Procmail is powerful, easy to configure, and well documented.  When you
install it, you'll get the procmail man pages, and other manpages called
procmailex, which are examples of procmail recipes.

Good luck.

noah

  
  PGP public key available at
  http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html
  or by 'finger -l frodo@ccs.neu.edu'





-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNWGaEodCcpBjGWoFAQGDOQP/bSitqwWq7j1A7qAPc8H134FKN9iXIK3B
xZllDR6YSpDJN88du45TU9vghcQrG5xQVsLWpH5A/UUvYV7vcTwiTA1tcC8Lq4ud
LbbhcEKHG5oiB8Ve+5HqDH1IRDCzqeX2InTdVbiUGLmqZP7WO6DkBb0D+xLbqbCi
xCz+cRuhcQI=
=wGHD
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: