a parser for mail logs