[email protected]:
> Good morning all.
> 
> I'm facing with a strange problem with PHP sockets and POSTFIX:
> 
> 1)      I have a Postfix machine that runs very well for sending/receiving
> emails to/from outside (via Outlook)
> 
> 2)      I'm working on a CRM software that connect to this Postfix via PHP
> socket_connect function. Well, now:
> 
> a.       all socket connection to this Postfix from a machine outside my
> cloud network, are ok (I can connect and interact with smtp)
> 
> b.      when try to connect to Postfix with the same script used in 1) but
> installed on a machine on the "same cloud network". I obtain a Tiimeout
> error from PHP socket_connect.
> 
> 3)      When "telnet-ting" this Postfix on port 25, is all OK from outside
> and from inside cloud network, that is: I can connect via telnet to smtp
> also from the machine in (b)
> 
> Any idea why ? Here below my MAIN.CF file

Look in your logs.
http://www.postfix.org/DEBUG_README.html#logging

Look with a network sniffer. 
http://www.postfix.org/DEBUG_README.html#sniffer

If there is nothing, then nothing is connecting to Postfix and the
timeout problem is elsewhere. If there is something, then Postfix
will log where the connection fails.

        Wietse

Reply via email to