Check the spamlist's content format earlier

Change-Id: Id169ae5afe0c67c37e76c5a841149f2c8a4837b4
Merge "Check the spamlist's content format earlier"