valid_domain
if (!cur_domain_null() && !valid_domain(domain)) {
extern int valid_domain(const char *);