summaryrefslogtreecommitdiff
path: root/data/memoserv.example.conf
diff options
context:
space:
mode:
Diffstat (limited to 'data/memoserv.example.conf')
-rw-r--r--data/memoserv.example.conf32
1 files changed, 14 insertions, 18 deletions
diff --git a/data/memoserv.example.conf b/data/memoserv.example.conf
index 40678bf53..6e4fd1e8d 100644
--- a/data/memoserv.example.conf
+++ b/data/memoserv.example.conf
@@ -56,18 +56,14 @@ service
*
* Provides essential functionality for MemoServ.
*/
-module { name = "memoserv" }
-
-/*
- * Configuration for MemoServ provided by ms_main.
- */
-memoserv
+module
{
+ name = "memoserv"
/*
* The name of the client that should be MemoServ. Clients are configured
* with the service blocks.
*/
- name = "MemoServ"
+ client = "MemoServ"
/*
* The maximum number of memos a user is allowed to keep by default. Normal users may set the
@@ -88,16 +84,6 @@ memoserv
* This directive is optional, but recommended.
*/
senddelay = 3s
-
- /*
- * Allow the use of memo receipts for the following groups:
- *
- * 1 - Opers Only
- * 2 - Everybody
- *
- * This directive is optional.
- */
- #memoreceipt = 1
}
/*
@@ -193,7 +179,17 @@ command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; }
*
* Requires configuring memoserv:memoreceipt.
*/
-#module { name = "ms_rsend" }
+#module
+{
+ name = "ms_rsend"
+
+ /*
+ * Only allow Services Operators to use ms_rsend.
+ *
+ * This directive is optional.
+ */
+ operonly = false
+}
#command { service = "MemoServ"; name = "RSEND"; command = "memoserv/rsend"; }
/*