1 structure Courier :> COURIER_CONFIG = struct
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"
9 val userdbDir = "/etc/courier/userdb"
10 (* Directory for storing userdb info *)
12 val postReload = ConfigCore.sudo ^ " " ^ ConfigCore.installPrefix ^ "/sbin/domtool-publish courier"
13 (* Command to run after reloading userdb data *)
15 val logFile = "/var/log/exim4/mainlog"
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/"