> So qpsmtpd is wrong to say it can't parse a single character sub-domain?


Yes.

It's before 9am, and I'm still groggy, but I think this regexp is the
issue.

    my $subdomain = '(?:[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9]))';

I think what we want is this:

    my $subdomain = '(?:[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?)';

(in Qpsmtpd::Address::canonify() )

-R






Reply via email to