Enable mail server in docker installation

i have installed ofn with docker and all is fine!

is it possible to enable the mail server in dockerized version?

ps:
i have installed sendmail and i can send test email as this:
https://kenfavors.com/code/how-to-install-and-configure-sendmail-on-ubuntu/