1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-23 02:04:46 +02:00

[Dovecot] fix wrong lua syntax

This commit is contained in:
FreddleSpl0it 2023-04-04 10:47:29 +02:00 committed by DerLinkman
parent c6a56e0748
commit 5bbb12b53e
No known key found for this signature in database
GPG Key ID: F109FD97469550A2

View File

@ -174,7 +174,7 @@ function auth_password_verify(request, password)
if request.service == "smtp" or request.service == "imap" or request.service == "sieve" or request.service == "pop3" then if request.service == "smtp" or request.service == "imap" or request.service == "sieve" or request.service == "pop3" then
skip_sasl_log = true skip_sasl_log = true
req.protocol = {} req.protocol = {}
if tostring(req.real_rip) != "__IPV4_SOGO__" then if tostring(req.real_rip) ~= "__IPV4_SOGO__" then
skip_sasl_log = false skip_sasl_log = false
req.protocol[request.service] = true req.protocol[request.service] = true
end end