diff --git a/core/admin/mailu/internal/nginx.py b/core/admin/mailu/internal/nginx.py index 84ee8596..cb6bc9cb 100644 --- a/core/admin/mailu/internal/nginx.py +++ b/core/admin/mailu/internal/nginx.py @@ -51,7 +51,7 @@ def handle_authentication(headers): status = False elif protocol == "pop3" and not user.enable_pop: status = False - if status: + if status and user.enabled: return { "Auth-Status": "OK", "Auth-Server": server,