To read messages in folders using mailx, you can use the -f command line
option:
rich@testing:~> mailx -f /home/rich/folders/testing
You can also configure KMail to read local mail folders in the KMail configuration
window.
The sample .procmailrc file shown here contains four separate recipes that are processed
by procmail. Each procmail recipe is separated by a blank line. The first recipe simply
places a copy of all received messages in the mail folder ???archive???.
The second recipe demonstrates the use of recipes within a recipe. The main recipe first
checks if the received message is from a user called ???guitar-list???. If it is, both of the internal
recipes are checked. First a copy of all of the messages is forwarded to the email
address rich@ispnet3.net. Next, a copy of all the messages is placed in the mail folder
???guitar???. Because these are only copies, the original message will still be placed in the
normal INBOX folder.
The third recipe demonstrates redirecting messages to an external program. All messages
that are not sent from either a daemon (system) process or from the original user are
forwarded to the formail program.
Pages:
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684