[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.6.10 Quick Example

Here is a quick example of an action list:

 
---BEGIN RULE---
if header [X-Mailer] :re ".*"
   remove [X-Mailer]
   add [X-Comment] "GNU's Not Unix!"
   gpg-sign "my password"
   signature-file-append yes
fi
---END---

The example above removes the `X-Mailer:' header from the message, adds the `X-Comment:' header, then signs the message with your private key, and finally adds a signature from the file in your home directory.


This document was generated on May, 24 2014 using texi2html 1.76.