The main culprit for greasy doughnuts is oil that's too cool. Use a deep-fry thermometer to make sure your oil is at the right temp and frying in small batches will help. I also recommend placing the doughnuts on a paper towel-lined plate briefly before transferring them to a wire cooling rack.