Skip to contentSkip to conversation

Problems with modnonsubposts

DISCUSSION Daniel Kühni 2 participants 6 messages Mar 3, 2008 – Mar 6, 2008

lore
Share & tools
lore
#0 lore raw

Hi friends of mlmmj

Apparently I have a strange wish for some special list I want to create.

I want:
- no option for subscription or unsubscription to the list - a closed list
- a message from a subscriber should be delivered to the list subscribers without any intervention
- a message from a non-subscriber should be moderated by a moderator

With this in mind, I have done the following:

-rw-r--r-- 1 nobody mlmmj 0 Feb 22 16:41 closedlist
-rw-r--r-- 1 nobody mlmmj 22 Feb 22 16:41 delheaders -rw------- 1 nobody mlmmj 129 Feb 22 16:42 footer -rw-r--r-- 1 nobody mlmmj 40 Feb 22 16:42 listaddress -rw-r--r-- 1 nobody mlmmj 24 Feb 22 16:55 moderators

-rw-r--r-- 1 nobody mlmmj   0 Feb 22 16:55 modnonsubposts
-rw-r--r-- 1 nobody mlmmj   0 Feb 22 16:41 noaccessdenymails
-rw-r--r-- 1 nobody mlmmj   0 Feb 22 16:41 notoccdenymails
-rw-r--r-- 1 nobody mlmmj  24 Feb 22 16:41 owner
-rw-r--r-- 1 nobody mlmmj  16 Feb 22 16:43 prefix
-rw-r--r-- 1 nobody mlmmj  14 Feb 22 16:41 relayhost

-rw-r--r-- 1 nobody mlmmj 0 Feb 22 17:00 subonlyget
-rw-r--r-- 1 nobody mlmmj 0 Mar 3 22:29 subonlypost

But this does not work as I wanted to. Now non-subscribers get a message back telling them that they are not subscribed and its a closed list.

When I'm adding the "moderated" flag, every message gets moderated, even the ones from the subscribers.

When I delete the "subonlypost" everyone can send a message regardless of their subscription status.

Is there any running configration around that would meet my requirements?

Any help appreciated.

Regards,
Dani

#1 lore raw

Hi Daniel,

Quoted 7 lines · Daniel Kühni

Apparently I have a strange wish for some special list I want to create.

I want:
- no option for subscription or unsubscription to the list - a closed list
- a message from a subscriber should be delivered to the list subscribers without any intervention
- a message from a non-subscriber should be moderated by a moderator

That is not too strange.

Quoted 3 lines

With this in mind, I have done the following:

-rw-r--r-- 1 nobody mlmmj 0 Feb 22 16:41 closedlist

Fine. This functionality is separate from the moderation logic.

Quoted 1 line

-rw-r--r-- 1 nobody mlmmj 0 Feb 22 16:55 modnonsubposts

...

Quoted 1 line

-rw-r--r-- 1 nobody mlmmj 0 Mar 3 22:29 subonlypost

That should be fine.

In pseudocode, that part of mlmmj looks like this:

if (subonlypost && !user_is_subscribed) {

  if (modnonsubposts) {
    MODERATE;
  } else if (!nosubonlydenymails) {
    DENY;
  } else {
    IGNORE;
} else {

ALLOW;
}

So with subonlypost and modnonsubposts set, this should be what you want, right?

Quoted 2 lines

But this does not work as I wanted to. Now non-subscribers get a message back telling them that they are not subscribed and its a closed list.

Is that the subonlypost message?

Quoted 2 lines

When I'm adding the "moderated" flag, every message gets moderated, even the ones from the subscribers.

Yes.

Quoted 2 lines

When I delete the "subonlypost" everyone can send a message regardless of their subscription status.

Yes.

Quoted 1 line

Is there any running configration around that would meet my requirements?

As far as I can see, your configuration is correct. Which version of mlmmj are you running? Not that I can remember any bugs in this part of the code.

Best regards,
Morten

#2 lore raw
In reply to Daniel Kühni

Hi Morten

Thanks for your quick response.

Quoted 11 lines
Quoted 8 lines

Apparently I have a strange wish for some special list I want to create.

I want:
- no option for subscription or unsubscription to the list - a closed list
- a message from a subscriber should be delivered to the list subscribers without any intervention
- a message from a non-subscriber should be moderated by a moderator

That is not too strange.

Ok, sounds good.

Quoted 19 lines
Quoted 2 lines

-rw-r--r-- 1 nobody mlmmj 0 Feb 22 16:55 modnonsubposts

...

Quoted 2 lines

-rw-r--r-- 1 nobody mlmmj 0 Mar 3 22:29 subonlypost

That should be fine.

In pseudocode, that part of mlmmj looks like this:

if (subonlypost && !user_is_subscribed) {

  if (modnonsubposts) {
    MODERATE;
  } else if (!nosubonlydenymails) {
    DENY;
  } else {
    IGNORE;
} else {
Quoted 6 lines

ALLOW;
}

So with subonlypost and modnonsubposts set, this should be what you want, right?

Exactly. The pseudocode is absolutely what I want to achieve.

Quoted 6 lines
Quoted 3 lines

But this does not work as I wanted to. Now non-subscribers get a message back telling them that they are not subscribed and its a closed list.

Is that the subonlypost message?

Yes.

Quoted 3 lines

As far as I can see, your configuration is correct. Which version of mlmmj are you running? Not that I can remember any bugs in this part of the code.

I'm running version 1.2.12 on Gentoo which seems to be the lastest stable version available for Gentoo:

* net-mail/mlmmj
Latest version available: 1.2.12
Latest version installed: 1.2.12
Size of files: 146 kB
Homepage: http://mlmmj.mmj.dk/
Description: Mailing list managing made joyful
License: MIT

What would you suggest?

Thanks an regards,
Daniel

#3 lore raw
In reply to Daniel Kühni

Hi Daniel,

Quoted 1 line · Daniel Kühni
Quoted 1 line
Quoted 1 line

-rw-r--r-- 1 nobody mlmmj 0 Feb 22 16:55 modnonsubposts

...

Quoted 1 line

I'm running version 1.2.12

I've found the problem: The modnonsubposts tunable was introduced in mlmmj-1.2.13.

Quoted 1 line

What would you suggest?

Upgrade mlmmj ;-)

I am no Gentoo expert, but I know of a few of them here on the list, who might be able to give some advise. Andrea?

Best regards,
Morten

#4 lore raw
In reply to Daniel Kühni

Hi Morten

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-rw-r--r-- 1 nobody mlmmj 0 Feb 22 16:55 modnonsubposts

...

Quoted 2 lines

I'm running version 1.2.12

Quoted 10 lines

I've found the problem: The modnonsubposts tunable was introduced in mlmmj-1.2.13.

Quoted 2 lines

What would you suggest?

Upgrade mlmmj ;-)

As expected the upgrade to the latest version 1.2.15 corrected the problem. Now everything works as planned!

Thanks for your assistance and endurance and of course for the well-made software.

Regards,
Daniel

#5 lore raw
In reply to Daniel Kühni
Quoted 2 lines · Daniel Kühni

As expected the upgrade to the latest version 1.2.15 corrected the problem. Now everything works as planned!

Ok, great.

Quoted 2 lines

Thanks for your assistance and endurance and of course for the well-made software.

My pleasure :)

Best regards,
Morten