'List mailbox names in directory matching pattern.
(typ, [data]) = <instance>.list(directory=\'""\', pattern=\'*\')
\'data\' is list of LIST responses.'

def list(self, directory='""', pattern='*'):

    name = 'LIST'
    (typ, dat) = self._simple_command(name, directory, pattern)
    return self._untagged_response(typ, dat, name)
