a0da8b342168e29c4ebdb1a12185498950ac6f18
[hcoop/domtool2.git] / configDefault / courier.cfg
1 structure Courier :> COURIER_CONFIG = struct
2
3 (* Non-daemon programs *)
4 val userdb = "/usr/sbin/userdb"
5 val maildirmake = "/usr/bin/maildirmake.courier"
6 val userdbpw = "/usr/sbin/userdbpw"
7 val makeuserdb = "/usr/sbin/makeuserdb"
8
9 val userdbDir = "/etc/courier/userdb"
10 (* Directory for storing userdb info *)
11
12 val postReload = ConfigCore.sudo ^ " " ^ ConfigCore.installPrefix ^ "/sbin/domtool-publish courier"
13 (* Command to run after reloading userdb data *)
14
15 val logFile = "/var/log/exim4/mainlog"
16 (* SMTP log *)
17
18 (* FIXME: should probably be in an external script *)
19 val pushUserdb = "/usr/bin/rsync -r --delete /etc/courier/userdb/* " ^ ConfigCore.sharedRoot ^ "/email/userdb/"
20 val pullUserdb = "/usr/bin/rsync -r --delete " ^ ConfigCore.sharedRoot ^ "/email/userdb/* /etc/courier/userdb/"
21
22 end