i created a vps in gcp. I use it mainly as a webserver and installed VestaCP. But i wanted it to work as a mailserver too. I can send but can't receive emails.
I investigated and GCP bloks outbound traffic from port 25 and reccomends using a platform like SendGrid to send emails. I configured exim4 to use SendGrid and it works!
I checked and the MX records are ok and the ports in the server are open. If i try to connect with telnet to my server it works perfectly. What could be my problem? Could it be a configuration in dovecot?