Re: [Mailman-Users] mailman 3.0 and exim

2015-05-02 Thread Barry Warsaw
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.

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/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


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