Perhaps this strict constraint isn't the perfect solution to the
problem, but it sure has stopped a few root holes. One day we'll
rewrite it better: allow longer lengths, but check in lots of places.
(However a current benefit of this scheme is that the 1023 character
constraint also helps for the YP server case).
This solution saved us from the sendmail overflow in buildfname().