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

6.6.9 Quick Example

Here is a quick example of using 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 will remove (on-the-fly) the `X-Mailer:' line from an outgoing message, add an extra header line (`X-Comment:'), sign your message with your private key, and add a simple signature file from your home directory.



This document was generated by Wojciech Polak on December, 18 2004 using texi2html