Re: [Mailman-Users] run mailman commands..

2008-01-19 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/19/2008 01:11 PM, Khalil Abbas wrote:
| hello all..
|
| I have a dedicated server with CentOS installed.. I need to perform
some mailman commands without going thru the administrative interface
that doesn't work due to an 'internal server error' message..
|
| now mailman commands are installed here:
|
| /usr/lib/mailman/bin
|
| for example I need to run the ' list_members listname' command but it
keeps telling me that this is not a command.. although I logged in as
'root' not as the regular user name ..
|
| can you please write the exact syntax that allows me to put the
members of a list called "dailymail" (without the quotes)in a text file
using the list_members command?
|
| I also would really appreciate the exact syntax of the command that
allows me to mass-subscribe the emails in a text file and adding them to
same list called "dailymail"? .. and also the syntax that removes a
bunch of emails in a text file from the list ..
|

I prefer to use sync_members rather than remove_members and add_members.
~ With sync_members you need only keep the list of who should be on the
list.  When you run it, mailman will remove those currently on the list
who are not in your file and add those from the file who are not on the
list.  This works well when using a separate system to keep track of
subscriptions or generating your subscription list from some other database.

In this example, you'd create a file called dailylist-members.txt that
contains the list of email addresses that should be on the list.

I'd recommend the following command:

~   /usr/lib/mailman/bin/sync_members -g=no -w=no -a=no -f
dailymail-members.txt dailymail



For full usage info, use /usr/lib/mailman/bin/sync_members -h


- --

~  Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHklJUeERILVgMyvARArS2AJ9O0ubev5PGuWqK7sKURvw4AFQVzACfei+t
sgXGYzJgPn39tgf9zmurVes=
=8ma+
-END PGP SIGNATURE-
--
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] run mailman commands..

2008-01-19 Thread Khalil Abbas

hello all..
 
I have a dedicated server with CentOS installed.. I need to perform some 
mailman commands without going thru the administrative interface that doesn't 
work due to an 'internal server error' message..
 
now mailman commands are installed here:
 
/usr/lib/mailman/bin
 
for example I need to run the ' list_members listname' command but it keeps 
telling me that this is not a command.. although I logged in as 'root' not as 
the regular user name ..
 
can you please write the exact syntax that allows me to put the members of a 
list called "dailymail" (without the quotes)in a text file using the 
list_members command?
 
I also would really appreciate the exact syntax of the command that allows me 
to mass-subscribe the emails in a text file and adding them to same list called 
"dailymail"? .. and also the syntax that removes a bunch of emails in a text 
file from the list ..
 
I'm no linux programmer or something, do I need to put a certian thingy before 
each command to run? like "run list_members" or should I use some kind of code, 
in other words, what is the exact syntax or way that allows me to do the tasks 
above?
 
thanks a million..
 
 
_
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/
--
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