1 Feb 2012 21:19
Re: Dynamically selecting an IMAP server for authentication in IMP5
Michael M Slusarz <slusarz <at> horde.org>
2012-02-01 20:19:04 GMT
2012-02-01 20:19:04 GMT
Quoting Arminas <g.arminas <at> gmail.com>: > Hi, > > We're using imap servers for an authentication. I'm trying to implement > automatic imap server selection/detection for authentication, but I wasn't > able to find any tutorial about it for IMP5. An article in > http://wiki.horde.org/ImapSelect seems like is "out of date". So I have > some questions: > > Which application should alter authentication server's string to the right > one - weather the preauthenticate function must be defined in > horde/config/hooks.php, or in horde/imp/config/hooks.php? It depends on if you are using IMAP authentication (Horde) or IMP application authentication (IMP). If your primary usage of the Horde installation is IMP, you should ALWAYS be using IMP application authentication. > If IMP app should > handle this, then what must be done to call this hook function? If I define > simple function > public function preauthenticate($userId, $credentials) { return > false; } > in imp/config/hooks.php, I can see it is never called. No, that should cause any IMP authentication to fail. Which I can verify happens. > Which variables must be set so IMP can know where to try to authenticate?(Continue reading)
RSS Feed