Prev | Current Page 671 | Next

Michael McCallister

"openSUSE Linux Unleashed"


| Start the specified program.
{ Start a block of recipes checked if the condition is matched.
} End a block of recipes checked if the condition is matched.
mailbox Forward message to the mailbox defined by mailbox.
Each recipe has only one action line. The action line defines what procmail will do with
any messages that match the condition lines. Again, the easiest way to explain this is to
show some examples.
Here is an example of a simple .procmailrc file for a sample user on the mail server.
MAILDIR=$HOME/folders
:0 c
archive
:0
CHAPTER 15 Managing Email Servers 328
* ^From.*guitar-list
{
:0 c
! rich@ispnet3.net
:0
guitars
}
:0 hc
* !^FROM_DAEMON
* !^X-Loop: rich@ispnet1.net
| (formail -r -I???Precedence: junk??? \
-A???X-Loop: rich@ispnet1.net??? ; \
echo ???Thanks for your message, but I will be out of the office until 1/4???) \
| $SENDMAIL -t
:0
* ^Subject.*pills
/dev/null
The first line in the sample .procmailrc file tells procmail where you want to keep your
mail folders. Each folder will be created as a separate file under the MAILDIR directory
specified.


Pages:
659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683
lampy ogrodowe określić zakłady bukmacherskie Wczasy nad morzem Gabi meble Warszawa