[Dovecot] imap: Error: net_connect_unix(/.../auth-master) failed: Invalid argument

Timo Sirainen tss at iki.fi
Tue Jan 8 03:20:15 EET 2013


On Sat, 2013-01-05 at 21:51 +0100, Joan Picanyol i Puig wrote:

> I'm unable to get past the subject error trying to setup dovecot 2.1.10
> on FreeBSD 6.4: right after login the server closes the connection
> (testing with telnet)

I think this is the reason:

	if (i_strocpy(sa.un.sun_path, path, sizeof(sa.un.sun_path)) < 0) {
		/* too long path */
		errno = EINVAL;

Your path is longer than possible. This patch should make it clearer in
future: http://hg.dovecot.org/dovecot-2.1/rev/e4cc3f2b66e3





More information about the dovecot mailing list