Real and virtual infrared behaviour in Yang-Mills theory