mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-01 10:37:49 +00:00
Include error messages for LMTP
These are difficult to debug log messages, when instead of an error message one gets a stack trace with `KeyError: 'lmtp'`
(cherry picked from commit ec1e49d137)
This commit is contained in:
@@ -14,6 +14,7 @@ STATUSES = {
|
|||||||
"imap": "AUTHENTICATIONFAILED",
|
"imap": "AUTHENTICATIONFAILED",
|
||||||
"smtp": "535 5.7.8",
|
"smtp": "535 5.7.8",
|
||||||
"submission": "535 5.7.8",
|
"submission": "535 5.7.8",
|
||||||
|
"lmtp": "535 5.7.8",
|
||||||
"pop3": "-ERR Authentication failed",
|
"pop3": "-ERR Authentication failed",
|
||||||
"sieve": "AuthFailed"
|
"sieve": "AuthFailed"
|
||||||
}),
|
}),
|
||||||
@@ -21,6 +22,7 @@ STATUSES = {
|
|||||||
"imap": "PRIVACYREQUIRED",
|
"imap": "PRIVACYREQUIRED",
|
||||||
"smtp": "530 5.7.0",
|
"smtp": "530 5.7.0",
|
||||||
"submission": "530 5.7.0",
|
"submission": "530 5.7.0",
|
||||||
|
"lmtp": "530 5.7.0",
|
||||||
"pop3": "-ERR Authentication canceled.",
|
"pop3": "-ERR Authentication canceled.",
|
||||||
"sieve": "ENCRYPT-NEEDED"
|
"sieve": "ENCRYPT-NEEDED"
|
||||||
}),
|
}),
|
||||||
@@ -28,6 +30,7 @@ STATUSES = {
|
|||||||
"imap": "LIMIT",
|
"imap": "LIMIT",
|
||||||
"smtp": "451 4.3.2",
|
"smtp": "451 4.3.2",
|
||||||
"submission": "451 4.3.2",
|
"submission": "451 4.3.2",
|
||||||
|
"lmtp": "451 4.3.2",
|
||||||
"pop3": "-ERR [LOGIN-DELAY] Retry later",
|
"pop3": "-ERR [LOGIN-DELAY] Retry later",
|
||||||
"sieve": "AuthFailed"
|
"sieve": "AuthFailed"
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user