Fix bug #3120, "Error - file is empty" when redirecting a mail with