A friend of mine was making her own fly spray using vinegar, water, and Dawn dish detergent. It seemed to work as well or better than the commercial repellents, at least short term. Of course, if you use it a lot, when the horse gets caught out in the rain, it develops suds . . .
