mail server not working

Hello
I got the following message
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active …

Your Postfix configuration is missing the system’s mail hostname from the mydestination line, which will cause mail to bounce.

How can i fix the above issue.
Thank you

Howdy,

Did you by chance check to see if your systems hostname exists on the mydestination line in your Postfix config?

You can determine your hostname by running the command “hostname” while logged in over SSH.

Your Postfix config file is at /etc/postfix/main.cf.

You’d want to make sure that the result of the command “hostname” exists on the “mydestination” line of your main.cf file. If you make any changes, you’d want to restart Postfix by running “/etc/init.d/postfix restart”.

-Eric