
Quick notes abount installing:
=============================

- run make (since there weren't any requests for Linux, Linux support was thrown away till it will be needed)
- for assembling with pgsql run make with -DWITH_PGSQL argument
- for assembling with libspf2 run make with -DWITH_SPF argument
- for assembling with debug symbols run make with -DWITH_DEBUG argument
- so, to compile it with all the stuff, run 

    make -DWITH_DEBUG -DWITh_PGSQL -DWITH_SPF
    
- milter should be ready to use
- put a web-interface wherever it should be
- create a milter-callback database
- create a pgsql user milter-callback
- use the supplied milter-callback.sql file to create tables inside the milter-calklback database
- put config files in /usr/local/etc (mcweb.conf and milter-callback.conf in /usr/local/etc/mail)
- edit config files to meet your requirements

Notes about updating:
==============================
- database structure is sometimes updated between versions. all of the updates are supposed to run when new version of 
milter-callback is ran for the first time.

Notes about compiling on linux:
==============================

- packages sendmail, sendmail-devel, bind, bind-devel are required
for compiling. compiling with libspf2 is not tested on linux. I'd love to hear some success/unsucces story about that.

Notes about sendmail.cf:
=======================
- add the following line to your sendmail.mc:

INPUT_MAIL_FILTER(`milter-callback', `S=unix:/var/run/milter-callback.sock, F=T, T=S:3m;R:6m')

- consult the sendmail documentation about milter flags, the line above will make messages to bounce 
when the milter isn't running
- the hardcoded timeouts are 90 seconds on socket read/write to handle slow relays, so 3 minutes is 
probably a minimum sufficient value4 if you are getting the read errors when sendmail is working with milter -
consider increasing both timers in .mc
- build sendmail.cf (you should know this is doing)
- restart sendmail

e-mail about troubles to milter-callback@norma.perm.ru
