This instruction is for the Pine version 4.33 but it propably works without any major modifications to Pine versions from 4.20.
For advanced level users procmail software gives better possibilities for filtering messages. Using Procmail is, however, more complicated than using the filters in Pine.
We'll define an example filter that directs the messages from the mailing list of the Utilizing Information Networks course to an own folder.
Use Add to add a Filtering Rule
PINE 4.33 ADD A FILTERING RULE Folder: INBOX 43 Messages Nickname = <No Value Set: using "Filter Rule"> To pattern = <No Value Set> From pattern = <No Value Set> Sender pattern = <No Value Set> Cc pattern = <No Value Set> News pattern = <No Value Set> Subject pattern = <No Value Set> Recip pattern = <No Value Set> Partic pattern = <No Value Set> AllText pattern = <No Value Set> Score interval = <No Value Set>
Help on all the issues is available by pessing ? on the line in question.
Nickname = Utilizing Information Networks mailing list
Recip pattern = tietoverkot@majordomo.cc.jyu.fi
In a similar way it is possible to filter the messages for example according to the sender (From) or the subject.
Current Folder Type = Set Choose One --- -------------------- ( ) Any ( ) News ( ) Email (*) Specific Folder List = INBOX
Message is Important? = Set Choose One --- -------------------- (*) Don't care, always matches ( ) Yes ( ) No Message is New? = Set Choose One --- -------------------- (*) Don't care, always matches ( ) Yes ( ) No Message is Deleted? = Set Choose One --- -------------------- (*) Don't care, always matches ( ) Yes ( ) No Message is Answered? = Set Choose One --- -------------------- (*) Don't care, always matches ( ) Yes ( ) No
Filter Action = Set Choose One --- -------------------- ( ) Delete (*) Move to Folder = Tietoverkot
Folder "Networks" indoesn't exist. Create? Y Yes ^C Cancel N [No]
Nickname = Own messages
From pattern = tommi.j.lahtonen@jyu.fi
Filter Action = Set Choose One --- -------------------- ( ) Delete (*) Move to Folder = Own
To : tjlahton@cc.jyu.fi Cc : Attchmnt: Subject : test ----- Message Text ----- test
[Moving 1 filtered message to "Own" DONE]on the sreen
If the message is shown in INBOX somethig is wrong with the filter.
[ Folder Preferences ] [ ] combined-subdirectory-display [ ] combined-folder-display [ ] enable-dot-folders [X] enable-incoming-folders [ ] enable-lame-list-mode [ ] expanded-view-of-folders [ ] quell-empty-directories [ ] separate-folder-and-directory-entries [ ] single-column-folder-list [ ] vertical-folder-list
Incoming-Folders Incoming Message Folders Mail Local folders in Mail/
Incoming Message Folders -------------------------------------------------------------------------------- INBOX
Name of server to contain added folder :
Folder name to add : Mail/Own
Nickname for folder "Mail/Own" : Own
Incoming Message Folders -------------------------------------------------------------------------------- INBOX Own Networks
Deleting the filters is easy. Start adding a new filter but select an existing filter and press D (Delete) to delete the whole rule.
In a similar way you can also delete the folders you created from the INCOMING FOLDER display.