The best and easiest way to keep macaroni from absorbing mayonnaise is to allow the macaroni to cool down and chill the macaroni first after cooking it.
After cooking the macaroni you should chill the macaroni in the fridge for 20 minutes or until cool enough and then add the mayonnaise to the macaroni.
The chilled macaroni will not absorb the mayonnaise like warm or hot macaroni would.
Or at least allow the macaroni to cool off some before adding the mayonnaise to the macaroni and then it should not absorb the mayonnaise as much.
Also tossing the macaroni with some oil such as olive oil can also help prevent the absorbing of the mayonnaise.
Pasta absorbs liquids, because it is made of starch, and starch absorbs water.
Tossing the pasta or macaroni with oil will reduce the absorption of the mayonnaise, by coating them in a water-repellent layer.
Also don't drain as much water from the cooked pasta, and add more dressing.
There's a limit to how much moisture pasta will absorb.