auth_dovecot timeout for SMTP

Issue #93 resolved
Former user created an issue

Hello and thank you for this great product.

I've been using Poste.io for a week and I noticed that during high traffic hours the qsmtpd plugin that connects to dovecot times out:

/var/log/supervisor/qpsmtpd-forkserver-stdout---supervisor-OXabua.log:1451384:10185 FATAL PLUGIN ERROR [auth::auth_dovecot]:  Timed out while waiting for response at ./plugins/auth/auth_dovecot line 114, <STDIN> line 4.

What I did was to modify the timeout period from 5 to 30 on the plugin code and that seemed to have fixed the issue.

Is there a way for me to find out why is taking so long to make the authentication?

Comments (3)

  1. SH repo owner

    I suspect that this is security feature of dovecot (http://wiki2.dovecot.org/Authentication/Penalty) which is applied to unix socket too, but i am seeing this error only with invalid logins. You see this error with valid connections?

    Beside dovecot auth socket, there is another plugin which can slow down sending, its earlytalker you can try comment it at /opt/qpsmtpd/config/plugins. (I'll solve this in next update with karma tight to ip address)

  2. Log in to comment