Configure postfix on ubuntu server 16.04. issue to receive email


#1

Hi Scaleway community :relaxed: !

I installed and configured an ubuntu server for a web application in java. I wanted to install postfix on this server to use emails like user@mydomain.com on my web application.

Everything works fine with postfix to send and receive emails between users on my domain. I can also send emails to my gmail address but I can’t receive an email from my gmail address.

I did some test and know that the issue is with my MX record, I probably don’t use the good target.
I don’t really know how I can find or set the good target like email.serversecure.net etc…
My domain name is registred with godaddy. The domain name is already pointed to my ubuntu server and everything works fine, the issue is only for incoming emails.

Is there anyone who ever did that and could give me some help there ? I am not really good in network and ubuntu setting. And by the way I am sorry too for my english.

######### EDIT ###########
Like I thought, the issue was with my MX record, I solved the problem.