i think it is a problem that ispconfig believe domain-name.net and domainname.net is the same.
No. ISPConfig tests for identical strings, so there must be a MX record somewhere.
If you open the primary DNS record settings for domainname.net and open the records tab. Is there nay record listed in the MX record list?