Stop providing hostname for helo in smtp gateway (#4335).
Only try to fetch keys for multipart signed or encrypted messages when fetching mail (#4671).
Fix tests and bug introduced in 541bd8aec1f67834c42bc2e5df14c1f73c569082.
Merge remote-tracking branch 'refs/remotes/drebs/feature/4335_4671' into develop