'Create and return a L{NewsShelf} instance configured to require
moderation.'

def getStorage(self, groups, moderators, mailhost, sender):

    storageFilename = self.mktemp()
    shelf = NewsShelf(mailhost, storageFilename, sender)
    for name in groups:
        shelf.addGroup(name, 'm')
        for address in moderators.get(name, []):
            shelf.addModerator(name, address)
    shelf.sendmail = self.sendmail
    return shelf
