remote smtp with all php mail()

I got apache+php (linux) webserver and I use sendmail to send emails by mail() command... I want that everybody using mail() send email not by local smtp but remote one. This relay should not be visible in source of email. How can I do it? Tunneling port 25 isint solution for this right? - because php calls sendmail as set in php.ini. Does anyone have some good advice on this topic?

 

 

 

 

Top