mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-29 17:22:20 +00:00
doh
This commit is contained in:
@@ -119,7 +119,7 @@ def test_managesieve(server, username, password):
|
|||||||
except managesieve.MANAGESIEVE.abort:
|
except managesieve.MANAGESIEVE.abort:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
m=managesieve.MANAGESIEVE(server, use_tls=True)
|
m=managesieve.MANAGESIEVE(server, use_tls=True, tls_verify=False)
|
||||||
if m.login('', username, 'wrongpass') != 'NO':
|
if m.login('', username, 'wrongpass') != 'NO':
|
||||||
print(f'Authenticating to sieve://{username}:{password}@{server}:4190/ with wrong creds has worked!')
|
print(f'Authenticating to sieve://{username}:{password}@{server}:4190/ with wrong creds has worked!')
|
||||||
sys.exit(108)
|
sys.exit(108)
|
||||||
|
|||||||
Reference in New Issue
Block a user