Greetings,
Quick question about smtp and php.
I have a Linux server running Apache/PHP and Postfix as an MTA.
My question is about masq'ing the source address from within PHP
When sending mail from the command line it works fine,
For example, I masq my email as:
domain.com
so when using mail, mailx, mutt, etc… it works fine sourcing from:
we*******@domain.com
But when a form under php sends mail it uses unspecified defaults,
such as:
ap****@servername.domain.com
(this gets rejected by many mail servers because my ‘servername' cant
be resolved)
(PHP/Apache obviously is run by an apache account.)
Unfortunately I don't have access to the php source (its encoded),
however I believe that there is a setting under the php.ini or
httpd.conf that corrects this…
Can someone please point me to a resource that I can look into to find
this out.
Thanks so much for your time in advance….
-------------------------------
Jagger (at) cyclelistings.com
- Free Motorcycle Classifieds
Hands down The best on the Net
http://www.cyclelistings.com
-------------------------------