This change allows for users to add ".domain.com" entries in the hosteddomains file. Given a hostname "some.funky.domain.com", this patch adds checks for ".funky.domain.com", ".domain.com", and ".com", in that order. Are you willing to add this into the main branch?
There's a problem with this approach. Someone specifying a recipient address of "[EMAIL PROTECTED]", with sufficient intensity, can cause a DDOS attack. Although DB lookups are relatively fast, this is still something that cannot be ignored.
pgp00000.pgp
Description: PGP signature
