]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
nolistsubsemail tunable for disabling +list
authormmj <none@none>
Thu, 27 Sep 2007 07:49:57 +0000 (17:49 +1000)
committermmj <none@none>
Thu, 27 Sep 2007 07:49:57 +0000 (17:49 +1000)
TUNABLES
src/listcontrol.c

index 46366bb995010992b6485a44d2ab0de98fbf3d82..5bd14c3598d32b0d03a54f93e5e3bc8f5609e8e6 100644 (file)
--- a/TUNABLES
+++ b/TUNABLES
@@ -192,3 +192,8 @@ to specify several entries (one pr. line), it's marked "list".
 
    If this is set, no reject notifications caused by violation of maxmailsize
    will be sent.
+
+ ยท nolistsubsemail             (boolean)
+
+   If this is set, the LISTNAME+list@ functionality for requesting an
+   email with the subscribers for owner is disabled.
index d47a10cacc95fccbdec5ebc1a895d899fd200ace..ee2e0ec7375c7aa39916f8d0aac9b7547f64872d 100644 (file)
@@ -711,6 +711,8 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
 
        /* listname+list@domain.tld */
        case CTRL_LIST:
+               if(statctrl(listdir, "nolistsubsemail"))
+                       return -1;
                owner_idx = -1;
                owners = ctrlvalues(listdir, "owner");
                for(i = 0; i < owners->count; i++) {