Hi all Sorry guys the problem was not imp actually, the problem was cyrus stripping of the domain part before passing the auth request to saslauthd then onto pam_mysql. A complicated chain of events but i have managed to fix it after lots of stracing.
Thanks all of you that gave me pointers On 2/12/08, Anant Athavale <[EMAIL PROTECTED]> wrote: > Set the realm parameter to your domain name. This will append your > domain to user id. > > > > ----- Message from [EMAIL PROTECTED] --------- > Date: Tue, 12 Feb 2008 09:02:47 +0200 > From: andrew colin <[EMAIL PROTECTED]> > Reply-To: andrew colin <[EMAIL PROTECTED]> > Subject: Re: [imp] full email address login > To: Michael Rubinsky <[EMAIL PROTECTED]> > Cc: [email protected] > > > > On 2/12/08, Michael Rubinsky <[EMAIL PROTECTED]> wrote: > >> Quoting andrew colin <[EMAIL PROTECTED]>: > >> > >> > Hi all > >> > > >> > I have setup imp to use horde authentication against a mysql database > >> > the usernames are in the format [EMAIL PROTECTED] However when imp > >> > connects to the imap server it is stripping off the domain part > >> > causing the login to fail. > >> > > >> > How do i configure imp such that it sends the username in [EMAIL > >> > PROTECTED] > >> > format to the imap server > >> > >> Read imp/config/servers.php.dist and set hordeauth parameter to 'full' > >> > >> > >> > >> Thanks, > >> mike > >> > >> -- > >> The Horde Project (www.horde.org) > >> [EMAIL PROTECTED] > >> > >> "Time just hates me. That's why it made me an adult." - Josh Joplin > >> > >> -- > >> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp > >> Frequently Asked Questions: http://horde.org/faq/ > >> To unsubscribe, mail: [EMAIL PROTECTED] > >> > >> > >> > > > > Hi > > > > Thanks Michael, for your quick response, i have changed that option > > but imp is still stripping the domain part away here is my server.php > > entry. > > > > $servers['cyrus'] = array( > > 'name' => 'localserver', > > 'server' => 'localhost', > > 'hordeauth' => 'full', > > 'protocol' => 'imap/notls', > > 'port' => 143, > > 'maildomain' => '', > > 'smtphost' => 'localhost', > > 'smtpport' => 25, > > 'realm' => '', > > 'preferred' => '', > > 'admin' => array( > > 'params' => array( > > 'login' => 'cyrus', > > 'password' => '', > > 'userhierarchy' => 'user.', > > 'protocol' => 'imap/notls', > > 'hostspec' => 'localhost', > > 'port' => 143 > > ) > > ), > > 'quota' => array( > > 'driver' => 'cyrus', > > 'params' => array(), > > ), > > 'acl' => array( > > 'driver' => 'rfc2086', > > ), > > ); > > > > I even restarted httpd because i thought some kind of caching is > > taking place but there is no change. > > > > Thanks again. > > Andrew > > -- > > IMP mailing list - Join the hunt: http://horde.org/bounties/#imp > > Frequently Asked Questions: http://horde.org/faq/ > > To unsubscribe, mail: [EMAIL PROTECTED] > > > > > ----- End message from [EMAIL PROTECTED] ----- > > > > Regards, > > Anant Athavale. > -- > IMP mailing list - Join the hunt: http://horde.org/bounties/#imp > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: [EMAIL PROTECTED] > -- "Dru" To follow the path, look to the master, follow the master, walk with the master, see through the master, become the master. (zen) -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED]
