Sam
2016-Aug-24 07:18 UTC
virtual users, mailer daemon send mails to non existant recipient and dovecot store it
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
Aki Tuomi
2016-Aug-24 07:29 UTC
virtual users, mailer daemon send mails to non existant recipient and dovecot store it
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
Aki Tuomi
2016-Aug-24 07:33 UTC
virtual users, mailer daemon send mails to non existant recipient and dovecot store it
You can remove the setting even when using static userdb, this will cause dovecot to perform passdb lookup to verify user. Aki On 24.08.2016 10:29, Aki Tuomi wrote:> 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