Score:0

SASL Authentication - Why is it taking so long to login to the authentication server?

yt flag

I can't describe it properly, but I have a Thunderbird mail client, I use it to receive and send mail through a user I created and an available domain. I use IMAP and POP3 services there, I also have SMTP set up, I have created mail client users in the MySQL database. I have both Postfix and Dovecot set up via the LMTP protocol. I can no longer use the locally created users on my VPS, because I have disabled local users. But I can authenticate these local users even though it says "authentication failed" but it takes a very long time.

My problem is that SMTP login, SASL authentication, Telnet login via IMAP and POP3 services work for me, but as shown in the code below, the login takes some time. Between 10 and 30 seconds and I don't know why. It should do it immediately. I don't understand what could be wrongly set up, since both sending and receiving messages work for me. Only when sending, Thunderbird waits a long time before logging me into the SMPT server.

Sorry for my bad english. English is not my native language.

If you need to see the configuration files, I can add them.

[root@my-private-test-vps ~]# time testsaslauthd -u [email protected] -p myPassword -s smtp
0: OK "Success."

real    0m23.043s
user    0m0.002s
sys     0m0.005s

I tried different settings but nothing helped. I also couldn't find any solution to my problem anywhere on the internet.

user1686 avatar
fr flag
What auth backend are you actually using for saslauthd? (Though, why are you even using Cyrus SASL if you have Dovecot SASL available?)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.