0

Is IPC command vmail usable?

Zerobscure 10 месяцев назад обновлен 10 месяцев назад 0

Ive been trying to configure the mail password reset trough courierpassd and succeded now the problem is that when I create a new mail account ajenti rewrites the password with the one that is saved in the mail.json archive.

Searching Ive found the ajenti-ipc vmail command but I cannot get it to work, it gives me a 500 Internal Server Error with this error in the ajenti log:

2019-05-29 14:22:42,616 INFO ipc.ipc_application(): IPC: vmail ['apply']
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gevent/pywsgi.py", line 884, in handle_one_response
self.run_application()
File "/usr/lib/python2.7/dist-packages/gevent/pywsgi.py", line 871, in run_application
self.process_result()
File "/usr/lib/python2.7/dist-packages/gevent/pywsgi.py", line 860, in process_result
for data in self.result:
TypeError: 'NoneType' object is not iterable
{'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT_ENCODING': 'identity',
'HTTP_HOST': 'localhost',
'PATH_INFO': 'vmail/YXBwbHk=',
'QUERY_STRING': '',
'REMOTE_ADDR': 'ipc',
'REMOTE_PORT': '0',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': '',
'SERVER_PORT': '',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'gevent/1.1 Python/2.7',
'wsgi.errors': ', mode 'w' at 0x7fb6c88051e0>,
'wsgi.input': ,
'wsgi.multiprocess': False,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)} failed with TypeError

, but using the command ajenti-ipc v returns me a 200OK status. 

I was messing with the ipc.py file in /var/lib/ajenti/plugins/vh to see if the command vmail exists but is not there and I was trying to see if I could find it in others files to no avail.

So my question is if this command is still usable or not, because I have another installation of ajenti and the command doesn't work in there too.

My Ajenti version is v1.2.23.13 by the way.

Thank you in Advance

Сервис поддержки клиентов работает на платформе UserEcho