[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] IP address / sendmail question



Hi all,
This is on a raq4i and totally beyond me!

If I have a virtual site which has a different ip address from the main
server is there a way of configuring sendmail to know that when I send an
email, via a PHP script, that it should use the virtual sites ip address in
the headers instead of the main server ip address?
I can't see any way of feeding this as a variable to sendmail

i.e. currently if I look at the headers I get;

Received: from webserver.diygear.com (webserver.diygear.com
[212.105.190.102])

where in fact I want;

Received: from www.uksub.biz (www.uksub.biz [212.105.190.130])

which will then not screw up a user authentication system on another server
that it sends dedicated mail to!

Phil

** http://www.diygear.com THE Online DIY Toolstore For DIY & Business
** Infolink Electronic Systems Ltd. http://www.infolinkelectronics.co.uk
** Professional Web Design & Cobalt Hosting Solutions
** Sun Cobalt iForce Reseller - Canon Silver Reseller
** Contact: Sales@xxxxxxxxxxxxxxxxxxxxxxxxx
** Tel / Fax 0121 458 4894 (office) 0121 441 3558 (home)