The joke is a pun. To say someone's 'deilvery is perfect' is to say that they told a joke very well.  A mailman literally delivers packages, so one could say a good mailman has perfect delivery.
My mailman should be a comedian , his delivery is perfect !