Re: [Mailman-Users] Few questions and details

2010-07-01 Thread Mark Sapiro
On 6/29/2010 10:40 PM, Joni Töyrylä wrote:

 The Welcome text font is smaller in admin- page.
 
 If you compare:
 http://mail.python.org/mailman/listinfo
 http://mail.python.org/mailman/admin


Yes I see that now. Thanks.


 Also, admin page has brackets around an email while listinfo has not ;)


The two messages (Send questions and comments to mail...@example.com.)
on the admin overview and If you are having trouble using the lists,
please contact mail...@grizz.org. on the listinfo overview are
different messages with different context. It is appropriate for the
admin overview message to be parenthetical and the listinfo overview
message to not be.

Further, removing the parentheses from the admin message or adding them
to the listinfo message changes the i18n message string and breaks 36
existing translations (or 35 not counting the Finnish translation you
are working on.

-- 
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
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] Few questions and details

2010-06-30 Thread Joni Töyrylä

Mark Sapiro wrote:

On 6/29/2010 12:52 AM, Joni Töyrylä wrote:
  

I did some minor tweaking on 2.1.13 Mailman as well as went through most
of the Finnish translations. Im not sure should i post this to anywhere but

Here is minor changes to code:
1) Mailman/HTMLFormatter.py:402:'mm-host' :
Utils.get_domain()
--- To get correct mm_cfg.DEFAULT_URL_HOST instead of server hostname,
for some reason MailList.InitVars() is either not ran yet or variables
has been overwritten? Im not sure why mm_cfg.py settings are not working
here.


I'm not sure what your issue is, but this is not correct. mm-host is
supposed to be the email host of the list (the host_name attribute of
the list, self.host_name in the original code), not the web (url) host
returned by Utils.get_domain(). If it is not correct on some list's
options page, check the list's host_name on it's admin General Options page.


  
It seems to work, changed back.  Im not sure why i got wrong name at 
first but now it works with self.host_name.



3) In 2.1.11 there is different fontsize in admin/listinfo pages, is
this same for 2.1.13? If not, this is easily changed in
MailList/Cgi/admin.py - i changed this for 2.1.11 but i dont remember
was this in 2.1.13 or did i change this for 2.1.13 too... pff. Example
at http://stonelake.fi/mailman/listinfo.




I don't understand this question. I can't read the Finnish, but the page
at http://stonelake.fi/mailman/listinfo looks like a standard Mailman
listinfo overview with respect to font sizes. See, e.g.
http://mail.python.org/mailman/listinfo.
  

The Welcome text font is smaller in admin- page.

If you compare:
http://mail.python.org/mailman/listinfo
http://mail.python.org/mailman/admin

Tinyfix made them both same size:
http://stonelake.fi/mailman/listinfo
http://stonelake.fi/mailman/admin

Also, admin page has brackets around an email while listinfo has not ;)

Joni Töyrylä


--
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] Few questions and details

2010-06-29 Thread Mark Sapiro
On 6/29/2010 12:52 AM, Joni Töyrylä wrote:
 
 I did some minor tweaking on 2.1.13 Mailman as well as went through most
 of the Finnish translations. Im not sure should i post this to anywhere but
 
 Here is minor changes to code:
 1) Mailman/HTMLFormatter.py:402:'mm-host' :
 Utils.get_domain()
 --- To get correct mm_cfg.DEFAULT_URL_HOST instead of server hostname,
 for some reason MailList.InitVars() is either not ran yet or variables
 has been overwritten? Im not sure why mm_cfg.py settings are not working
 here.


I'm not sure what your issue is, but this is not correct. mm-host is
supposed to be the email host of the list (the host_name attribute of
the list, self.host_name in the original code), not the web (url) host
returned by Utils.get_domain(). If it is not correct on some list's
options page, check the list's host_name on it's admin General Options page.


 2) Mailman/MailList.py:187 and Mailman/HTMLFormatter:46
 host_name = Utils.get_domain()
 --- Same as above


Same comment as above. These are intended to be the email host name of
the list, not the web host name.


 3) In 2.1.11 there is different fontsize in admin/listinfo pages, is
 this same for 2.1.13? If not, this is easily changed in
 MailList/Cgi/admin.py - i changed this for 2.1.11 but i dont remember
 was this in 2.1.13 or did i change this for 2.1.13 too... pff. Example
 at http://stonelake.fi/mailman/listinfo.


I don't understand this question. I can't read the Finnish, but the page
at http://stonelake.fi/mailman/listinfo looks like a standard Mailman
listinfo overview with respect to font sizes. See, e.g.
http://mail.python.org/mailman/listinfo.

-- 
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
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] few questions

2001-10-06 Thread Dan Wilder

On Sat, Oct 06, 2001 at 02:07:52PM -0700, Deepak K wrote:
 Dear All,
 
 I am a newbie to mailman. I have configured
 mailman
 version 2.0.6 in a RedHat 7.0 machine. I am quite
 satisfied by the intial results. However, i have 
 following questions
 
 a) Can i have 30 to 40 different mailing list on a
 single machine. I have exclusively reserved a machine
 for this. the hardware configuration of the machine is
 PIII , 800 MHZ, 128 MB Ram. whether it is advisable to
 have 30 to 40 different mailing list having atleast 30
 members in each list in a single machine. if no,
 please tell me how to proceed in this case by giving
 the changes or tuning i have to do in terms of the
 hardware and software configuration. I have around 100
 email transactions per day in each mailing list.
 whether mailman performance will get affected or will
 it become slow if i have 30 to 40 mailing list on a
 single machine and have 100 email transactions per day
 thru each mailing list.

Lessee, that's 4,000 emails/day.

A friend used to handle 70,000 emails/day on a 75 mHz
Pentium, which served as a hub for several organizations.   

We have several lists, the largest of which is 20,000 
members but which gets only about one post a week, running 
under Mailman on an AMD K6-350 with 128M RAM.  The MTA is 
Postfix, tuned for large peak volumes.  With 150 SMTP 
processes, it handles the bulk of the 20,000 member delivery 
within perhaps three or four hours of submittal time.  
The machine never really raises a sweat.  It does choke up 
the SDSL line the mail goes out through!

I'd think a 486-66 with adequate RAM would be more than
enough to handle the load you mention.

-- 
-
 Dan Wilder [EMAIL PROTECTED]   Technical Manager  Editor
 SSC, Inc. P.O. Box 55549   Phone:  206-782-8808
 Seattle, WA  98155-0549URL http://embedded.linuxjournal.com/
-

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Few questions for the Mailman list...

2001-10-01 Thread Jon Carnes

 I'm currently compiling a list of prospective MLM software for the QUT
 Messaging Project (redesigning the Queensland University of Technologies
 email systems).

 We are running a mail system for approx 53,000 users supporting approx
 1,500 lists. The lists are generated by the Universities student
 database systems at this time.

 I was particulalry interested in:
 1. How your software stores and accesses the mailing list information
 (List Members, Administrators, Moderators, Members).

The information for each list is stored in a large database file called
config.db which is stored in a directory ~mailman/lists/email-list-name.
The database stores the configuration of the list as well as the members and
the configuration of each member in that file in text format.
Mailman also maintains a backup copy of config.db in the file
config.db.last.  This is a copy of config.db before the last time it was
changed.

 2. What command line tools or non-web-broswer methods are available to
 administer the lists.

From ~mailman/bin/...
===
  add_members:  add regular or digested users to a list.
  arch:  rebuild a mailing list's archives.
  check_db:  check a mailing list database for corruption.
  check_perms:  check the permissions on the Mailman installation.
  clone_member:  add a list member with identical settings as an existing
list member (including password).
  config_list:  change list configuration from the command line.
  digest_arch:  convert majordomo archives into mailbox format. Old program,
use with extreme care!
  dumpdb:  dump the contents of a Mailman .db file.
  find_member:  find all lists that a specified user is on.
  list_lists:  list all the Mailman mailing lists.
  list_members:  list all the members of a mailing list.
  mmsitepass:  set the site password, good for admin-ing any list.
  move_list:  move archives for a list you have renamed
  newlist:  create a new mailing list.
  remove_members:  remove specified members from a list.
  rmlist:  remove an old mailing list - does not remove the archives unless
you specify -a.
  sync_members:  synchronizes mailing list membership with a flat text file.
  update:  upgrade from previous version of Mailman to current version.
  version:  print out the version of Mailman you are using.
  withlist:  advanced interactions with mailing list objects.

  paths.py - module used by many Mailman scripts to tell it where its files
are stored.

 3. What tools are available to make a mass upload of lists members and
 owner/moderator details?

You can load the members from the command line using add_members or
sync_members, from the web interface you would simply cut and paste the
users into the add user box on the Membership Management page.

You can load the configuration from the command line using config_list, or
you can use the web-based admin interface.

 4. Can we link in authentication (C code) to authenticate to our
 password systems?

Feel free - it's open-source software.  Note, currently the passwords are
stored in the config.db database in text format.  The code used in the
scripts accesses that database and simply reads in the text based passwords
for comparison.  You would have to find the code in each script and re-write
it to use PAMS or whatever password authentication you want.

There are drop and insert modules which do just that: authenticate a
user/password combo against a remote or local password system.

 5. Is there a webbased interface for administrator of the mail list
 service.

Yes, a very nice one.

 6. I'd also like to know what way the lists are stored...
 Are they in a flat file/DB/Hash? How's this achieved for your product?

The lists are stored in a db format as part of the config.db file.  The data
is stored as text, and can be accessed and manipulated by any standard .db
access program.

 7. And even though we can add our own adjustments to the code for the
 purposes of authentication, are there plans for adding support for
 industry supported authentication mechanisms such as Cyrus SASL?
 http://asg.web.cmu.edu/cyrus/download/sasl/doc/

Again, its open-source, so feel free.  I'm sure someone somewhere is looking
at the integration - if it's not already done.  Sure would be a good
Graduate project...

Hope this helps - Jon Carnes


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Few questions for the Mailman list...

2001-10-01 Thread Greg Ward

On 01 October 2001, Jon Carnes said:
  I was particulalry interested in:
  1. How your software stores and accesses the mailing list information
  (List Members, Administrators, Moderators, Members).
 
 The information for each list is stored in a large database file called
 config.db which is stored in a directory ~mailman/lists/email-list-name.
 The database stores the configuration of the list as well as the members and
 the configuration of each member in that file in text format.
 Mailman also maintains a backup copy of config.db in the file
 config.db.last.  This is a copy of config.db before the last time it was
 changed.

Jon forgot one little detail, which is the format of config.db.  It's a
Python marshall file, ie. written by the marshall module from
Python's standard library.  Mailman comes with a bunch of command-line
utilities for viewing/manipulating lists, but if you need to step
outside the box, you'll have to write a bit of Python code.

Eg. if you run this from ~mailman:

  $ python
  Python 2.1 (#2, May  8 2001, 10:50:59) 
  [GCC 2.95.2 2220 (Debian GNU/Linux)] on linux2
  Type copyright, credits or license for more information.
   from marshal import load
   config = load(open(lists/foo/config.db))

the config.db for the foo list is loaded into a Python dictionary
'config', which you can then grub about in as much as you please.  This
is probably not necessary very often, but it's nice to know that it can
be done.

BTW, this holds for Mailman 2.0 and earlier.  I believe Mailman 2.1 uses
pickle (another, more powerful persistence mechanism for Python) for
list config information.

  6. I'd also like to know what way the lists are stored...
  Are they in a flat file/DB/Hash? How's this achieved for your product?
 
 The lists are stored in a db format as part of the config.db file.  The data
 is stored as text, and can be accessed and manipulated by any standard .db
 access program.

Were you talking about the list meta-data (name of list, subscribers,
subscriber options, etc.) or the message archive itself?  The archive is
stored as one big traditional Unix mbox file, ie. with messages
separated by \n\nFrom .  I believe the web interface to the archive is
generated by reading that mbox file and spewing a bunch of HTML files.

Greg
-- 
Greg Ward - software developer[EMAIL PROTECTED]
MEMS Exchangehttp://www.mems-exchange.org

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Few questions for the Mailman list...

2001-10-01 Thread J C Lawrence

On Mon, 1 Oct 2001 14:55:13 -0400 
Greg Ward [EMAIL PROTECTED] wrote:

 BTW, this holds for Mailman 2.0 and earlier.  I believe Mailman
 2.1 uses pickle (another, more powerful persistence mechanism
 for Python) for list config information.

2.1 implements a plugin and abstraction layer such that you can, if
you write the appropriate plugin, store your subscriber database
externally to Mailman, such as in an SQL DB, LDAP, etc.

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas.
[EMAIL PROTECTED]   He lived as a devil, eh?
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users