Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Mailbox Error #220

Closed
Tortschi opened this issue Jan 6, 2017 · 3 comments
Closed

Create Mailbox Error #220

Tortschi opened this issue Jan 6, 2017 · 3 comments

Comments

@Tortschi
Copy link

Tortschi commented Jan 6, 2017

ViMbAdmin_Exception

File
/srv/vimbadmin/library/ViMbAdmin/Dovecot.php
Line
57
Message
Error executing Dovecot password command: /usr/bin/doveadm pw -s 'SHA512-CRYPT' -u '[email protected]' -p 'qYMfWjBmAvBHF19rO2RkCqqf'
Code
0

Trace

#0 /srv/vimbadmin/vendor/opensolutions/oss-framework/src/OSS/Auth/Password.php(97): ViMbAdmin_Dovecot::password('SHA512-CRYPT', 'qYMfWjBmAvBHF19...', 'b.binder@vloggs...')
#1 /srv/vimbadmin/application/controllers/MailboxController.php(317): OSS_Auth_Password::hash('qYMfWjBmAvBHF19...', Array)
#2 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): MailboxController->addAction()
#3 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('addAction')
#4 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#5 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#6 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#7 /srv/vimbadmin/public/index.php(34): Zend_Application->run()
#8 {main}

Whats wrong? Hope anyone can help me.

@stephtr
Copy link

stephtr commented Jan 7, 2017

I also received that error even though the command itself can be executed fine (and returns the crypted password).
An alternative is to use PHP's SHA512 in application.ini:
defaults.mailbox.password_scheme = "crypt:sha512"

@ghost
Copy link

ghost commented Feb 1, 2017

Same here, dovecot seemed to hash sha512 and sha256 fine through the command line but didn't work through vimbadmin. Any ways thanks @stephtr your workaround worked for me.

@barryo
Copy link
Member

barryo commented May 16, 2020

Linking to #178 where this can be addressed.

@barryo barryo closed this as completed May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants