Re: [Mailman-Users] Export all subsribers

2014-06-09 Thread Bjoern Franke
Am Sonntag, den 08.06.2014, 20:11 +0300 schrieb EyeLand:
 Hello, on mailing list I have many emails on Membership Management...
 - [Membership List], how I can export all on txt file? Thank you.

/usr/sbin/list_members -o filename listname

regards
Bjoern
-- 
xmpp b...@schafweide.org 
bjo.nord-west.org | nord-west.org

--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Export all subsribers

2014-06-09 Thread Mark Sapiro
On 06/09/2014 11:32 AM, EyeLand wrote:
 
 root@vps1:~#  ~mailman/bin/list_members mailman
 -bash: ~mailman/bin/list_members: No such file or directory
 
 OR
 
 root@vps1:~#  ~mailman/bin/list_members mailman@host
 -bash: ~mailman/bin/list_members: No such file or directory
 
 where I can read right name of my mailing list?


If this is cPanel, You need to use the cPanel list name of the form
mailman_host. I.e., it's usually the list's posting address with the '@'
replaced by '_'. In any case, it's the same name as used in URLs like
http://HOST/mailman/listinfo/LIST_HOST.

(and please don't post with digest subjects.)

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Export all subsribers

2014-06-09 Thread Mark Sapiro
On 06/09/2014 12:49 PM, EyeLand wrote:
 
 root@vps1:~# locate list_members
 /usr/lib/mailman/bin/list_members
 /usr/sbin/list_members


Since whatever packaged Mailman this is has put (copies of? links to?)
mailman's bin commands in /usr/sbin, as root you can probably just do

list_members mailman

or you can always do

/usr/lib/mailman/bin/list_members mailman

(apparently ~mailman doesn't resolve to /usr/lib/mailman)

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Export all subsribers

2014-06-09 Thread EyeLand
2014-06-09 22:51 GMT+03:00 Mark Sapiro m...@msapiro.net:
 If this is cPanel, You need to use the cPanel list name of the form
 mailman_host. I.e., it's usually the list's posting address with the '@'
 replaced by '_'. In any case, it's the same name as used in URLs like
 http://HOST/mailman/listinfo/LIST_HOST.

 (and please don't post with digest subjects.)

url http://vps1.ournet.biz/cgi-bin/mailman/listinfo/mailman
email mail...@vps1.ournet.biz
control panel ISPConfig https://vps1.ournet.biz:8080/

now I want only to export all emails (10 000) to txt file from that mailman list

Since whatever packaged Mailman this is has put (copies of? links to?)
mailman's bin commands in /usr/sbin, as root you can probably just do

list_members mailman

or you can always do

/usr/lib/mailman/bin/list_
members mailman

(apparently ~mailman doesn't resolve to /usr/lib/mailman)

yes I open putty as root
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Export all subsribers

2014-06-09 Thread Mark Sapiro
On 06/09/2014 01:16 PM, EyeLand wrote:
 
 url http://vps1.ournet.biz/cgi-bin/mailman/listinfo/mailman
 email mail...@vps1.ournet.biz
 control panel ISPConfig https://vps1.ournet.biz:8080/
 
 now I want only to export all emails (10 000) to txt file from that mailman 
 list


First, do

list_members --help

to see what all the options are, or based on your earlier reported
'locate' results you could do

man list_members

Then you may want something like

list_members mailman  /path/to/output/file

if you only want email addresses or maybe

list_members mailman -f  /path/to/output/file

if you want the member's names if available.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Export all subsribers

2014-06-09 Thread Barry S. Finkel

On 06/09/2014 01:16 PM, EyeLand wrote:


urlhttp://vps1.ournet.biz/cgi-bin/mailman/listinfo/mailman
emailmail...@vps1.ournet.biz
control panel ISPConfighttps://vps1.ournet.biz:8080/

now I want only to export all emails (10 000) to txt file from that mailman 
list



If I interpret the poster's request, EyeLand wants all of the messages
that have been posted to the list in a .txt file.  If this is the case,
then the list archives in

 $listname.mbox/$listname.mbox

has all of the posted mail messages in mbox format.  That is essentially
a .txt file with a

 From email address date

line beginning in column 1 at the start of each message in the file.

--Barry Finkel
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Export all subsribers

2014-06-08 Thread EyeLand
Hello, on mailing list I have many emails on Membership Management...
- [Membership List], how I can export all on txt file? Thank you.
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Export all subsribers

2014-06-08 Thread Mark Sapiro
On 06/08/2014 10:11 AM, EyeLand wrote:
 Hello, on mailing list I have many emails on Membership Management...
 - [Membership List], how I can export all on txt file? Thank you.


See the FAQ at http://wiki.list.org/x/aYA9.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Export all subsribers

2014-06-08 Thread Rich Kulawiec
On Sun, Jun 08, 2014 at 08:11:54PM +0300, EyeLand wrote:
 Hello, on mailing list I have many emails on Membership Management...
 - [Membership List], how I can export all on txt file? Thank you.

From the shell:

~mailman/bin/list_members name-of-mailing-list

will put the list on stdout, so you could redirect it to a file
if you wish:

~mailman/bin/list_members name-of-mailing-list  roster

If you have a number of mailing lists and want to dump them all, you
could use something along the lines of:

#!/bin/csh

set filelist = `~mailman/bin/list_lists -b`

foreach i ($filelist)
~mailman/bin/list_members $i  $i.roster
end

which will create a series of files whose names consist of the
name of each mailing list suffixed with .roster.

---rsk

--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org