docker-mailserver icon indicating copy to clipboard operation
docker-mailserver copied to clipboard

Cann't send to gmail

Open nhcka opened this issue 5 years ago • 3 comments

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?

nhcka avatar Oct 29 '20 17:10 nhcka

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

jeboehm avatar Nov 17 '20 16:11 jeboehm

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

kiko0217 avatar Mar 31 '21 21:03 kiko0217

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

TopTuK avatar May 27 '22 19:05 TopTuK