Reduce the domain to its registrable (eTLD+1) form before analysis, e.g. mail.sub.example.co.uk becomes example.co.uk.
mail.sub.example.co.uk
example.co.uk