Re: Newbie question...



On Tue, 28 Aug 2001 19:21:23 Brian Jackson wrote:
> Ok - checked out the web page, FAQ and online docs.  Couldn't find the
> answer...
> 
> I have a POP3 mailbox created, which is successfully downloading my mail
> properly.  The messages are all put into /var/mail/username as one file.
> 
> I'd like to be able to create folders under my inbox, and have a filter
> set
> so that certain messages went to certain folders (i.e.; messages from
> balsa-list@gnome.org go into a folder labeled Balsa List or some such).
> 
> I can see where you can subscribe to different IMAP folders, but how for
> POP?
> 
> I'm running version 1.1.7 from FreeBSD ports collection. 
> 

Most people use procmail for filtering mail into mailboxes. It's almost
certainly already available on your machine.  I'd suggest you start here: 

http://www.ling.helsinki.fi/users/reriksso/procmail/mini-faq.html

Moving mail into mailboxes is simple; here's a sample .procmailrc file:



PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=$HOME/mail      #you'd better make sure it exists
LOCKFILE=$HOME/.lockmail

:0
* ^X-BeenThere.*balsa-list     
balsa-list     



Save the stuff above in .procmailrc in your home directory, and procmail
will put all your balsa mail in ~/mail/balsa-list, and balsa, when
restarted,
will show you the mailbox.  This assumes you have a pretty standard *nix
box.





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