Fix bug in nullmailer