[Mailman-Users] subscribe page

2015-05-07 Thread Thomas Stein
Hello.

I am trying to find the setting in postorius to allow a user to subscribe to a 
mailing list on its own. All i see is You have to log in to subscribe to this 
list. 

thanks for any hints.

cheers
t.
--
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] python error when try to save a setting

2015-05-04 Thread Thomas Stein
Hello.

When i try to save a setting

--schnipp--
Settings / Message Acceptance

Default action to take when a member posts to the list --- Accept
--schnapp--

via pistorius i get:

UnboundLocalError at
/mailman3/lists/hoppla.domain/settings/message_acceptance

local variable 'HTTPError' referenced before assignment

Request Method: POST
Request URL:
http://127.0.0.1:8000/mailman3/lists/hoppla.misc.meine-oma.de/settings/message_acceptance
Django Version: 1.7.8
Exception Type: UnboundLocalError
Exception Value:

local variable 'HTTPError' referenced before assignment

Exception Location:
/var/www/mailman/eggs/postorius-1.0.1-py2.7.egg/postorius/views/list.py
in list_settings, line 787
Python Executable:  /var/www/mailman/venv/bin/python2.7
Python Version: 2.7.9
Python Path:

['/var/www/mailman/eggs/Django-1.7.8-py2.7.egg',
 '/var/www/mailman/eggs/postorius-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/HyperKitty-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/Whoosh-2.7.0-py2.7.egg',
 '/var/www/mailman/eggs/mock-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/beautifulsoup4-4.3.2-py2.7.egg',
 '/var/www/mailman/eggs/djangorecipe-1.11-py2.7.egg',
 '/var/www/mailman/eggs/zc.recipe.egg-2.0.1-py2.7.egg',
 '/var/www/mailman/venv/lib/python2.7/site-packages',
 '/var/www/mailman/eggs/numpy-1.9.2-py2.7-linux-x86_64.egg',
 '/var/www/mailman/eggs/lockfile-0.10.2-py2.7.egg',
 '/var/www/mailman/eggs/django_extensions-1.5.2-py2.7.egg',
 '/var/www/mailman/eggs/django_haystack-2.3.1-py2.7.egg',
 '/var/www/mailman/eggs/enum34-1.0.4-py2.7.egg',
 '/var/www/mailman/eggs/networkx-1.9.1-py2.7.egg',
 '/var/www/mailman/eggs/python_dateutil-1.5-py2.7.egg',
 '/var/www/mailman/eggs/mailmanclient-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/django_browserid-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/django_compressor-1.5-py2.7.egg',
 '/var/www/mailman/eggs/django_paintstore-0.2-py2.7.egg',
 '/var/www/mailman/eggs/pytz-2015.2-py2.7.egg',
 '/var/www/mailman/eggs/robot_detection-0.3-py2.7.egg',
 '/var/www/mailman/eggs/cssmin-0.2.0-py2.7.egg',
 '/var/www/mailman/eggs/rjsmin-1.0.10-py2.7-linux-x86_64.egg',
 '/var/www/mailman/eggs/django_crispy_forms-1.4.0-py2.7.egg',
 '/var/www/mailman/eggs/djangorestframework-3.1.1-py2.7.egg',
 '/var/www/mailman/eggs/python_social_auth-0.2.7-py2.7.egg',
 '/var/www/mailman/eggs/django_gravatar2-1.3.0-py2.7.egg',
 '/var/www/mailman/eggs/six-1.9.0-py2.7.egg',
 '/var/www/mailman/eggs/decorator-3.4.2-py2.7.egg',
 '/var/www/mailman/eggs/httplib2-0.9.1-py2.7.egg',
 '/var/www/mailman/eggs/requests-2.6.2-py2.7.egg',
 '/var/www/mailman/eggs/django_appconf-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/PyJWT-1.1.0-py2.7.egg',
 '/var/www/mailman/eggs/requests_oauthlib-0.4.2-py2.7.egg',
 '/var/www/mailman/eggs/oauthlib-0.7.2-py2.7.egg',
 '/var/www/mailman/eggs/python_openid-2.2.5-py2.7.egg',
 '/var/www/mailman',
 '/var/www/mailman/bin',
 '/var/www/mailman/venv/lib64/python27.zip',
 '/var/www/mailman/venv/lib64/python2.7',
 '/var/www/mailman/venv/lib64/python2.7/plat-linux2',
 '/var/www/mailman/venv/lib64/python2.7/lib-tk',
 '/var/www/mailman/venv/lib64/python2.7/lib-old',
 '/var/www/mailman/venv/lib64/python2.7/lib-dynload',
 '/usr/lib64/python2.7',
 '/usr/lib/python2.7/plat-linux2']

How can i repair this?

Thanks and cheers
t.
--
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] mailloop exim lmtp

2015-05-04 Thread Thomas Stein
Am 03.05.15 um 17:30 schrieb Thomas Stein:
 On Sunday 03 May 2015 07:50:08 Mark Sapiro wrote:
 On 05/03/2015 06:25 AM, Thomas Stein wrote:
  It seems mailman is unable to send mail. Sending mail as user mailman on
  the commandline works. Strange.
 
 These kinds of problems often result because mailman sends via SMTP to
 (by default) 'localhost' and there is a conflict because for example,
 the MTA is configured to accept mail from an IPv4 local host
 (127.0.0.1/n) and not from an IPv6 local host (::1), but 'localhost' is
 defined in /etc/hosts as the 'wrong' one.
 
 Thanks for your answer. Changed localhost to 127.0.0.1 in mailman.cfg and now 
 the error is gone. But the mail loop still is in action. It works even better 
 now. :-) I guess i have to keep digging.

After i restarted the virtual machine the mail loop is gone. It was
probably a ipv4/ipv6 issue. Can i disable somewhere ipv6 in mailman?

thanks and cheers
t.

--
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] error when trying to register via hyperkitty

2015-05-04 Thread Thomas Stein
Hello.

When i try to signup via hyperkitty i get:

KeyError at /archives/accounts/register/

'email'

Request Method: POST
Request URL:
http://127.0.0.1:8000/archives/accounts/register/?next=/archives/
Django Version: 1.7.8
Exception Type: KeyError
Exception Value:

'email'

Exception Location:
/var/www/mailman/eggs/HyperKitty-1.0.0-py2.7.egg/hyperkitty/views/forms.py
in clean_username, line 57
Python Executable:  /var/www/mailman/venv/bin/python2.7
Python Version: 2.7.9
Python Path:

['/var/www/mailman/eggs/Django-1.7.8-py2.7.egg',
 '/var/www/mailman/eggs/postorius-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/HyperKitty-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/Whoosh-2.7.0-py2.7.egg',
 '/var/www/mailman/eggs/mock-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/beautifulsoup4-4.3.2-py2.7.egg',
 '/var/www/mailman/eggs/djangorecipe-1.11-py2.7.egg',
 '/var/www/mailman/eggs/zc.recipe.egg-2.0.1-py2.7.egg',
 '/var/www/mailman/venv/lib/python2.7/site-packages',
 '/var/www/mailman/eggs/numpy-1.9.2-py2.7-linux-x86_64.egg',
 '/var/www/mailman/eggs/lockfile-0.10.2-py2.7.egg',
 '/var/www/mailman/eggs/django_extensions-1.5.2-py2.7.egg',
 '/var/www/mailman/eggs/django_haystack-2.3.1-py2.7.egg',
 '/var/www/mailman/eggs/enum34-1.0.4-py2.7.egg',
 '/var/www/mailman/eggs/networkx-1.9.1-py2.7.egg',
 '/var/www/mailman/eggs/python_dateutil-1.5-py2.7.egg',
 '/var/www/mailman/eggs/mailmanclient-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/django_browserid-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/django_compressor-1.5-py2.7.egg',
 '/var/www/mailman/eggs/django_paintstore-0.2-py2.7.egg',
 '/var/www/mailman/eggs/pytz-2015.2-py2.7.egg',
 '/var/www/mailman/eggs/robot_detection-0.3-py2.7.egg',
 '/var/www/mailman/eggs/cssmin-0.2.0-py2.7.egg',
 '/var/www/mailman/eggs/rjsmin-1.0.10-py2.7-linux-x86_64.egg',
 '/var/www/mailman/eggs/django_crispy_forms-1.4.0-py2.7.egg',
 '/var/www/mailman/eggs/djangorestframework-3.1.1-py2.7.egg',
 '/var/www/mailman/eggs/python_social_auth-0.2.7-py2.7.egg',
 '/var/www/mailman/eggs/django_gravatar2-1.3.0-py2.7.egg',
 '/var/www/mailman/eggs/six-1.9.0-py2.7.egg',
 '/var/www/mailman/eggs/decorator-3.4.2-py2.7.egg',
 '/var/www/mailman/eggs/httplib2-0.9.1-py2.7.egg',
 '/var/www/mailman/eggs/requests-2.6.2-py2.7.egg',
 '/var/www/mailman/eggs/django_appconf-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/PyJWT-1.1.0-py2.7.egg',
 '/var/www/mailman/eggs/requests_oauthlib-0.4.2-py2.7.egg',
 '/var/www/mailman/eggs/oauthlib-0.7.2-py2.7.egg',
 '/var/www/mailman/eggs/python_openid-2.2.5-py2.7.egg',
 '/var/www/mailman',
 '/var/www/mailman/bin',
 '/var/www/mailman/venv/lib64/python27.zip',
 '/var/www/mailman/venv/lib64/python2.7',
 '/var/www/mailman/venv/lib64/python2.7/plat-linux2',
 '/var/www/mailman/venv/lib64/python2.7/lib-tk',
 '/var/www/mailman/venv/lib64/python2.7/lib-old',
 '/var/www/mailman/venv/lib64/python2.7/lib-dynload',
 '/usr/lib64/python2.7',
 '/usr/lib/python2.7/plat-linux2']

I used no special characters for username and email. Any ideas?

ciao
t.
--
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] mailloop exim lmtp

2015-05-03 Thread Thomas Stein
Hola.

After having mailman3 installation behind me a first test post seems to lead 
to a kind of mailloop. mailman smtp.log says:

May 03 10:17:37 2015 (24469) 20150503080846.24473.69262@misc.domain smtp to 
goodnews@misc.domain for 1 recips, completed in 0.014857053756713867 seconds
May 03 10:17:37 2015 (24469) 20150503080846.24473.69262@misc.domain post to 
goodnews@misc.domain from goodnews-owner@misc.domain, 19631 bytes, 1 failures
May 03 10:17:37 2015 (24469) 20150503080846.24473.69262@misc.domain delivery 
to goodnews-owner@misc.domain failed with code 444, [Errno 97] Address family 
not supported by protocol
May 03 10:17:37 2015 (24469) 20150503080846.24473.31080@misc.domain low 
level smtp error: [Errno 97] Address family not supported by protocol
May 03 10:17:37 2015 (24469) 20150503080846.24473.31080@misc.domain smtp to 
goodnews@misc.domain for 1 recips, completed in 0.022059917449951172 seconds
May 03 10:17:37 2015 (24469) 20150503080846.24473.31080@misc.domain post to 
goodnews@misc.domain from goodnews-owner@misc.domain, 31458 bytes, 1 failures
May 03 10:17:37 2015 (24469) 20150503080846.24473.31080@misc.domain delivery 
to goodnews-owner@misc.domain failed with code 444, [Errno 97] Address family 
not supported by protocol
May 03 10:17:37 2015 (24469) 20150503080846.24473.49233@misc.domain low 
level smtp error: [Errno 97] Address family not supported by protocol
May 03 10:17:37 2015 (24469) 20150503080846.24473.49233@misc.domain smtp to 
goodnews@misc.domain for 1 recips, completed in 0.014764547348022461 seconds
May 03 10:17:37 2015 (24469) 20150503080846.24473.49233@misc.domain post to 
goodnews@misc.domain from goodnews-owner@misc.domain, 19614 bytes, 1 failures
May 03 10:17:37 2015 (24469) 20150503080846.24473.49233@misc.domain delivery 
to goodnews-owner@misc.domain failed with code 444, [Errno 97] Address family 
not supported by protocol
May 03 10:17:38 2015 (24469) 20150503080847.24473.74610@misc.domain low 
level smtp error: [Errno 97] Address family not supported by protocol
May 03 10:17:38 2015 (24469) 20150503080847.24473.74610@misc.domain smtp to 
goodnews@misc.domain for 1 recips, completed in 0.01850271224975586 seconds
May 03 10:17:38 2015 (24469) 20150503080847.24473.74610@misc.domain post to 
goodnews@misc.domain from goodnews-owner@misc.domain, 21954 bytes, 1 failures
May 03 10:17:38 2015 (24469) 20150503080847.24473.74610@misc.domain delivery 
to goodnews-owner@misc.domain failed with code 444, [Errno 97] Address family 
not supported by protocol

Exim gives no error. Just a loop between goodnews-bounces and goodnews. What 
did i wrong this time? :-)

thanks and ciao
t.
--
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] mailloop exim lmtp

2015-05-03 Thread Thomas Stein
On Sunday 03 May 2015 07:50:08 Mark Sapiro wrote:
 On 05/03/2015 06:25 AM, Thomas Stein wrote:
  It seems mailman is unable to send mail. Sending mail as user mailman on
  the commandline works. Strange.
 
 These kinds of problems often result because mailman sends via SMTP to
 (by default) 'localhost' and there is a conflict because for example,
 the MTA is configured to accept mail from an IPv4 local host
 (127.0.0.1/n) and not from an IPv6 local host (::1), but 'localhost' is
 defined in /etc/hosts as the 'wrong' one.

Thanks for your answer. Changed localhost to 127.0.0.1 in mailman.cfg and now 
the error is gone. But the mail loop still is in action. It works even better 
now. :-) I guess i have to keep digging.

thanks again and cheers
t.
--
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] mailloop exim lmtp

2015-05-03 Thread Thomas Stein
On Sunday 03 May 2015 21:48:02 Stephen J. Turnbull wrote:
 Thomas Stein writes:
   Exim gives no error. Just a loop between goodnews-bounces and goodnews.
   What did i wrong this time? :-)
 
 It appears that Exim can't send mail at all, and so first the error
 happens in the mailing list, then it tries to send the error
 information to the list-owner, but that fails the same way (address
 faimily not supported by protocol).
 
 Can't say more without seeing your configs.

 Can you send any mail at all on that host?

Yes. No problems. Here a test via command line. Mailing list is called more.

misc ~ # exim -v m...@misc.domain.de
From: himbe...@domain.de
To: m...@misc.domain.de
Subject: Test

This is a test.
LOG: MAIN
  = r...@misc.domain.de U=root P=local S=362
misc ~ # delivering 1Yoroo-0007Vh-Hd
Connecting to localhost [127.0.0.1]:8024 ... connected
  SMTP 220 misc.domain.de Python LMTP runner 1.0
  SMTP LHLO misc.domain.de
  SMTP 250 misc.domain.de
  SMTP MAIL FROM:r...@misc.domain.de
  SMTP 250 OK
  SMTP RCPT TO:m...@misc.domain.de
  SMTP 250 OK
  SMTP DATA
  SMTP 354 End data with CRLF.CRLF
  SMTP writing message and terminating .
  SMTP 250 Ok
  SMTP QUIT
LOG: MAIN
  = m...@misc.domain.de R=mailman3_router T=mailman3_transport H=localhost 
[127.0.0.1] C=250 Ok
LOG: MAIN
  Completed

So the mail is with mailman now. Mailman smtp.log still the same:

May 03 13:13:14 2015 (24469) 20150503111313.24473.30...@misc.g.de low level 
smtp error: [Errno 97] Address family not supported by protocol
May 03 13:13:14 2015 (24469) 20150503111313.24473.30...@misc.g.de smtp to 
m...@misc.domain.de for 1 recips, completed in 0.0038123130798339844 seconds
May 03 13:13:14 2015 (24469) 20150503111313.24473.30...@misc.g.de post to 
m...@misc.domain.de from more-boun...@misc.domain.de, 831 bytes, 1 failures
May 03 13:13:14 2015 (24469) 20150503111313.24473.30...@misc.g.de delivery 
to himbe...@domain.de failed with code 444, [Errno 97] Address family not 
supported by protocol
May 03 13:13:14 2015 (24469) 20150503111313.24473.98...@misc.g.de low level 
smtp error: [Errno 97] Address family not supported by protocol

It seems mailman is unable to send mail. Sending mail as user mailman on the 
commandline works. Strange.

thanks and ciao
t.

--
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] mailman 3.0 and exim

2015-05-02 Thread Thomas Stein
On Friday 01 May 2015 13:19:58 Thomas Stein wrote:
 Hello.

In $home_mailman/var/etc/mailman.cfg i have this setting:

[mta]
# For all Exim4 installations.
incoming: mailman.mta.exim4.LMTP
outgoing: mailman.mta.deliver.deliver
# Typical single host with MTA and Mailman configuration.
# Adjust to your system's configuration.
# Exim happily works with the localhost alias rather than IP address.
lmtp_host: localhost
smtp_host: localhost
# Mailman should not be run as root.
# Use any convenient port  1024.  8024 is a convention, but can be
# changed if there is a conflict with other software using that port.
lmtp_port: 8024
# smtp_port rarely needs to be set.
smtp_port: 25
# Exim4-specific configuration parameter defaults.  Currently empty.
configuration: python:mailman.config.exim4

So i guess mailman should be aware of my exim setup.

thanks for any hints.

cheers
t.

 Just installed mailman3 on one of my testsystems. There is only exim
 installed. No postfix. When i try to create a new list i get error 500 from
 nginx. The logfile says:
 
 sh: /usr/sbin/postmap: No such file or directory
 sh: /usr/sbin/postmap: No such file or directory
 Traceback (most recent call last):
   File /usr/lib64/python3.4/wsgiref/handlers.py, line 137, in run
 self.result = application(self.environ, self.start_response)
   File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
 packages/mailman/database/transaction.py, line 57, in wrapper
 rtn = function(*args, **kws)
   File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
 packages/mailman/rest/wsgiapp.py, line 65, in __call__
 environ, start_response)
   File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
 packages/falcon/api.py, line 182, in __call__
 responder(req, resp, **params)
   File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
 packages/mailman/rest/lists.py, line 207, in on_post
 mlist = create_list(**validator(request))
   File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
 packages/mailman/app/lifecycle.py, line 81, in create_list
 call_name(config.mta.incoming).create(mlist)
   File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
 packages/mailman/mta/postfix.py, line 69, in create
 self.regenerate()
   File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
 packages/mailman/mta/postfix.py, line 104, in regenerate
 raise RuntimeError(NL.join(errors))
 RuntimeError: command failure: /usr/sbin/postmap /home/mailman/mailman-
 bundler/var/data/postfix_lmtp, 127, Key has expired
 command failure: /usr/sbin/postmap /home/mailman/mailman-
 bundler/var/data/postfix_domains, 127, Key has expired
 [01/May/2015 04:14:48] POST /mailman3/lists/new/ HTTP/1.0 200 2716
 
 Why is mailman looking for the postmap command? How can i prevent this from
 happening?
 
 thanks and cheers
 t.

--
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 3.0 and exim

2015-05-02 Thread Thomas Stein
Hello.

Just installed mailman3 on one of my testsystems. There is only exim 
installed. No postfix. When i try to create a new list i get error 500 from 
nginx. The logfile says:

sh: /usr/sbin/postmap: No such file or directory
sh: /usr/sbin/postmap: No such file or directory
Traceback (most recent call last):
  File /usr/lib64/python3.4/wsgiref/handlers.py, line 137, in run
self.result = application(self.environ, self.start_response)
  File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
packages/mailman/database/transaction.py, line 57, in wrapper
rtn = function(*args, **kws)
  File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
packages/mailman/rest/wsgiapp.py, line 65, in __call__
environ, start_response)
  File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
packages/falcon/api.py, line 182, in __call__
responder(req, resp, **params)
  File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
packages/mailman/rest/lists.py, line 207, in on_post
mlist = create_list(**validator(request))
  File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
packages/mailman/app/lifecycle.py, line 81, in create_list
call_name(config.mta.incoming).create(mlist)
  File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
packages/mailman/mta/postfix.py, line 69, in create
self.regenerate()
  File /home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-
packages/mailman/mta/postfix.py, line 104, in regenerate
raise RuntimeError(NL.join(errors))
RuntimeError: command failure: /usr/sbin/postmap /home/mailman/mailman-
bundler/var/data/postfix_lmtp, 127, Key has expired
command failure: /usr/sbin/postmap /home/mailman/mailman-
bundler/var/data/postfix_domains, 127, Key has expired
[01/May/2015 04:14:48] POST /mailman3/lists/new/ HTTP/1.0 200 2716

Why is mailman looking for the postmap command? How can i prevent this from 
happening? 

thanks and cheers
t.
--
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 3.0 /archives throws error

2015-05-02 Thread Thomas Stein
Hello.

Still struggling with mailman3 a little bit. :-)

When i try to access /archives i get this error:

FilterError at /archives/

module.js:340
throw err;
  ^
Error: Cannot find module '../lib/less/fs'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.anonymous (/usr/bin/lessc:4:10)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)

Request Method: GET
Request URL:http://127.0.0.1:8000/archives/
Django Version: 1.7.7
Exception Type: FilterError
Exception Value:

module.js:340
throw err;

nodejs-less is installed (i guess). Does this error come from nodejs-less?

Thanks and Ciao
t.


--
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] mailman 3.0 and exim

2015-05-02 Thread Thomas Stein
On Saturday 02 May 2015 12:14:45 Barry Warsaw wrote:
 On May 01, 2015, at 08:13 PM, Thomas Stein wrote:
 In $home_mailman/var/etc/mailman.cfg i have this setting:
 Did you restart Mailman after changing this configuration?
 
 Make sure `mailman info` confirms you're using the configuration file you
 think you are.
 
 Make sure `mailman conf` confirms the settings.

Thanks. After using the right configfile everything works.

ciao
t.

 Cheers,
 -Barry
 --
 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/himbeere%40meine-oma.
 de

--
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] mailman 3.0 /archives throws error

2015-05-02 Thread Thomas Stein
On Saturday 02 May 2015 11:03:36 Mark Sapiro wrote:
 On 05/02/2015 10:13 AM, Thomas Stein wrote:
  nodejs-less is installed (i guess). Does this error come from nodejs-less?
 
 There have been observed conflicts with node-less in some platforms. If
 you type a bare 'lessc' command you should get a 'help like' response.
 If you get an unknown command, you may need to install node-less. If you
 get no response, see the bit in http://wiki.list.org/x/17891734 about
 symlinking 'node' to 'nodejs'.

Thanks for the link. I reinstalled less with npm install -g less. After that 
the error is gone.

thanks again and ciao
t.
--
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