Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10. Message Filtering > Examples of Filter Commands

Examples of Filter Commands

These examples are written from the perspective of a user’s filter file. First, a simple forwarding:

# Exim filter
deliver baggins@rivendell.middle-earth.example

The first line indicates that the file is a filter file rather than a traditional .forward file. The only command in this file is an instruction to deliver the message to a specific address. This particular file does nothing that a traditional .forward couldn’t do, and is exactly equivalent to a file containing:

baggins@rivendell.middle-earth.example

The next example shows vacation handling using traditional means; that is, by running /usr/ucb/vacation, assuming that .vacation.msg and other files have been set up in the home directory:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint