All of lore.kernel.org
 help / color / mirror / Atom feed
* Possibility to deny the -list function that lists subscribers
@ 2007-09-27  7:29 Thomas Goirand
  2007-09-27  7:49 ` Mads Martin Joergensen
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Goirand @ 2007-09-27  7:29 UTC (permalink / raw)
  To: mlmmj

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Possibility to deny the -list function that lists subscribers
  2007-09-27  7:29 Possibility to deny the -list function that lists subscribers Thomas Goirand
@ 2007-09-27  7:49 ` Mads Martin Joergensen
  0 siblings, 0 replies; 2+ messages in thread
From: Mads Martin Joergensen @ 2007-09-27  7:49 UTC (permalink / raw)
  To: mlmmj

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]


On 27/09/2007, at 9.29, Thomas Goirand wrote:

> 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.

-- 
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.




[-- Attachment #2: patch.diff --]
[-- Type: application/octet-stream, Size: 721 bytes --]

--- TUNABLES	3 Mar 2007 17:26:00 -0000	1.37
+++ TUNABLES	27 Sep 2007 07:44:04 -0000
@@ -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.
--- src/listcontrol.c	10 Dec 2006 15:00:47 -0000	1.52
+++ src/listcontrol.c	27 Sep 2007 07:44:04 -0000
@@ -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++) {

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-27  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-27  7:29 Possibility to deny the -list function that lists subscribers Thomas Goirand
2007-09-27  7:49 ` Mads Martin Joergensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.