jeboehm / docker-mailserver

Docker Mailserver based on the famous ISPMail guide
MIT License
356 stars 93 forks source link

Cann't send to gmail #112

Open nhcka opened 3 years ago

nhcka commented 3 years ago

I setup mail server on google cloud using VM Instance. I can receive mail from gmail, but can not send to it.

Error:

Diagnostic-Code: X-Postfix; connect to alt4.gmail-smtp-in.l.google.com[173.194.209.26]:25: Operation timed out

Because Google blocks outgoing port 25. How do I change to port 587 to send mail?

jeboehm commented 3 years ago

Hi, most services won't accept incoming mails on port 587. Please have a look on https://cloud.google.com/compute/docs/tutorials/sending-mail

kiko0217 commented 3 years ago

hi, can explain clearly?, i get same problem.

TopTuK commented 2 years ago

Hi colleagues! I have same issue: can't send via 25 port. Plz advise me what to do?