Next, it checks to see if the word ???guitars??? is
anywhere in that line.
You can also check on multiple words in a line. The next condition line checks if the
message subject header field contains the words ???guitars??? and ???bass???:
* ^Subject:.*guitars.*bass
Received messages with both of the words ???guitars??? and ???bass??? in the message subject
header field would match this condition line. Finally, this condition line checks the entire
message for the word ???meeting???:
* meeting
Any received message with the word ???meeting??? anywhere in the message would match
this condition line.
After the condition lines are defined, the procmail action line must be defined. The action
line defines the action that procmail will take if the condition line is matched with a message.
Much like the condition line, the action line can start with a special character that describes
the basic action that will be taken. Table 15.3 describes the action line special characters.
TABLE 15.3 procmail Action Line Special Characters
Character Description
! Forward message to the specified addresses.
Pages:
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682