If you want to install and run a mail server you’ll need to look elsewhere for how to do that. It’s beyond the scope of what’s supported here.
It looks like you’re using wp10750459.mailout.server-he.de as your mail server? So that’s what is accepting your mail and not delivering it. You’ll need to look at the logs there to find out why.
The easy solution is Mailgun or something like it.