Put a pot of salted water on the stove. Once boiling add the macaroni. Boil according to packet directions.
In the meantime, chop the pickles and ham into small cubes.
Once the macaroni are boiled, strain them, add the ham, pickles and mixture of yoghurt and mayo to them.
Stir well and add salt if needed.