#NEWLINE# def getCollection( self , name , domain , password ) : #NEWLINE# #INDENT# if ( not self . domains . has_key ( domain ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# domain = self . domains [ domain ] #NEWLINE# if ( domain . dbm . has_key ( name ) and ( domain . dbm [ name ] == password ) ) : #NEWLINE# #INDENT# return MaildirCollection ( domain . userDirectory ( name ) )