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
_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to