Meisam Navaki
2011-Jun-28 07:37 UTC
[Dovecot] Dovecot communication with sasl in dovecot source code
Hi all, I'm reading dovecot source codes(2.0.13),and I need to know how dovecot communicate with sasl? I traced the source code from cmd_login function,and found out something about sasl_callback. but i never found where this function called and also I couldn't understand how sasl inform the dovecot from authentication result. I'll be thankful if someone could help me out.
Timo Sirainen
2011-Jun-30 05:38 UTC
[Dovecot] Dovecot communication with sasl in dovecot source code
On Tue, 2011-06-28 at 12:07 +0430, Meisam Navaki wrote:> Hi all, > I'm reading dovecot source codes(2.0.13),and I need to know how dovecot > communicate with sasl?For what purpose? Dovecot's login process communicates with auth process via http://wiki2.dovecot.org/Design/AuthProtocol> I traced the source code from cmd_login function,and found out something > about sasl_callback. > but i never found where this function called and also I couldn't understand > how sasl inform the dovecot from authentication result. > I'll be thankful if someone could help me out.The code is a bit tricky jumping all around.. I can help more if you tell me what it is that you actually want to do.