[Dovecot] vpopmail disabled services fix

Alessio Cecchi alessio at skye.it
Mon Jan 17 09:30:44 EET 2011


Il 28/12/2010 00:04, Calvin ha scritto:
> 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.
> Calvin

Hi Calvin,

I have the same issue with my vpopmail installation.

Can you share your dovecot.conf file?

What vpopmail version you are running?

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net


More information about the dovecot mailing list