Allow delivery to existing accounts only with LDAP and static

Miloslav Hůla miloslav.hula at gmail.com
Thu Aug 27 16:09:13 UTC 2015


Hi,

we are using LDAP binding as a passdb, and static with 
allow_all_users=yes as an userdb.

Works fine, but problem is, Maildirs are created for non-existent 
accounts too. We would like to prevent it.

The LDAP binding does not supporta user lookups. Is the correct way to 
use checkpassword as a passdb before LDAP, check for account existency 
here and:

result_success=continue
result_failure=return-fail

?

Thank you, regards, Miloslav


More information about the dovecot mailing list