Dne 28.8.2015 v 11:07 Steffen Kaiser napsal(a):
On Fri, 28 Aug 2015, Miloslav Hůla wrote:
Dne 28.8.2015 v 9:56 Steffen Kaiser napsal(a):
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:

"the correct way" is to reject messages to non-existant users by the
MTA.

Which one do you use?

We are using Postfix.

Then this link is probably helpful:

http://www.postfix.org/LDAP_README.html

Thank you Steffen, at first, I didn't realized that MTA should reject it.

We can use LDAP only for auth binds for now, but thanks to pointing me out.

Best regards, Miloslav

Reply via email to