Allow domains to end with a '.'

While this syntax is illegal in the Internet Message syntax for
addresses, some software assumes that it is legal since it is
valid for Fully Qualified Domain Names in other internet standards.