On 7/19/2016 4:10 PM, markus79 wrote: > Thanks for the help. I have servers in Google Cloud. They block outgoing mail > on 25, 465, and 587. > > https://cloud.google.com/compute/docs/tutorials/sending-mail/ >
You'll need a relayhost that accepts your mail on a non-standard port, and then relays the mail to its final destination for you. Because of the blocked ports, you cannot send mail without using an external relayhost that agrees to accept your mail by prior arrangement. The postfix config you need is # main.cf relayhost = [external.host.name]:5877 http://www.postfix.org/postconf.5.html#relayhost The google tutorial you referenced above suggests some services you can use for a relayhost. -- Noel Jones