smtp: fix e-mail receive.
(cherry picked from commit 9dab5d2c318c526545346eb70e30653da750621e)