1 structure Courier :> COURIER_CONFIG = struct
3 (* Non-daemon programs *)
4 val maildirmake = "/usr/bin/maildirmake.courier"
5 val makeuserdb = "/usr/sbin/makeuserdb"
7 val userdbDir = "/etc/courier/userdb"
8 (* Directory for storing userdb info *)
10 val postReload = ConfigCore.sudo ^ " " ^ ConfigCore.installPrefix ^ "/sbin/domtool-publish courier"
11 (* Command to run after reloading userdb data *)
13 val logFile = "/var/log/exim4/mainlog"
16 (* FIXME: should probably be in an external script *)
17 val pushUserdb = "/usr/bin/rsync -r --delete /etc/courier/userdb/* " ^ ConfigCore.sharedRoot ^ "/email/userdb/"
18 val pullUserdb = "/usr/bin/rsync -r --delete " ^ ConfigCore.sharedRoot ^ "/email/userdb/* /etc/courier/userdb/"