Possibility to deny the -list function that lists subscribers
Hello,
Is there a way to remove the mylist-list@ function so my customers can't list the other subscribers?
If it's not possible in the current version, would it be possible to add this functionality in the next version? Maybe a new tunable like for the get-N function?
I'm not willing to write it myself, I'm too busy with programming other open source things and some company's software, and I don't know the internals of MLMMJ.
Thomas
Quoted 2 lines · Thomas Goirand
Is there a way to remove the mylist-list@ function so my customers can't list the other subscribers?
It's only possible to use the +list function if the request is coming from an owner emailaddress as it is now. But I can see why one would want to disable it completely, so here's a patch. Tunable name is 'nolistsubsemail' as the patch indicates. If that file exists--it's not working anymore.
Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.TUNABLES +5 -0
@@ -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.
listcontrol.c +2 -0
@@ -711,6 +711,8 @@/* [email protected] */ case CTRL_LIST : +if (statctrl (listdir,"nolistsubsemail" )) +return -1 ; owner_idx =-1 ; owners =ctrlvalues (listdir,"owner" );for (i =0 ; i < owners->count; i++) {