[Dovecot] Drop logs

master
andryyy 2019-12-05 09:30:53 +01:00
parent ff53dd58fb
commit 4715245697
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -172,7 +172,7 @@ services:
- sogo
dovecot-mailcow:
image: mailcow/dovecot:1.101
image: mailcow/dovecot:1.102
depends_on:
- mysql-mailcow
dns: