Fix domain resolution in mail receiver.