From: <din...@fr...> - 2007-07-30 08:20:30
|
On 7/30/07, Horia Olaru <hor...@un...> wrote: > > Thank you for the information. Just to be sure I got it clearly. I want t= o > use pop3 and imap from the driver level and want to use SASL. Let's take = the > pop3 (because imap is analogous from what I've seen): > > pop3_mailstorage_init calls pop3_mailstorage_init_sasl with NULL argumen= ts > for sasl authentication and thus falls back to plaintext. In order to use > SASL authentication I should call pop3_mailstorage_init_sasl direcly > providing the argumets for the SASL authentication myself. Am I correct i= n > assuming this? If so, then it should be the same for imap. > > Also, you said that, in terms of SASL, libetpan supports whatever Cyrus-S= ASL > supports. In the pop3driver_types.h as well as in imapdriver_types.h at > driver level, there are two enums with POP3_AUTH_TYPE_ and respectively > IMAP_AUTH_TYPE_ which contain varous types of SASL authentication. Those are deprecated. I should document this in the headers. Use plain text or whatever value. That was there before really implementing SASL. > I would > like to point out to you that among these types there is none correspondi= ng > NTLM which according to the Cyrus-SASL website is supported by their > library. This is just one example and there may also be various other > supporte authentication types I have not mentioned here that are not > included in the enums. From what I can tell, either I am not using the > correct enums for auth types or these need revising. Of course I am talki= ng > strictly of the version of libetpan 0.49 and in more recent source files, > this may not be the case. You have to use a string to describe SASL authentication mechanism. --=20 DINH Vi=EAt Ho=E0 |