Re: [Mailman-Users] moderation bit off on explicitly selected users

2007-05-17 Thread Tomas Macek
> Tomas Macek wrote:
>
>> we are using mailman 2.1.5 with Postfix. On our announce-only list we have 
>> subscribed all of our employees. This list is fully moderated, so when 
>> someone posts, the message waits for approving. That's fine. Now I need to 
>> have some users (3 mail addresses) of the subscribes, that can post to the 
>> list without moderation and waiting for approving from the moderator. Where 
>> can I specify these adresses? I do not use the mailman's web interface.
>>
>> According to the posts I have found on google, this should be done by 
>> modifying the moderation bit on each user, but I cannot find where it could 
>> be done in the config file?
>
>
> It can be done, but it is tricky. You have to call the list method to
> do it.
>
>
>> The config file is the one obtained from the ./config_list -o list.conf 
>> MyList.
>> When I specify this in
>>
>> owner = ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]']
>> moderator = ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL 
>> PROTECTED]']
>>
>> it does not help, the message from [EMAIL PROTECTED] waits for approving.
>
>
> You made these addresses both owner and moderator which is redundant
> and only means that they will receive notices for the owner/moderator.
> It has nothing to do with posting. Go to the FAQ wizard
>  and see FAQ's 3.27, 3.45
> and 3,60 for more on this.
>
>
>> I set up this further settings:
>> default_member_moderation = True
>> member_moderation_action = 0
>> generic_nonmember_action = 3
>>
>> I tried to setup the config like here 
>> http://www.modwest.com/help/kb13-195.html, but I think this is the case I 
>> have now - any message that came to the list is moderated, without 
>> exceptions. But I want these exceptions - some people can post without 
>> moderation.
>
>
> See FAQ 3.11 for our advice on this.
>
>
>> Can anyone help me? If you want to know any other options I have in the 
>> config, let me know please.
>
>
> Why can't you use the web interface?
We don't want to use the web interface, because we don't want to have another 
software running on our mailserver - we understand it as another possible 
security hole.

>
> from Mailman import mm_cfg
> mlist.setMemberOption('[EMAIL PROTECTED]', mm_cfg.Moderate, 0)
> del mm_cfg
This works, I used this, thanks!

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] moderation bit off on explicitly selected users

2007-05-04 Thread Mark Sapiro
Tomas Macek wrote:

>we are using mailman 2.1.5 with Postfix. On our announce-only list we have 
>subscribed all of our employees. This list is fully moderated, so when someone 
>posts, the message waits for approving. That's fine. Now I need to have some 
>users (3 mail addresses) of the subscribes, that can post to the list without 
>moderation and waiting for approving from the moderator. Where can I specify 
>these adresses? I do not use the mailman's web interface.
>
>According to the posts I have found on google, this should be done by 
>modifying the moderation bit on each user, but I cannot find where it could be 
>done in the config file?


It can be done, but it is tricky. You have to call the list method to
do it.


>The config file is the one obtained from the ./config_list -o list.conf MyList.
>When I specify this in
>
> owner = ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]']
> moderator = ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL 
> PROTECTED]']
>
>it does not help, the message from [EMAIL PROTECTED] waits for approving.


You made these addresses both owner and moderator which is redundant
and only means that they will receive notices for the owner/moderator.
It has nothing to do with posting. Go to the FAQ wizard
 and see FAQ's 3.27, 3.45
and 3,60 for more on this.


>I set up this further settings:
>default_member_moderation = True
>member_moderation_action = 0
>generic_nonmember_action = 3
>
>I tried to setup the config like here 
>http://www.modwest.com/help/kb13-195.html, but I think this is the case I have 
>now - any message that came to the list is moderated, without exceptions. But 
>I want these exceptions - some people can post without moderation.


See FAQ 3.11 for our advice on this.


>Can anyone help me? If you want to know any other options I have in the 
>config, let me know please.


Why can't you use the web interface? If you can't use the web
interface, you must be approving posts by email which means you know
how to use the Approved: header. The best way to post to an announce
list is to use the Approved: header with the list password in the
post. If you do this, the post will not be held.

If you allow certain, unmoderated members to post, anyone can post by
spoofing their address. See FAQ 3.11 and 3.34 for more on this.

If you still want to unmoderate a specific user, and you can't use the
web, you can put the following 3 lines in input to config_list.

from Mailman import mm_cfg
mlist.setMemberOption('[EMAIL PROTECTED]', mm_cfg.Moderate, 0)
del mm_cfg

You can put additional mlist.setMemberOption() lines between the first
one and the "del mm_cfg" line.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] moderation bit off on explicitly selected users

2007-05-04 Thread Tomas Macek
Hi,
we are using mailman 2.1.5 with Postfix. On our announce-only list we have 
subscribed all of our employees. This list is fully moderated, so when someone 
posts, the message waits for approving. That's fine. Now I need to have some 
users (3 mail addresses) of the subscribes, that can post to the list without 
moderation and waiting for approving from the moderator. Where can I specify 
these adresses? I do not use the mailman's web interface.

According to the posts I have found on google, this should be done by modifying 
the moderation bit on each user, but I cannot find where it could be done in 
the config file? The config file is the one obtained from the ./config_list -o 
list.conf MyList.
When I specify this in

 owner = ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]']
 moderator = ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]']

it does not help, the message from [EMAIL PROTECTED] waits for approving.

I set up this further settings:
default_member_moderation = True
member_moderation_action = 0
generic_nonmember_action = 3

I tried to setup the config like here 
http://www.modwest.com/help/kb13-195.html, but I think this is the case I have 
now - any message that came to the list is moderated, without exceptions. But I 
want these exceptions - some people can post without moderation.

Can anyone help me? If you want to know any other options I have in the config, 
let me know please.

Many thanks, Tomas

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp