Re: [Mailman-Users] Information about config_list and change_pw

2013-01-25 Thread Mark Sapiro
Chris Nulk wrote:
>
>Can I create a file (properly formatted) to input into config_list 
>containing only the values I want to change?  Or, do I have to dump the 
>entire file, make the changes, then reload?


You can include in the input to config_list only those things you wish
to change. Attributes not defined in the config_list input will be
unchanged.


>Next, I see the change_pw allows me to change a list's password.  Is 
>that the owner's password, the moderator's password, or both?  If it is 
>only the owners password, is there a way to change the moderator's 
>password through some other mechanism/program?


It's only the list owner/admin password. You can use config_list to
change either the admin or moderator password or both.

This three-line input to config_list

from Mailman.Utils import sha_new
password = sha_new('abc').hexdigest()
mod_password = sha_new('def').hexdigest()

will set the admin password to abc and the moderator poassword to def.
When run, it will give this output

Non-standard property restored: password
Non-standard property restored: mod_password
attribute "sha_new" ignored

That is expected. If you don't want to set both passwords, just omit
the corresponding line from the input file.

The lines must be exactly as shown except for the actual passwords.

You can add additional settings in the same input file.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Information about config_list and change_pw

2013-01-25 Thread Chris Nulk

Hello all,

Before I go and completely savage the lists we have here, I thought I 
would try to get a little more information about using config_list.


I get the list information from a file sent to me.  I want to use a 
script to process the file, output the processed data to a file, then 
use config_list to make the changes to the appropriate list(s).  The 
only values I want to change are the list's owner, moderator, and the 
*_these_nonmembers.


Can I create a file (properly formatted) to input into config_list 
containing only the values I want to change?  Or, do I have to dump the 
entire file, make the changes, then reload?



Next, I see the change_pw allows me to change a list's password.  Is 
that the owner's password, the moderator's password, or both?  If it is 
only the owners password, is there a way to change the moderator's 
password through some other mechanism/program?



Thanks,
Chris
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Upgrade for Postfix & Mailman

2013-01-25 Thread Barry S. Finkel

On 1/25/2013 2:05 PM, Jeff Bernier wrote:

Hello All,

I am currently running Mailman (2.1.14) and Postfix (2.4.3) on an aging Mac
OS X server (10.5.8). Mailman and Postfix on this system are Apple's
implementation on their platform of course. Apple no longer supports the
Xserve platform, and I am in need of replacing this system, and upgrading
to newer versions of Postfix and Mailman.

We use Postfix for our on campus SMTP Gateway, and Mailman for a small
number of active lists. The traffic is light.

Can anyone recommend a good replacement to this? Recommended Unix/Linux? Is
a VM environment an option?

I would like to get away from the Mac solution, and set up some flavor of
Unix with more current versions of Postfix and Mailman. I know this is a
very broad question, but I have a blank canvas here... just looking for a
direction to go in.

Any suggestions are appreciated.

Thanks


Jeff Bernier
Email & Accounts Administration
Rhode Island School of Design
20 Washington Place, Providence RI 02903
401.454.6168
--


I would suggest a virtual Linux machine.  I would use the
SourceForge source instead of any pre-packaged Mailman
solution.  I looked at the Debian/Ubuntu Mailman package a
number of years ago, and there were many patches that were not
documented.  At least one patch incorrectly removed a library that
may be needed.  I had to use a package, so I took the Debian/Ubuntu
package and used it to build my own package from the SourceForge source.
The only Debian/Ubuntu patch that I kept was one that placed the various
Mailman libraries in the proper directories for Debian/Ubuntu.
With only a few lists, there is no need for a real machine.  Make sure
that you allocate enough disk space for the growing list archives.

I am not sure if there are any Apple-installed patches that may be
incompatible with the SourceForge source.

--Barry Finkel
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Upgrade for Postfix & Mailman

2013-01-25 Thread Jeff Bernier
Hello All,

I am currently running Mailman (2.1.14) and Postfix (2.4.3) on an aging Mac
OS X server (10.5.8). Mailman and Postfix on this system are Apple's
implementation on their platform of course. Apple no longer supports the
Xserve platform, and I am in need of replacing this system, and upgrading
to newer versions of Postfix and Mailman.

We use Postfix for our on campus SMTP Gateway, and Mailman for a small
number of active lists. The traffic is light.

Can anyone recommend a good replacement to this? Recommended Unix/Linux? Is
a VM environment an option?

I would like to get away from the Mac solution, and set up some flavor of
Unix with more current versions of Postfix and Mailman. I know this is a
very broad question, but I have a blank canvas here... just looking for a
direction to go in.

Any suggestions are appreciated.

Thanks


Jeff Bernier
Email & Accounts Administration
Rhode Island School of Design
20 Washington Place, Providence RI 02903
401.454.6168
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman-subscibers.py

2013-01-25 Thread Mark Sapiro
On 1/25/2013 8:38 AM, rpsch...@knology.net wrote:
> 
> I have been using Mailman-subscibers.py to get a csv output of the list of my 
> users. However, I had to rebuild my database and the path has been changed 
> from the default location and is now …/cgi-bin/mailman… instead of just 
> …/mailman . This cause the command that I was using: 
> 
> Mailman-subscribers.py -c -o output-members.csv m-c-b.org members_m-c-b.org 
>  
> To not work any more 
> 
> I was told that I have to add a “-u” option with the path but cannot get it 
> to work. 


If you run the command with the -h option, it should describe how the -u
option works. Also, the failed commands you tried should have given you
this help information. If you saw the -u option description in the help
and it wasn't clear, please help me by suggesting clearer wording.

If your version of the script doesn't support -u, get the latest from
.

You have two issues with what you are trying. All options including -u
and its setting must precede the host name in the command, and the value
of the -u option is just the path up to the admin cgi. It does not
include the http://hostname part nor the listname. You need to add just
"–u /cgi-bin/mailman/admin" to your prior command preceding the host
name so the command becomes

Mailman-subscribers.py -c -o output-members.csv –u
/cgi-bin/mailman/admin m-c-b.org members_m-c-b.org 

(all on one line)

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

[Mailman-Users] Mailman-subscibers.py

2013-01-25 Thread rpschwar

I have been using Mailman-subscibers.py to get a csv output of the list of my 
users. However, I had to rebuild my database and the path has been changed from 
the default location and is now …/cgi-bin/mailman… instead of just …/mailman . 
This cause the command that I was using: 

Mailman-subscribers.py -c -o output-members.csv m-c-b.org members_m-c-b.org 
 
To not work any more 

I was told that I have to add a “-u” option with the path but cannot get it to 
work. 

I have tried: 

Mailman-subscribers.py -c -o output-members.csv m-c-b.org –u 
http://m-c-b.org/cgi-bin/mailman/admin/members_m-c-b.org  
and 
Mailman-subscribers.py -c -o –u output-members.csv m-c-b.org 
http://m-c-b.org/cgi-bin/mailman/admin/members_m-c-b.org  

What is wrong with this command? 
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org