[imp] "alternate identities" or domains with IMP?

Gary Smith gary at primeexalia.com
Thu Aug 28 14:16:22 PDT 2003


I have this in my imp/config/servers.php file and it works well for us.
 
//$servers['imap'] = array(
//    'name' => $domain,
//    'server' => 'localhost',
//    'protocol' => 'imap',
//    'port' => 143,
//    'folders' => 'mail/',
//    'namespace' => '',
//    'maildomain' => 'gw.primeexalia.com',
//    'smtphost' => '',
//    'realm' => '',
//    'preferred' => $domain
//);
$domain=preg_replace("/(\w+)\.([\w\-]+)\.(\w+)\:*.*/","\\2.\\3",$GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME' <file://\\2.\\3",$GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'> ]);
$servers['imap'] = array(
        'name' => "Web Mail",
        'server' => 'localhost',
        'protocol' => 'imap',
        'port' => 143,
        'folders' => 'mail/',
        'namespace' => '',
        'maildomain' => $domain,
        'realm' => '',
        'preferred' => "webmail.$domain"
);

Gary Smith

	-----Original Message----- 
	From: Mark McWiggins [mailto:mark at IcanFixYourEmail.com] 
	Sent: Thu 8/28/2003 2:10 PM 
	To: imp at lists.horde.org 
	Cc: 
	Subject: [imp] "alternate identities" or domains with IMP?
	
	

	I just installed IMP on a server on which mail runs for
	several different domains, and naturally those other domain
	users would like their domains to be attached to outgoing email,
	not just 'IcanFixYourEmail.com'.
	
	I looked through the IMP menus but don't see how to do this; any
	ideas?
	
	--
	Mark McWiggins
	mark at IcanFixYourEmail.com
	425-369-8286 (voice)
	206-664-4028 (days thru 8/29)
	
	--
	IMP mailing list
	Frequently Asked Questions: http://horde.org/faq/
	To unsubscribe, mail: imp-unsubscribe at lists.horde.org
	



More information about the imp mailing list