[imp] VPOPMAIL + IMP + DOMAINS
Atif Ghaffar
aghaffar@developer.ch
Sun, 28 Jan 2001 23:38:14 +0100
Atif Ghaffar wrote:
> in your defaults.php3 set the following.
> $default->from_server = preg_replace("/(\w+)\.([\w\-]+)\.(\w+)\:*.*/",
> "\\2.\\3", $HTTP_SERVER_VARS['SERVER_NAME']);
Sorry, this will not work with php3.
Please replace this with
$default->from_server = preg_replace("/mail\./", '', $SERVER_NAME);
--
Atif Ghaffar
Internet Development Manager
4unet AG/SA
-------------------------.
+41 78 787 51 45 ¦ voice
+41 24 441 09 03 ¦ fax
http://www.4unet.net ¦ www
http://atif.developer.ch ¦ homepage
atif.ghaffar@4unet.net ¦ email
Do you speak Unix?