• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

web/H03-May-2022-6,0464,799

MakefileH A D03-May-2022804 3023

Makefile.freebsdH A D16-Aug-2011804 3023

Makefile.linuxH A D16-Aug-20111.2 KiB4336

READMEH A D15-Oct-20092 KiB4735

cache.cH A D16-Aug-201117.1 KiB449370

cache.hH A D14-Jul-2010746 3726

commonprocs.cH A D16-Aug-201140.3 KiB1,150968

commonprocs.hH A D29-Apr-2011517 3222

cpit.cH A D16-Aug-201113.1 KiB360285

cpit.hH A D14-Jul-2010384 2718

dealwithmxes.cH A D16-Aug-201113.1 KiB372292

dealwithmxes.hH A D29-Apr-200954 32

detectlamespf.cH A D28-Apr-20116.5 KiB178125

detectlamespf.hH A D28-Apr-201157 32

makedecision.cH A D29-Apr-201117 KiB395331

makedecision.hH A D05-May-2009114 64

mcspf.cH A D28-Apr-20116.4 KiB179132

mcspf.hH A D28-Apr-2011284 1510

mcweb.confH A D26-Mar-200998 54

milter-callback.8H A D14-Jul-20108.1 KiB168167

milter-callback.cH A D03-May-202250.9 KiB1,4411,219

milter-callback.confH A D03-May-20222 KiB6119

milter-callback.hH A D16-Aug-20112.7 KiB137127

milter-callback.sqlH A D26-Mar-20091.7 KiB7839

miltercallbackH A D02-Oct-2008350 208

pgupdate.cH A D16-Aug-20115 KiB12891

pgupdate.hH A D23-Jun-200944 64

processdirectpart.cH A D16-Aug-20113.7 KiB9768

processdirectpart.hH A D29-Apr-201184 32

processmxpart.cH A D29-Apr-20114.8 KiB12387

processmxpart.hH A D29-Apr-200954 32

pushhistory.cH A D29-Apr-20116.4 KiB139112

pushhistory.hH A D29-Apr-200952 32

sigusr1.cH A D16-Aug-20112.7 KiB7951

sigusr1.hH A D13-Jul-201022 32

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