my php scripts usually send mail with users data to a mailbox on my own domain. So, the question is: does the mail go out from my server or it goes directly from apache to mail server? Does it pass trough ISP, DNS, etc?
Thank you very very much
In the header:
Received: (qmail 11910 invoked by uid 10001); 26 Mar 2012 23:59:23 +0200
Yes, it goes trough DNS but the address IP is on the server so it a sort of loopback. However, it go to the router first and goes back. Maybe Apache / PHP has a sort of something to prevent this but a regular TCP/IP connection will do that.