[Dovecot] vpopmail disabled services fix

Timo Sirainen tss at iki.fi
Thu Dec 30 12:04:51 EET 2010

On Mon, 2010-12-27 at 15:04 -0800, Calvin wrote:
> I noticed that disabling services using vpopmail was not being recognized by 
> dovecot.  Using "vmoduser -swip user at domain.com" should disable all services, 
> but both pop and imap logins were still allowed.  After a bit of digging in 
> the code and confirming with a few debug lines, it appears that lines 38 and 
> 52 of src/auth/passdb-vpopmail.c are the issue (dovecot 2.0.8).  These two 
> lines do a strcmp on request->service.  It appears that request->service is in 
> lower case, but the comparison values are in upper case.  Either updating the 
> values to lowercase or using strcasecmp should fix the issue.

Thanks, fixed: http://hg.dovecot.org/dovecot-2.0/rev/9216e5c861ee

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20101230/3bac3536/attachment.bin 

More information about the dovecot mailing list