code: def list(gandi, domain, limit):
      
      options = {'items_per_page': limit}
      result = gandi.forward.list(domain, options)
      for forward in result:
          output_forward(gandi, domain, forward)
      return result
docs: List mail forwards for a domain.