X-Header Plugin
-------------------

This plugin allows the system administrator to add user defined
headers to all e-mail messages that are sent. 
I made this as a example plugin when I was working on the 
email_priority plugin.

This plugin should work with all versions of SM since
1.1.0 that has the smtp_send-hook.diff applied.
Since SquirrelMail 1.2.5 this patch isn't necessary, actually 
you won't be able to apply it.

If there are problems please send a me a message at
pontus@ullgren.com

Much of the code is taken from Ray Black's email_footer plugin.
Thanks for the help.

Change Log
-------------------
0.0.2 - Updated the README file.

0.0.1 - Initial release. 

To Install:
-------------------
  1. Unpack the file
      $ cd plugins
      $ tar -zxvf xheader.0.0.2-1.0.0.tar.gz

  2. If you use a SquirrelMail version < 1.2.5
     Go to the directory above your squirrelmail installation and 
     apply the smtp-send-hook patch.
      $ cd ../.. # if you are in the plugins dir
      $ patch -p0 < squirrelmail/plugins/xheader/smtp_send-hook.diff
  3. Go back to the squirrelmail directory and  
     run conf.pl, choose "8" from the main menu, and add "xheader"
     as a new plugin.  Save and exit.

  4. Done   


