Email server (receive or compose)

Frist i am new and don’t know much…
I can’t figure out how to configure the mail server right.
I can’t receive or compose a mail.
My dns is similar to what in the documentation.
I add an port forward in my modem for ports(TCP): 22, 25, 53, 443(also UDP), 465, 993, 5222, 5269, 5290.
Is it ok?
I need to do that also on my router? (the server connected to the router that connected to the modem)
There somthing that i mssing?

thanks

Hi guy,

You also need to forward ports towards your server on your router.
You are welcome.