12 Feb
                
                    2012
                
            
            
                12 Feb
                
                '12
                
            
            
            
        
    
                1:24 a.m.
            
        On 09/01/2011 01:17 AM, Spack wrote:
Hi,
It may be useful for testing purpose to know if a generated password hash correspond to a given clear password. This can be useful to check if a hash generated by another program can be verified by Dovecot without any errors.
This patch adds the ability the verify a password hash using
doveadm pwvia the-Voption.
Committed, with a few changes: http://hg.dovecot.org/dovecot-2.1/rev/fffa4d53e901
- while ((ch = getopt(argc, argv, "lp:r:s:u:V::")) != -1) {
 
"::" isn't standard, so I added a separate -t parameter to give the hash.