[Mailman-Developers] (no subject)
Kevin Ratnasekera
djkevincr1989 at gmail.com
Thu Feb 6 12:38:07 CET 2014
Hi all,
While i create new list with mailman rest api i receive this error,
sh: 1: /usr/sbin/postmap: not found
sh: 1: /usr/sbin/postmap: not found
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/database/transaction.py",
line 60, in wrapper
rtn = function(*args, **kws)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/wsgiapp.py",
line 59, in __call__
environ, start_response)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py",
line 18, in __call__
response = self.get_response(request, resource_or_response)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py",
line 65, in get_response
resource_or_response = resource_or_response(request)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 212, in __call__
return _dispatch(request, match, lambda r: callable(self, r))
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 243, in _dispatch
response = func(request)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 212, in <lambda>
return _dispatch(request, match, lambda r: callable(self, r))
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/lists.py",
line 203, in create
mlist = create_list(**validator(request))
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/app/lifecycle.py",
line 84, in create_list
call_name(config.mta.incoming).create(mlist)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py",
line 73, in create
self.regenerate()
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py",
line 108, in regenerate
raise RuntimeError(NL.join(errors))
RuntimeError: command failure: /usr/sbin/postmap
/home/kevin/var/data/postfix_lmtp, 127, Key has expired
command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_domains,
127, Key has expired
sh: 1: /usr/sbin/postmap: not found
sh: 1: /usr/sbin/postmap: not found
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/database/transaction.py",
line 60, in wrapper
rtn = function(*args, **kws)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/wsgiapp.py",
line 59, in __call__
environ, start_response)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py",
line 18, in __call__
response = self.get_response(request, resource_or_response)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py",
line 65, in get_response
resource_or_response = resource_or_response(request)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 212, in __call__
return _dispatch(request, match, lambda r: callable(self, r))
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 243, in _dispatch
response = func(request)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 212, in <lambda>
return _dispatch(request, match, lambda r: callable(self, r))
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/lists.py",
line 203, in create
mlist = create_list(**validator(request))
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/app/lifecycle.py",
line 84, in create_list
call_name(config.mta.incoming).create(mlist)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py",
line 73, in create
self.regenerate()
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py",
line 108, in regenerate
raise RuntimeError(NL.join(errors))
RuntimeError: command failure: /usr/sbin/postmap
/home/kevin/var/data/postfix_lmtp, 127, Key has expired
command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_domains,
127, Key has expired
sh: 1: /usr/sbin/postmap: not found
sh: 1: /usr/sbin/postmap: not found
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/database/transaction.py",
line 60, in wrapper
rtn = function(*args, **kws)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/wsgiapp.py",
line 59, in __call__
environ, start_response)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py",
line 18, in __call__
response = self.get_response(request, resource_or_response)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py",
line 65, in get_response
resource_or_response = resource_or_response(request)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 212, in __call__
return _dispatch(request, match, lambda r: callable(self, r))
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 243, in _dispatch
response = func(request)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 212, in <lambda>
return _dispatch(request, match, lambda r: callable(self, r))
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/lists.py",
line 203, in create
mlist = create_list(**validator(request))
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/app/lifecycle.py",
line 84, in create_list
call_name(config.mta.incoming).create(mlist)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py",
line 73, in create
self.regenerate()
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py",
line 108, in regenerate
raise RuntimeError(NL.join(errors))
RuntimeError: command failure: /usr/sbin/postmap
/home/kevin/var/data/postfix_lmtp, 127, Key has expired
command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_domains,
127, Key has expired
sh: 1: /usr/sbin/postmap: not found
sh: 1: /usr/sbin/postmap: not found
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/database/transaction.py",
line 60, in wrapper
rtn = function(*args, **kws)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/wsgiapp.py",
line 59, in __call__
environ, start_response)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py",
line 18, in __call__
response = self.get_response(request, resource_or_response)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/app.py",
line 65, in get_response
resource_or_response = resource_or_response(request)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 212, in __call__
return _dispatch(request, match, lambda r: callable(self, r))
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 243, in _dispatch
response = func(request)
File
"/usr/local/lib/python2.7/dist-packages/restish-0.12.1-py2.7.egg/restish/resource.py",
line 212, in <lambda>
return _dispatch(request, match, lambda r: callable(self, r))
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/rest/lists.py",
line 203, in create
mlist = create_list(**validator(request))
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/app/lifecycle.py",
line 84, in create_list
call_name(config.mta.incoming).create(mlist)
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py",
line 73, in create
self.regenerate()
File
"/usr/local/lib/python2.7/dist-packages/mailman-3.0.0b3-py2.7.egg/mailman/mta/postfix.py",
line 108, in regenerate
raise RuntimeError(NL.join(errors))
RuntimeError: command failure: /usr/sbin/postmap
/home/kevin/var/data/postfix_lmtp, 127, Key has expired
command failure: /usr/sbin/postmap /home/kevin/var/data/postfix_domains,
127, Key has expired
can anyone give me some help.
Regards
Kevin
More information about the Mailman-Developers
mailing list