'Handle a CAPA command.
Respond with the server capabilities.'

def do_CAPA(self):

    self.successResponse('I    can    do    the    following:')
    for cap in self.listCapabilities():
        self.sendLine(cap)
    self.sendLine('.')
