You can just remove the allow_all_users setting. Aki
On 24.08.2016 10:18, Sam wrote: > Does it works with pam? Can I set it like this : > > userdb { > driver = pam > args = uid=1001 gid=1001 home=/home/vmail/%Lu allow_all_users=no > } > > Thanks Aki > > Le 24/08/2016 à 08:45, Aki Tuomi a écrit : >> >> On 24.08.2016 09:43, Sam wrote: >>> Hello Aki, >>> here is the output: >>> >>> userdb { >>> args = uid=1001 gid=1001 home=/home/vmail/%Lu allow_all_users=yes >>> driver = static >>> } >> You basically accept all users here, this is why things get delivered. >> If you don't like this, change this to some other userdb, preferably >> same you are using for auth db. >> >> Aki