Parse newsgroup name and message IDs.