There is an issue open already: HELO "localhost" rejected (smtp and submission port) · Issue #1847 · deltachat/deltachat-core-rust · GitHub
And a related post with a solution, maybe it helps to check if SMTP authentication succeeds:
Normally servers should not require FQDN for authenticated submissions.