Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Convert exim passhash ?

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
ozgurerdogan
Posts: 27
Joined: Thu Aug 13, 2015 3:53 pm

Os: CentOS 5x
Web: apache
Convert exim passhash ?
  • Quote

Post by ozgurerdogan » Mon Jul 15, 2019 9:03 am

I need to convert password schemes in passwd file from MD5-CRYPT to SHA512-CRYPT. Is there a way from vestapanel side? Or can I simply follow https://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Convert exim passhash ?
  • Quote

Post by grayfolk » Mon Jul 15, 2019 10:54 am

ozgurerdogan wrote: ↑
Mon Jul 15, 2019 9:03 am
I need to convert password schemes in passwd file from MD5-CRYPT to SHA512-CRYPT. Is there a way from vestapanel side? Or can I simply follow https://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes
VestaCP just control some configs. You should follow official Exim instructions.
Top

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: Convert exim passhash ?
  • Quote

Post by dreiggy » Mon Jul 29, 2019 7:50 pm

As I see vesta is generating password with md5 crypt. So it is hardcoded ;)

File: /usr/local/vesta/bin/v-add-mail-account

Code: Select all

# Generating hashed password
salt=$(generate_password "$PW_MATRIX" "8")
md5="{MD5}$($BIN/v-generate-password-hash md5 $salt <<<$password)"
I beleve, that you may change this part in files:
v-add-mail-account
v-change-mail-account-password

But I don't recommend to this, because updates can break this changes ;)
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password