* 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-24 11:34 mailinglist owner subscribe? Christian Nygaard
@ 2006-08-24 11:48 ` Mads Martin Joergensen
2006-08-24 12:12 ` Christian Nygaard
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Mads Martin Joergensen @ 2006-08-24 11:48 UTC (permalink / raw)
To: mlmmj
* Christian Nygaard <christiannygaard@gmail.com> [Aug 24. 2006 13:34]:
> How can the mailinglist owner subscribe new members to a mlmmj list?
Use the mlmmj-sub command directly:
$ mlmmj-sub -L /path/to/list -a some@address.org
Look at mlmmj-sub -h for options.
> 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.
It has to be the ownership of the process running mlmmj.
> Is there some mailinglist owner command that I missed that can be used?
>
> ezmlm does this by:
> mailinglist-subscribe-john=example.net@example.org
This is not implemented in mlmmj. But since mlmmj uses From: and not
envelope from, you can send a mail to the subscribe address, with the
From: changed.
--
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mailinglist owner subscribe?
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
3 siblings, 0 replies; 6+ messages in thread
From: Christian Nygaard @ 2006-08-24 12:12 UTC (permalink / raw)
To: mlmmj
[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]
Thanks Mads!
I will try to have the user use sudo and mlmmj-sub as you described.
Chris
On 8/24/06, Mads Martin Joergensen <mmj@mmj.dk> wrote:
>
> * Christian Nygaard <christiannygaard@gmail.com> [Aug 24. 2006 13:34]:
> > How can the mailinglist owner subscribe new members to a mlmmj list?
>
> Use the mlmmj-sub command directly:
>
> $ mlmmj-sub -L /path/to/list -a some@address.org
>
> Look at mlmmj-sub -h for options.
>
> > 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.
>
> It has to be the ownership of the process running mlmmj.
>
> > Is there some mailinglist owner command that I missed that can be used?
> >
> > ezmlm does this by:
> > mailinglist-subscribe-john=example.net@example.org
>
> This is not implemented in mlmmj. But since mlmmj uses From: and not
> envelope from, you can send a mail to the subscribe address, with the
> From: changed.
>
> --
> 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: Type: text/html, Size: 1954 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mailinglist owner subscribe?
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
3 siblings, 0 replies; 6+ messages in thread
From: Mads Martin Joergensen @ 2006-08-24 12:15 UTC (permalink / raw)
To: mlmmj
* Christian Nygaard <christiannygaard@gmail.com> [Aug 24. 2006 14:12]:
> Thanks Mads!
>
> I will try to have the user use sudo and mlmmj-sub as you described.
Yep. If mlmmj-sub is invoked as root, it'll automatically switch and use
the right permissions.
--
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mailinglist owner subscribe?
2006-08-24 11:34 mailinglist owner subscribe? Christian Nygaard
` (2 preceding siblings ...)
2006-08-24 12:15 ` Mads Martin Joergensen
@ 2006-08-24 12:19 ` Mads Martin Joergensen
3 siblings, 0 replies; 6+ messages in thread
From: Mads Martin Joergensen @ 2006-08-24 12:19 UTC (permalink / raw)
To: mlmmj
* Mads Martin Joergensen <mmj@mmj.dk> [Aug 24. 2006 14:15]:
> * Christian Nygaard <christiannygaard@gmail.com> [Aug 24. 2006 14:12]:
> > Thanks Mads!
> >
> > I will try to have the user use sudo and mlmmj-sub as you described.
>
> Yep. If mlmmj-sub is invoked as root, it'll automatically switch and use
> the right permissions.
Note that there's switched to have mlmmj send welcome or confirmation
mail. If just invoked, it'll just sub without any other action.
--
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.
^ 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.