Fix the SMTP code so it doesn't end up in a hard loop during a DATA