I have problem with php mail function.
First, i need to tell how it looks on my server.
We have got, public ip, attached to our security server, next port-s are attached to our servers.
For example, port 80 are redirected to (192.xxx.20) www server working on virtualmin.
or port 110 / 25 are redirected to (192.xxx.60) mail server.
We have domain, for example xxx.com
I have got problem with mail send by www server.
Many scripts use standard mail funcion, but we have problem, becous our REAL public MAIL SERVER, are not on this same machine like www server
Maybye its possible, to modificate linux, for something like this:
mail send by phpmail, is taken by linux, next linux open connection to 192.xxx.60 ( our mail sercer), authorize by SMTP, and send email, like authorized user using our public mail server.
Now when i’m sending mail by php, on the mail data i’m getting something like this:
This is local mail server by www server
I need to put there our mail server.