Univention Bugzilla – Attachment 3761 Details for
Bug 24449
[Cyrus] Anmeldung mit UID nicht über loopback möglich.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Skript zum Testen von IMAP-Servern
imaptest.py (text/plain), 898 bytes, created by
Janek Walkenhorst
on 2011-11-08 16:04:17 CET
(
hide
)
Description:
Skript zum Testen von IMAP-Servern
Filename:
MIME Type:
Creator:
Janek Walkenhorst
Created:
2011-11-08 16:04:17 CET
Size:
898 bytes
patch
obsolete
>#!/usr/bin/python ># -*- coding: utf-8 -*- > >import imaplib >import sys > >def test(target, username, password): > for IMAP in (imaplib.IMAP4, imaplib.IMAP4_SSL, ): > imap = IMAP(target) > result = imap.login(username, password) > if result[0] == 'OK': > result = imap.select() > if result[0] == 'OK': > result = imap.search(None, 'ALL') > if result[0] == 'OK': > result = imap.close() > if result[0] == 'OK': > result = imap.logout() > if result[0] == 'BYE': > print 'OK', IMAP, target > else: > print 'FAILED', IMAP, target, result > else: > print 'FAILED', IMAP, target, result > else: > print 'FAILED', IMAP, target, result > else: > print 'FAILED', IMAP, target, result > else: > print 'FAILED', IMAP, target, result > >if __name__ == "__main__": > (username, password, ) = sys.argv[1:3] > for target in sys.argv[3:]: > test(target, username, password)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 24449
: 3761