Thanks, but I've set up a server in Google Cloud to use 5877 in the past when 587 was blocked without having to use a relayhost. I just can't access that server now :(
On Tue, Jul 19, 2016 at 5:02 PM, Noel Jones-2 [via Postfix] < ml-node+s1071664n85111...@n5.nabble.com> wrote: > 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 > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://postfix.1071664.n5.nabble.com/Postfix-can-t-send-external-email-tp85073p85111.html > To unsubscribe from Postfix can't send external email, click here > <http://postfix.1071664.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=85073&code=bWFya0BtYXJra251dHNvbi5jb218ODUwNzN8LTE0MjAwOTM3MzU=> > . > NAML > <http://postfix.1071664.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://postfix.1071664.n5.nabble.com/Postfix-can-t-send-external-email-tp85073p85113.html Sent from the Postfix Users mailing list archive at Nabble.com.