| 1 | structure Courier :> COURIER_CONFIG = struct |
| 2 | |
| 3 | (* Non-daemon programs *) |
| 4 | val maildirmake = "/usr/bin/maildirmake.courier" |
| 5 | val makeuserdb = "/usr/sbin/makeuserdb" |
| 6 | |
| 7 | val userdbDir = "/etc/courier/userdb" |
| 8 | (* Directory for storing userdb info *) |
| 9 | |
| 10 | val postReload = ConfigCore.sudo ^ " " ^ ConfigCore.installPrefix ^ "/sbin/domtool-publish courier" |
| 11 | (* Command to run after reloading userdb data *) |
| 12 | |
| 13 | val logFile = "/var/log/exim4/mainlog" |
| 14 | (* SMTP log *) |
| 15 | |
| 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/" |
| 19 | |
| 20 | end |