mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-11-28 08:52:00 +02:00
[Dovecot] Drop logs
This commit is contained in:
parent
ff53dd58fb
commit
4715245697
@ -115,7 +115,6 @@ EOF
|
||||
cat <<EOF > /var/lib/dovecot/app-passdb.lua
|
||||
function auth_password_verify(req, pass)
|
||||
if req.domain == nil then
|
||||
req.log_info(req, "Domain cannot be empty")
|
||||
return dovecot.auth.PASSDB_RESULT_USER_UNKNOWN, "No such user"
|
||||
end
|
||||
local cur,errorString = con:execute(string.format([[SELECT mailbox, password FROM app_passwd
|
||||
@ -125,7 +124,6 @@ function auth_password_verify(req, pass)
|
||||
local row = cur:fetch ({}, "a")
|
||||
while row do
|
||||
if req.password_verify(req, row.password, pass) == 1 then
|
||||
req.log_info(req, string.format("User %s logged in with app password", row.mailbox))
|
||||
cur:close()
|
||||
return dovecot.auth.PASSDB_RESULT_OK, "password=" .. pass
|
||||
end
|
||||
|
@ -172,7 +172,7 @@ services:
|
||||
- sogo
|
||||
|
||||
dovecot-mailcow:
|
||||
image: mailcow/dovecot:1.101
|
||||
image: mailcow/dovecot:1.102
|
||||
depends_on:
|
||||
- mysql-mailcow
|
||||
dns:
|
||||
|
Loading…
Reference in New Issue
Block a user