Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

Filtering Mail FAQ
Section - 2.3 Explanation of Test Recipe

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Forum ]


Top Document: Filtering Mail FAQ
Previous Document: 2.2.2 Alternate .forward files
Next Document: 2.4 Tracking Your Incoming Mail
See reader questions & answers on this topic! - Help others by sharing your knowledge
The recipe you used for testing is:

:0:
* ^Subject:.*test
IN.testing


The meaning of this recipe is:

Notation            Meaning
========            =======
:0                  Begin a recipe
  :                 Use a lock file
*                   Begin a condition 
  ^                 Match the beginning of a line followed by....
   Subject:         ``Subject:'' followed by....
           .        any character (.) followed by....
            *       0 or more of preceding character (any character in this 
                       case) followed by....
              test  ``test''
IN.testing          If successful match, put in folder $MAILDIR/IN.testing

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: Filtering Mail FAQ
Previous Document: 2.2.2 Alternate .forward files
Next Document: 2.4 Tracking Your Incoming Mail

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
FAQ Editor <faq-editor@ii.com>





Last Update March 27 2014 @ 02:11 PM