Ok, Now that I got my slowness problem resolved, I have yet another. I'm using IMP for authentication, and it's authenticating via IMAP. If I login with [email protected] it works fine, but I want to be able to just login with username. Squirrelmail had a plugin to do this where it grabs the domain from the URL and appends it to the username automatically. I can do the code for this without a problem, however I'm confused on how to implement it, I've been reading up on hooks and stuff, but it's still sorta cryptic, I don't know what to use for what and where, if you know what I mean.
I turned on the vinfo hook in imp and modified it to suit my needs, so it displays properly the @domain.com after the username box, but I think that's all it does, it doesn't actually append that on to the username that you enter, so that it can sucessfully login via IMAP. I looked at and fiddled around with the username_hook_tobackend and frombackend hooks, but couldn't get anything to do anything for me. What's the best way to accomplish this? Thanks, -- Wayne Catterton CCNA Network Engineer Scappoose, OR -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
