24 Mar
2019
24 Mar
'19
5:35 p.m.
Why authenticating over imap takes so slow?
my saslauthd runs like that
/usr/local/sbin/saslauthd -a rimap -O 127.0.0.1 -n 0 -r
imap server is handled by dovecot of course.
to be sure it's not sendmail i've tried testsaslauthd
testsaslauthd -u wojtek@puchar.net -p mypassword
works but takes 5-10 seconds. server is lightly loaded.
telnet 127.0.0.1 imap responds instantly.
what to check?
seems like saslauthd problem, tried telnetting to imap server and entering login command by hand - works instantly