All of lore.kernel.org
 help / color / mirror / Atom feed
* mailinglist owner subscribe?
@ 2006-08-24 11:34 Christian Nygaard
  2006-08-24 11:48 ` Mads Martin Joergensen
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Christian Nygaard @ 2006-08-24 11:34 UTC (permalink / raw)
  To: mlmmj

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

How can the mailinglist owner subscribe new members to a mlmmj list?

I've tried chgrp subscribers.d folder and the files in it to list owners
group + emacs to edit them but as soon as someone unsubscribes from the list
the permissions are
changed back to nobody.nobody ownership.

Is there some mailinglist owner command that I missed that can be used?

ezmlm does this by:
mailinglist-subscribe-john=example.net@example.org

Thanks for input,
Chris

[-- Attachment #2: Type: text/html, Size: 536 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: mailinglist owner subscribe?
@ 2006-08-30 21:54 Morten K. Poulsen
  0 siblings, 0 replies; 6+ messages in thread
From: Morten K. Poulsen @ 2006-08-30 21:54 UTC (permalink / raw)
  To: mlmmj


Hi Christian,

On Thu, 24 Aug 2006 13:34:43 +0200, "Christian Nygaard" <christiannygaard@gmail.com> wrote:
> I've tried chgrp subscribers.d folder and the files in it to list owners
> group + emacs to edit them but as soon as someone unsubscribes from the
> list the permissions are changed back to nobody.nobody ownership.

That is because the unsunbscribe process is as follows:

- create a temporary file (which by default is owned by nobody:nobody, if your mail server runs as that)

- copy the subscriber list - minus the newly unsunscribed user - to the temporary file

- rename the temporary file to the name of the old subscriber list

Rename is atomic, so there is no risc of having a broken list if mlmmj crashes or - more likely ;) - a hardware failure occures.

> Is there some mailinglist owner command that I missed that can be used?

If you set the s-bit on a directory (chmod g+s my_dir), files created in that directory will by default have their group set to the directory's group. That will solve your issue.

... or you can just use sudo and mlmmj-sub as Mads Martin suggested :)

Morten

-- 
Morten K. Poulsen <morten@afdelingp.dk>
http://www.afdelingp.dk/


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

end of thread, other threads:[~2006-08-30 21:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 11:34 mailinglist owner subscribe? Christian Nygaard
2006-08-24 11:48 ` Mads Martin Joergensen
2006-08-24 12:12 ` Christian Nygaard
2006-08-24 12:15 ` Mads Martin Joergensen
2006-08-24 12:19 ` Mads Martin Joergensen
  -- strict thread matches above, loose matches on Subject: below --
2006-08-30 21:54 Morten K. Poulsen

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.