Am 24.03.2019 um 10:01 schrieb Wojciech Puchar via dovecot:> solved by setting saslauthd to authenticate over imap - through dovecot > server. > testsaslauthd shows it works fine. > > but it seems sendmail strips domain name from entered login.No, it is saslauthd. Check the documention and see the "-r" parameter of saslauthd. Alexander
>> but it seems sendmail strips domain name from entered login. > > No, it is saslauthd. Check the documention and see the "-r" parameter of > saslauthd.found it a minute before reading this e-mail. thank you works fine. almost ;) 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 at 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?
> 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 at 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