Exim4 and DDNS

Dear mates,

Does anyone know how I can configure the Exim4 on my Debian Linux server if I have a DDNS? I would like it to be a mail server(MTA) that I can send and receive mails from directly.

Thank you so much for help.
Best regards,
Eric