On 10/9/2017 3:52 AM, Toufik SARNI wrote:
> Hello
> 
> I installed gitlab in a virtual machine upon ubuntu 16.04 server.
> This virtual machine is behind my *compagny's proxy.* 
> Postfix is called by gitlab but can not send emails because of
> *proxy -* fails with timeout. I tried many options like
> "proxy_interfaces" in /etc/postfix/main.cf <http://main.cf> but none
> of them works.
> Please note that this virtual machine works correctely at home where
> I have not proxy and all emails are sent. 

Timeouts while sending mail are almost always a firewall or network
issue.

Test outgoing connections with "telnet destination 25" where
"destination" is the host postfix is trying to connect to.  If you
get timeouts, check your network and firewall settings, or perhaps
the proxy does not allow outgoing SMTP connections.

If telnet gives a "220 ..." greeting and you need more help with
postfix, please see
http://www.postfix.org/DEBUG_README.html
and particularly
http://www.postfix.org/DEBUG_README.html#mail

Reply via email to