GW HELP DESK > Mail Filtering
Search:
Mail Filtering For Pine
Posted: 10: 37 AM, Monday, Feb 10, 2003
Last Updated: 7:00 PM, Tuesday, June 30, 2009
This document will show you how to create "filtering rules" in Pine. This will allow Pine to automatically sort certain types of e-mail by the categories you proscribe. This method is a very useful tool to help you sort your new or existing mail.
Step 1: Open Pine as you normally do (usually by using telnet to connect to acad.gwu.edu)

Step 2: Select "s" for "Setup" to enter the configuration manager

Step 3: Choose "r" for "Rules" to enter filtering options

Step 4: Choose "f" for "Filter" to enter filtering menu

Step 5: Choose "a" for "Add" to enter a new filtering rule

Step 6: Enter Filtering information

Explanations:

This is a nickname to help you. You should have a different nickname for each filtering rule you define. The nickname will be used in the SETUP FILTERING RULES screen to allow you to pick a rule to edit.

If this pattern is non-blank, then for this rule to be considered a match, at least one of the recipients from the To line of the message being considered for filtering must match this pattern. If this pattern is a comma-separated list of patterns, then at least one of the recipients must match at least one of the patterns. (Any other non-blank parts of the Pattern must match, too.) If the message has a Resent-To header line, then that is used in place of the To line.
You may choose an address from your address book with the "T" command.

This is just like the To pattern except that it is compared with the address in the From header of the message instead of the addresses from the To header.

This is just like the To pattern except that it is compared with the address from the Sender header of the message instead of the addresses from the To header.

This is just like the To pattern except that it is compared with the addresses from the Cc header of the message instead of the addresses from the To header.

If this pattern is non-blank, then for this rule to be considered a match, at least one of the newsgroups from the Newsgroups line of the message must match this pattern. If this pattern is a comma-separated list of patterns, then at least one of the newsgroups must match at least one of the patterns. (Any other non-blank parts of the Pattern must match, too.)

This is similar to the other parts of the Pattern. It is compared with the contents from the Subject of the message. If you enter non-ASCII characters in this field then the search will be done using the character set you have defined with the "character-set" configuration variable. (The truly sophisticated may use an alternate character set for a search by entering the MIME encoding of the header string here.)

This is just like the To pattern except that it is compared with the addresses from both the To header and the Cc header of the message instead of just the addresses from the To header. It's equivalent to having two different rules; one with a To pattern and the other with the same Cc pattern.

This is just like the To pattern except that it is compared with the addresses from the To header, the Cc header, and the From header of the message instead of just the addresses from the To header. It's equivalent to having three different rules; one with a To pattern, another with the same Cc pattern, and another with the same From pattern.

This is similar to the header patterns. Instead of comparing with text in a particular header field it is compared with all of the text in the message header and body. If you enter non-ASCII characters in this field then the search will be done using the character set you have defined with the "character-set" configuration variable. (The truly sophisticated may use an alternate character set for a search by entering the MIME encoding of the header string here.) It is possible that you may notice degraded performance when using AllText Patterns.

The Score Interval, if defined, is part of the Pattern. If you use this, it should be set to something like: (min_score,max_score) where "min_score" and "max_score" are integers between -32000 and 32000. The special values "-INF" and "INF" may be used for the min and max values. These represent negative and positive infinity. When there is a Score Interval defined, it is a match if the score for the message is contained in the interval. The interval includes both endpoints. The score for a message is calculated by looking at every scoring rule defined and adding up the Score Values for the rules which match the message. Scoring rules are created using the "SETUP SCORING" screen. Choose a Specific Folder to filter the messages of that folder alone, or choose your general Email or News directories to check those categories respectively, or choose Any to instate filter on all your communications. Then choose what you would like to do with the sorted messages: Delete them or Move them to a directory that you specify.

Step 7: After you have set up your filtering rules choose "e" for "Exit"

Step 8: Save changes by typing "y" for "Yes".

Step 9: Exit setup; Congratulations, your filters are now set up.

Rate This Document
Help us improve by rating the quality of this document:
lowhigh

1

2

3

4

5
Liked or disliked this document? If you tell us why, we'll keep up the good work or improve it! Your submissions are anonymous.


If you would like a response, please send an email to the ISS Suggestion Box at suggest@gwu.edu.

Support & Contact Info:
Help Desk: (202) 994-5530, option 2
EAS Help Desk: (202) 994-5530, option 4
System Status: (202) 994-5530, option 3
Support: ithelp@gwu.edu
Suggestions: suggest@gwu.edu

The George Washington University
Help Desk Hours:
Monday-Friday: 7:00AM - 7:00PM
44983 Knoll Square, Bldg II, Suite 351
Ashburn, VA 20147
ITS Fax: (202) 994-0101
Help Desk Fax: (703) 726-4111