[Dovecot] Denying user won't work as expected

Frank Bonnet f.bonnet at esiee.fr
Tue Jun 28 11:49:39 EEST 2011


On 06/28/2011 02:11 AM, Timo Sirainen wrote:
> On Mon, 2011-06-27 at 09:50 +0200, Frank Bonnet wrote:
>
>> passdb {
>>     driver = ldap
>>     deny = yes
>>
>>     # File contains a list of usernames, one per line
>>     args = /usr/local/etc/dovecot/deny-users
>> }
>>
>> I have tested writting one user (me) in the
>> /usr/local/etc/dovecot/deny-users
> You have driver=ldap there, which means that LDAP tries to read the
> deny-users file as its configuration file.
>
>> and the result is the login is denied for ALL users ...
> I'm surprised that it even starts up..
>
> If replacing driver=ldap with driver=passwd-file doesn't help, show your
> actual dovecot -n output.
>
>

If I do that the denying does not work , I'we written my login in

/usr/local/etc/dovecot/deny-users and I am still able to log in ( after restarting dovecot of course )
see attached the dovecot -n output

Thanks


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dvct.txt
URL: <http://dovecot.org/pipermail/dovecot/attachments/20110628/bef20b29/attachment-0001.txt>


More information about the dovecot mailing list