disclaimermilter

Licence is GPL

Just adds a disclaimer.  Adaptation of cvgfilter without the (unnecessary) spam
checking.  (Big binary scissors were here.)


TODO:
   Security check -- there are a few rather dangerous looking occurrences of
   (pointer+n).  (Any volunteers to expose the dangers of this software on
   full-disclosure?)

INSTALLATION

1. Install sendmail-devel
  
2. Modify the Makefile to reflect the correct values at your site.  In
   particular, if you are using an ancient version of sendmail, then you may
   need -lsmutil and -lsfio.
  
3. Run make
  
4. Run make install

   Don't do that though if you've already installed disclaimermilter.
  
5. Run make start if you're feeling brave, or edit your sendmail
   configuration yourself, and install it as a filter.  This usally means
   adding this to your .mc file and doing the sendmail m4 tapdance
   something like m4 blahfritz.mc > sendmail.cf
  
   define(`_FFR_MILTER')dnl
   INPUT_MAIL_FILTER(`disclaimermilter', `S=local:/var/run/disclaimermilter/milter, F=T')dnl

6. If you want to add checks for text which precludes adding a disclaimer, edit
   /etc/init.d/disclaimermilterrc and munge them into place with multiple -c
   options.
