Re: [Mailman-Users] Best method to interface Mailman3 from custom web application

2014-07-23 Thread ML mail
Thanks I will go for the REST API and sorry for bothering the mailman users 
mailing list. I will use the developers one in the future instead.



On Wednesday, July 23, 2014 5:50 PM, Mark Sapiro  wrote:
 


On 07/23/2014 04:58 AM, ML mail wrote:

> 
> I have built a simple mail control panel in PHP where I would like to be able 
> to create new mailing lists, subscribe/unsubscribe members, etc. Now I was 
> wondering what would be the best method for my control panel to do that? I am 
> aware of the following methods:
> 
> - using SQL to directly speak with mailman3 database
> - using the REST API
> 
> What would you recommend and are there any other alternatives?


I think its been mentioned to you before, but
mailman-develop...@python.org is much preferred over
mailman-users@python.org for MM 3 discussion.

In any case, one of the major reasons for splitting MM 3 into separate
pieces with a core engine with a REST API was to facilitate exactly what
you are talking about. So use the REST API.

-- 
Mark Sapiro         The highway is for gamblers,
San Francisco Bay Area, California    better 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/mlnospam%40yahoo.com
--
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] Best method to interface Mailman3 from custom web application

2014-07-23 Thread ML mail
Hello,

I have built a simple mail control panel in PHP where I would like to be able 
to create new mailing lists, subscribe/unsubscribe members, etc. Now I was 
wondering what would be the best method for my control panel to do that? I am 
aware of the following methods:

- using SQL to directly speak with mailman3 database
- using the REST API

What would you recommend and are there any other alternatives?

Regards
ML
--
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] List owner account in Mailman3 (postorius)

2014-07-14 Thread ML mail
Hi,

How do I create a list owner account in the new Mailman3 web interface 
(postorius)?

Regards
ML

--
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] Mailman v3 how to create new user

2014-07-01 Thread ML mail
Hi,

I installed Mailman 3 and Postorius all working fine so far but I have a 
question regarding user management. I got one admin user created while running 
the "syncdb" command in Django, but how do I now create additional users? 


Ideally I would like one "domain admin" user who can manage mailing lists for a 
specific domain, is this possible?


Regards,
ML

--
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] Installing v3.0.0b4 on Debian 7

2014-07-01 Thread ML mail
Thanks, I used now pip install to install the zope interface and it worked, I 
had the debian package's version installed and that did not work well along.




On Monday, June 30, 2014 4:20 PM, Mark Sapiro  wrote:
On 06/29/2014 01:35 PM, ML mail wrote:
> Hi,
> 
> I am trying to install version 3.0.0b4 of Mailman on Debian 7 and for that 
> purpose I took the original tar.gz file and ran:
> 
> sudo python setup.py install
> 
> There was an issue with the version of zope.interface which I resolved by 
> running the following command:
> 
> sudo pip install -U zope.interface
> 
> Now Mailman got correctly installed but when doesn't seem to run. This is the 
> output when I run the mailman command on its own:


I saw a similar issue at one point. I *think* I fixed it by completely
removing zope.interface and rerunning python setup.py install, letting
it install the zope.interface package it wanted.

That said, I'm not really working on MM 3 at this point and most of the
MM 3 folks are better found on mailman-develop...@python.org.

-- 
Mark Sapiro         The highway is for gamblers,
San Francisco Bay Area, California    better 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/mlnospam%40yahoo.com

--
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] Installing v3.0.0b4 on Debian 7

2014-06-30 Thread ML mail
Hi,

I am trying to install version 3.0.0b4 of Mailman on Debian 7 and for that 
purpose I took the original tar.gz file and ran:

sudo python setup.py install

There was an issue with the version of zope.interface which I resolved by 
running the following command:

sudo pip install -U zope.interface

Now Mailman got correctly installed but when doesn't seem to run. This is the 
output when I run the mailman command on its own:



Traceback (most recent call last):
  File "/usr/local/bin/mailman", line 9, in 
    load_entry_point('mailman==3.0.0b4', 'console_scripts', 'mailman')()
  File 
"/usr/local/lib/python2.7/dist-packages/setuptools-5.3-py2.7.egg/pkg_resources.py",
 line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File 
"/usr/local/lib/python2.7/dist-packages/setuptools-5.3-py2.7.egg/pkg_resources.py",
 line 2439, in load_entry_point
    return ep.load()
  File 
"/usr/local/lib/python2.7/dist-packages/setuptools-5.3-py2.7.egg/pkg_resources.py",
 line 2155, in load
    ['__name__'])
  File 
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b4-py2.7.egg/mailman/bin/mailman.py",
 line 34, in 
    from mailman.core.initialize import initialize
  File 
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b4-py2.7.egg/mailman/core/initialize.py",
 line 43, in 
    from zope.component import getUtility
  File 
"/usr/local/lib/python2.7/dist-packages/zope.component-4.2.1-py2.7.egg/zope/component/__init__.py",
 line 19, in 
    from zope.interface import named


Does anyone have an idea what is going wrong? Did I maybe forgot to do 
something or am I missing anything?

Thanks for the hints

Regards
ML
--
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