[imp] Question about multi servers

Nuno Silva nuno_silva@websolut.net
Sat, 21 Apr 2001 19:30:25 +0100


You'll have to do a little hacking in the login routine. You'll have to 
make some php function that strips the @domain1.com, removes the @ and 
then set imapServer to the value you want.
AFAIK imp don't do this off the box.

another solution would be perdition (search for perdition on freshmeat.net).

regards,
nuno

Kris von Mach wrote:

> The users do login using user@domain1.com.
> 
> how would I set the imap server to domain1.com's imap server address?
> 
> __
> Kris.
> 
> At 03:45 AM 4/21/2001 +0100, you wrote:
> 
>> Hi,
>> you could instruct your users to login with their email addresses
>> user@domain1.com and then set the imap server to domain1.com's imap 
>> server address:)
>> 
>> regards,
>> Nuno Silva
>> 
>> Kris von Mach wrote:
>> 
>>> I was wondering if anyone has attempted to create multi server 
>>> installation of IMP, running Qmail+Vpopmail+Mysql+Courier-imap or 
>>> something similar.
>>> I would like to setup something similar to what is explained in 
>>> http://www.horde.org/papers/Scalable_webmail_HOWTO.php except that I 
>>> am not running LDAP.
>>> My goal is to go to one url, www.mycompany.com from where virtual 
>>> users, with virtual domain names, can get their email. For example, 
>>> joe@domain1.com would live on server1, joe@domain2.com would live on 
>>> server2. The idea is that all of this would be transparent to the 
>>> users. And regardless on what server their domain/user lives on, they 
>>> can get their email from the same one location, www.mycompany.com. I 
>>> would also expect to have around 200 domains per server.
>>> The only way I could think of making this work across multiple 
>>> servers is if every user goes to for example mail.domain1.com to 
>>> receive email for domain1.com, and mail.domain2.com to receive mail 
>>> for domain2.com Or to have a drop down menu with 20 different imap 
>>> servers... I know that imp has a preference option that would 
>>> remember what imap server the user picked, but that wouldn't be 
>>> "transparent", and would mean extra work for the end-users.
>>> Any pointers, tips, examples, would be greatly appreciated :)
>>> Thanks!
>>> __
>>> Kris.
>> 
>> 
>> 
>> -- 
>> IMP mailing list: http://horde.org/imp/
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>>