Set mailhost in the (new) registry to fix test failures; pep8.