[Dovecot] Light "bug" in authtest, sockets path

Andre am at am.cx
Wed Dec 2 19:17:39 EET 2009


Hi to all!
I’ve changed position to client auth socket to enable postfix authentication. The socket is now created in /var/spool/postfix/private/auth.
authtest do not catch up the change. Reading source I’ve seen that path to auth sockets is written explicitly in function authtest_passdb in util/authtest.c to:

    if (auth_socket_path == NULL)
        auth_socket_path = PKG_RUNDIR"/auth-client”;

I know I can launch authtest specifing path to socket, but I think it would be better if authtest would parse dovecot.conf and find out where sockets are. I’ve tried to code it by myself, but I’ve had no time to go deep in the code. Is it possible to have this “feature” added???

TIA
Andrea



More information about the dovecot mailing list