# HG changeset patch # User mmj # Date 1190879397 -36000 # Node ID dcf36865330f00dfb42d7088c8dd5b0671c5a0f7 # Parent 47959df55acd6f646dde539d4e97bd4a2aeac8e0 nolistsubsemail tunable for disabling +list diff -r 47959df55acd -r dcf36865330f TUNABLES --- a/TUNABLES Thu Aug 02 04:19:45 2007 +1000 +++ b/TUNABLES Thu Sep 27 17:49:57 2007 +1000 @@ -192,3 +192,8 @@ 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. diff -r 47959df55acd -r dcf36865330f src/listcontrol.c --- a/src/listcontrol.c Thu Aug 02 04:19:45 2007 +1000 +++ b/src/listcontrol.c Thu Sep 27 17:49:57 2007 +1000 @@ -711,6 +711,8 @@ /* 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++) {