README
1
2Quick notes abount installing:
3=============================
4
5- run make (since there weren't any requests for Linux, Linux support was thrown away till it will be needed)
6- for assembling with pgsql run make with -DWITH_PGSQL argument
7- for assembling with libspf2 run make with -DWITH_SPF argument
8- for assembling with debug symbols run make with -DWITH_DEBUG argument
9- so, to compile it with all the stuff, run
10
11 make -DWITH_DEBUG -DWITh_PGSQL -DWITH_SPF
12
13- milter should be ready to use
14- put a web-interface wherever it should be
15- create a milter-callback database
16- create a pgsql user milter-callback
17- use the supplied milter-callback.sql file to create tables inside the milter-calklback database
18- put config files in /usr/local/etc (mcweb.conf and milter-callback.conf in /usr/local/etc/mail)
19- edit config files to meet your requirements
20
21Notes about updating:
22==============================
23- database structure is sometimes updated between versions. all of the updates are supposed to run when new version of
24milter-callback is ran for the first time.
25
26Notes about compiling on linux:
27==============================
28
29- packages sendmail, sendmail-devel, bind, bind-devel are required
30for compiling. compiling with libspf2 is not tested on linux. I'd love to hear some success/unsucces story about that.
31
32Notes about sendmail.cf:
33=======================
34- add the following line to your sendmail.mc:
35
36INPUT_MAIL_FILTER(`milter-callback', `S=unix:/var/run/milter-callback.sock, F=T, T=S:3m;R:6m')
37
38- consult the sendmail documentation about milter flags, the line above will make messages to bounce
39when the milter isn't running
40- the hardcoded timeouts are 90 seconds on socket read/write to handle slow relays, so 3 minutes is
41probably a minimum sufficient value4 if you are getting the read errors when sendmail is working with milter -
42consider increasing both timers in .mc
43- build sendmail.cf (you should know this is doing)
44- restart sendmail
45
46e-mail about troubles to milter-callback@norma.perm.ru
47