[imp] Dynamically choosing server via e-mail address in login screen.

Jan Schneider jan at horde.org
Thu Aug 11 13:23:50 PDT 2005


Zitat von MNSi Customer Service - Nicolas MacPherson <nickm at mnsi.net>:

>    This is my first post, and firstly, I'm not versed at all in PHP.
> (though I plan on diving headlong into it shortly)  I've been using IMP
> 3 on my small ISP's site for over a year now with no issues.  My ISP was
> absorbed by another, and the new ISP has asked me to install a new IMP
> server for their mail system.  My issue is that they have 2 servers that
> my standalone IMP setup connects to.  The first only has POP
> connectivity for the time being, (we plan on upgrading it to qmail+IMAP
> soon) and the second server is running QMail+VPopmail+IMAP with over
> 500+ domains on it.  My question is whether or not there is a method of
> IMP choosing which server to connect to by the e-mail address entered
> into the login prompt.  The POP machine only has a single domain, so
> basically it seems like it could be dealt with by a scenario where if
> they type in the singular domain, it uses the POP server, and any other
> domain would attempt to utilize the other.  Or am I totally barking up
> the wrong tree?  Any assistance would be greatly appreciated.  BTW, both
> machines are using IMP 3.2.7.

With IMP 4 you could use a pre_authentication hook, but such an 
automatic selection based on the entered user name is not possible with 
IMP 3 without hacking the code.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list