Re: How could I use DIGEST-MD5 and GSSAPI auth mechanism in POP3 and IMAP to get mail?
"DINH Viêt Hoà" <[email protected]> Thu, 13 Mar 2008 13:14:14 +0100
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 13, 2008 at 10:41 AM, <[email protected]> wrote: > Hi, libetpan guys > > My OS is ubuntu7.10 > > and in /usr/lib/sasl2/ > > there are some sasl plug-in libraries: > libanonymous.a libcrammd5.so.2 libgssapiv2.la > liblogin.so.2.0.22 libplain.so > libanonymous.la libcrammd5.so.2.0.22 libgssapiv2.so > libntlm.a libplain.so.2 > libanonymous.so libdigestmd5.a libgssapiv2.so.2 > libntlm.la libplain.so.2.0.22 > libanonymous.so.2 libdigestmd5.la libgssapiv2.so.2.0.22 > libntlm.so libsasldb.a > libanonymous.so.2.0.22 libdigestmd5.so liblogin.a > libntlm.so.2 libsasldb.la > libcrammd5.a libdigestmd5.so.2 liblogin.la > libntlm.so.2.0.22 libsasldb.so > libcrammd5.la libdigestmd5.so.2.0.22 liblogin.so > libplain.a libsasldb.so.2 > libcrammd5.so libgssapiv2.a liblogin.so.2 > libplain.la libsasldb.so.2.0.22 > > but when I set DIGEST-MD5 to pop3_mailstorage_init_sasl(), > imap_mailstorage_init_sasl() > and call mailfolder_connect() > It always return error > > I add printf message in mailpop3_auth() of mailpop3.c, mailimap.c > after sasl_client_start() > It return SASL_NOMECH(-4) indicate "mechanism not supported" > It is the same error situation while I set GSSAPI > ======================================================================= > BUT when I use DIGEST-MD5 to send mail via SMTP > It is OK Hello, could you try the low-level API of POP3 and IMAP ? The problem you are describing is strange. mailimap_authenticate() Could you also show your code sniplet ? Best Regards, -- DINH Viêt Hoà ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/