Joan Picanyol i Puig
2013-Jan-05 20:51 UTC
[Dovecot] imap: Error: net_connect_unix(/.../auth-master) failed: Invalid argument
Hi, 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've tried manualy chown()ing auth-master to 666, so permission issues should be ruled out. I'm attaching logs, config and excerpt of ktrace -id. I've built a version with debug symbols, but I don't seem to hit a breakpoint in net_connect_unix on lib/network.c What can I look at? tks -- pica -------------- next part -------------- Jan 05 21:15:05 master: Info: Dovecot v2.1.10 starting up Jan 05 21:15:12 auth: Debug: Loading modules from directory: /package/host/spf.biaix.org/foreign/dovecot-2.1.10+spf+2/prefix/lib/dovecot/auth Jan 05 21:15:12 auth: Debug: auth client connected (pid=768) Jan 05 21:15:16 auth: Debug: client in: AUTH 1 PLAIN service=imap secured session=p1QhQZDSuAB/AAAB lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=60856 resp=AHR1MTAAdHUxMA=Jan 05 21:15:16 auth-worker(1011): Debug: Loading modules from directory: /package/host/spf.biaix.org/foreign/dovecot-2.1.10+spf+2/prefix/lib/dovecot/auth Jan 05 21:15:16 auth-worker(1011): Debug: pam(tu10,127.0.0.1): lookup service=dovecot Jan 05 21:15:16 auth-worker(1011): Debug: pam(tu10,127.0.0.1): #1/1 style=1 msg=Password: Jan 05 21:15:16 auth: Debug: client passdb out: OK 1 user=tu10 Jan 05 21:15:16 imap: Error: net_connect_unix(/fs/package/mount/package/host/spf.biaix.org/foreign/dovecot-2.1.10+spf+2/prefix/var/run/dovecot/auth-master) failed: Invalid argument Jan 05 21:15:16 imap-login: Info: Internal login failure (pid=768 id=1) (internal failure, 1 succesful auths): user=<tu10>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=1012, secured, session=<p1QhQZDSuAB/AAAB> Jan 05 21:15:16 auth: Warning: auth client 768 disconnected with 1 pending requests: EOF -------------- next part -------------- 1012 imap CALL getpid 1012 imap RET getpid 1012/0x3f4 1012 imap CALL readlink(0x182ebc97,0xbfbfebd0,0x3f) 1012 imap NAMI "/etc/malloc.conf" 1012 imap RET readlink -1 errno 2 No such file or directory 1012 imap CALL issetugid 1012 imap RET issetugid 0 1012 imap CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 1012 imap RET mmap 407044096/0x18430000 1012 imap CALL break(0x8069000) 1012 imap RET break 0 1012 imap CALL break(0x8072000) 1012 imap RET break 0 1012 imap CALL break(0x8073000) 1012 imap RET break 0 1012 imap CALL __sysctl(0xbfbfec48,0x2,0x18226620,0xbfbfec64,0,0) 1012 imap RET __sysctl 0 1012 imap CALL getpid 1012 imap RET getpid 1012/0x3f4 1012 imap CALL break(0x8074000) 1012 imap RET break 0 1012 imap CALL sigaction(0xd,0xbfbfec50,0) 1012 imap RET sigaction 0 1012 imap CALL sigaction(0xe,0xbfbfec50,0) 1012 imap RET sigaction 0 1012 imap CALL break(0x8075000) 1012 imap RET break 0 1012 imap CALL gettimeofday(0x182278c8,0) 1012 imap RET gettimeofday 0 1012 imap CALL break(0x8076000) 1012 imap RET break 0 1012 imap CALL break(0x8077000) 1012 imap RET break 0 1012 imap CALL getpid 1012 imap RET getpid 1012/0x3f4 1012 imap CALL __getcwd(0x8069040,0x80) 1012 imap RET __getcwd 0 1012 imap CALL sigaction(0x2,0xbfbfec00,0) 1012 imap RET sigaction 0 1012 imap CALL pipe 1012 imap RET pipe 4 1012 imap CALL __sysctl(0xbfbfeba8,0x2,0xbfbfeba0,0xbfbfeba4,0,0) 1012 imap RET __sysctl 0 1012 imap CALL fcntl(0x4,0x3,0) 1012 imap RET fcntl 2 1012 imap CALL fcntl(0x4,0x4,0x6) 1012 imap RET fcntl 0 1012 imap CALL fcntl(0x8,0x3,0) 1012 imap RET fcntl 2 1012 imap CALL fcntl(0x8,0x4,0x6) 1012 imap RET fcntl 0 1012 imap CALL fcntl(0x4,0x1,0) 1012 imap RET fcntl 0 1012 imap CALL fcntl(0x4,0x2,0x1) 1012 imap RET fcntl 0 1012 imap CALL fcntl(0x8,0x1,0) 1012 imap RET fcntl 0 1012 imap CALL fcntl(0x8,0x2,0x1) 1012 imap RET fcntl 0 1012 imap CALL kqueue 1012 imap RET kqueue 9 1012 imap CALL fcntl(0x9,0x1,0) 1012 imap RET fcntl 0 1012 imap CALL fcntl(0x9,0x2,0x1) 1012 imap RET fcntl 0 1012 imap CALL break(0x8078000) 1012 imap RET break 0 1012 imap CALL kevent(0x9,0xbfbfebc0,0x1,0,0,0) 1012 imap RET kevent 0 1012 imap CALL sigaction(0xf,0xbfbfec00,0) 1012 imap RET sigaction 0 1012 imap CALL fstat(0x5,0xbfbfec60) 1012 imap RET fstat 0 1012 imap CALL kevent(0x9,0xbfbfebe0,0x1,0,0,0) 1012 imap RET kevent 0 1012 imap CALL kevent(0x9,0xbfbfebb0,0x1,0,0,0) 1012 imap RET kevent 0 1012 imap CALL write(0x5,0x807405c,0xc) 1012 imap GIO fd 5 wrote 12 bytes 0x0000 f403 0000 0800 0000 0100 0000 |............| 1012 imap RET write 12/0xc 303 dovecot RET kevent 1 303 dovecot CALL gettimeofday(0x281138c8,0) 303 dovecot RET gettimeofday 0 303 dovecot CALL read(0x73,0xbfbfc460,0x3fc) 303 dovecot GIO fd 115 read 12 bytes 0x0000 f403 0000 0800 0000 0100 0000 |............| 303 dovecot RET read 12/0xc 303 dovecot CALL gettimeofday(0xbfbfc888,0) 303 dovecot RET gettimeofday 0 303 dovecot CALL kevent(0x2f,0,0,0x806b000,0x35,0xbfbfc8c0) 1012 imap CALL break(0x8079000) 1012 imap RET break 0 1012 imap CALL umask(0x3f) 1012 imap RET umask 63/0x3f 1012 imap CALL break(0x807a000) 1012 imap RET break 0 1012 imap CALL kevent(0x9,0,0,0x8077000,0x3,0xbfbfec70) 1012 imap RET kevent 1 1012 imap CALL gettimeofday(0x182278c8,0) 1012 imap RET gettimeofday 0 1012 imap CALL accept(0x7,0xbfbfeb20,0xbfbfeb18) 1012 imap RET accept 10/0xa 1012 imap CALL fcntl(0xa,0x3,0) 1012 imap RET fcntl 6 1012 imap CALL fcntl(0xa,0x4,0x6) 1012 imap RET fcntl 0 1012 imap CALL write(0x5,0x807405c,0xc) 1012 imap GIO fd 5 wrote 12 bytes 0x0000 f403 0000 0800 0000 0000 0000 |............| 1012 imap RET write 12/0xc 303 dovecot RET kevent 1 303 dovecot CALL gettimeofday(0x281138c8,0) 303 dovecot RET gettimeofday 0 303 dovecot CALL read(0x73,0xbfbfc460,0x3fc) 303 dovecot GIO fd 115 read 12 bytes 0x0000 f403 0000 0800 0000 0000 0000 |............| 303 dovecot RET read 12/0xc 303 dovecot CALL kevent(0x2f,0xbfbfc320,0x1,0,0,0) 303 dovecot RET kevent 0 303 dovecot CALL gettimeofday(0xbfbfc888,0) 303 dovecot RET gettimeofday 0 303 dovecot CALL kevent(0x2f,0,0,0x806b000,0x35,0xbfbfc8c0) 1012 imap CALL kevent(0x9,0xbfbfea90,0x1,0,0,0) 1012 imap RET kevent 0 1012 imap CALL lseek(0xa,0,0,0,0x1) 1012 imap RET lseek -1 errno 29 Illegal seek 1012 imap CALL getsockname(0xa,0xbfbfea90,0xbfbfea8c) 1012 imap RET getsockname 0 1012 imap CALL kevent(0x9,0,0,0x8077000,0x4,0xbfbfec70) 1012 imap RET kevent 1 1012 imap CALL gettimeofday(0x182278c8,0) 1012 imap RET gettimeofday 0 1012 imap CALL recvmsg(0xa,0xbfbfe6c0,0) 1012 imap GIO fd 10 read 84 bytes 0x0000 0100 0000 0103 0000 0100 0000 0003 0000 |................| 0x0010 5c50 a4d0 3882 5dcd 8166 198d 07de f2ba |\P..8.]..f......| 0x0020 0200 0000 7f00 0001 0000 0000 0000 0000 |................| 0x0030 0000 0000 0200 0000 7f00 0001 0000 0000 |................| 0x0040 0000 0000 0000 0000 0000 0000 1600 0000 |................| 0x0050 0000 0000 |....| 1012 imap RET recvmsg 84/0x54 1012 imap CALL read(0xa,0xbfbfe7a0,0x16) 1012 imap GIO fd 10 read 22 bytes "p1QhQZDSuAB/AAAB\0000a01\0" 1012 imap RET read 22/0x16 1012 imap CALL fstat(0xb,0xbfbfe710) 1012 imap RET fstat 0 1012 imap CALL fcntl(0xb,0x1,0) 1012 imap RET fcntl 0 1012 imap CALL fcntl(0xb,0x2,0x1) 1012 imap RET fcntl 0 1012 imap CALL gettimeofday(0xbfbfe708,0) 1012 imap RET gettimeofday 0 1012 imap CALL write(0x2,0x8069118,0x15) 1012 imap GIO fd 2 wrote 21 bytes 0x0000 0108 3130 3132 2070 7265 6669 783d 696d |..1012 prefix=im| 0x0010 6170 3a20 0a |ap: .| 1012 imap RET write 21/0x15 365 log RET kevent 1 365 log CALL gettimeofday(0x181088c8,0) 365 log RET gettimeofday 0 365 log CALL read(0x12,0x8062a0e,0x1f2) 365 log GIO fd 18 read 21 bytes 0x0000 0108 3130 3132 2070 7265 6669 783d 696d |..1012 prefix=im| 0x0010 6170 3a20 0a |ap: .| 365 log RET read 21/0x15 365 log CALL gettimeofday(0xbfbfebb8,0) 365 log RET gettimeofday 0 365 log CALL read(0x12,0x8062a23,0x1dd) 365 log RET read -1 errno 35 Resource temporarily unavailable 365 log CALL kevent(0x1e,0,0,0x805f000,0x18,0xbfbfec80) 1012 imap CALL write(0x2,0x8069160,0x9f) 1012 imap GIO fd 2 wrote 159 bytes 0x0000 0104 3130 3132 206e 6574 5f63 6f6e 6e65 |..1012 net_conne| 0x0010 6374 5f75 6e69 7828 2f66 732f 7061 636b |ct_unix(/fs/pack| 0x0020 6167 652f 6d6f 756e 742f 7061 636b 6167 |age/mount/packag| 0x0030 652f 686f 7374 2f73 7066 2e62 6961 6978 |e/host/spf.biaix| 0x0040 2e6f 7267 2f66 6f72 6569 676e 2f64 6f76 |.org/foreign/dov| 0x0050 6563 6f74 2d32 2e31 2e31 302b 7370 662b |ecot-2.1.10+spf+| 0x0060 322f 7072 6566 6978 2f76 6172 2f72 756e |2/prefix/var/run| 0x0070 2f64 6f76 6563 6f74 2f61 7574 682d 6d61 |/dovecot/auth-ma| 0x0080 7374 6572 2920 6661 696c 6564 3a20 496e |ster) failed: In| 0x0090 7661 6c69 6420 6172 6775 6d65 6e74 0a |valid argument.| 1012 imap RET write 159/0x9f 365 log RET kevent 1 365 log CALL gettimeofday(0x181088c8,0) 365 log RET gettimeofday 0 365 log CALL read(0x12,0x8062a23,0x1dd) 365 log GIO fd 18 read 159 bytes 0x0000 0104 3130 3132 206e 6574 5f63 6f6e 6e65 |..1012 net_conne| 0x0010 6374 5f75 6e69 7828 2f66 732f 7061 636b |ct_unix(/fs/pack| 0x0020 6167 652f 6d6f 756e 742f 7061 636b 6167 |age/mount/packag| 0x0030 652f 686f 7374 2f73 7066 2e62 6961 6978 |e/host/spf.biaix| 0x0040 2e6f 7267 2f66 6f72 6569 676e 2f64 6f76 |.org/foreign/dov| 0x0050 6563 6f74 2d32 2e31 2e31 302b 7370 662b |ecot-2.1.10+spf+| 0x0060 322f 7072 6566 6978 2f76 6172 2f72 756e |2/prefix/var/run| 0x0070 2f64 6f76 6563 6f74 2f61 7574 682d 6d61 |/dovecot/auth-ma| 0x0080 7374 6572 2920 6661 696c 6564 3a20 496e |ster) failed: In| 0x0090 7661 6c69 6420 6172 6775 6d65 6e74 0a |valid argument.| 365 log RET read 159/0x9f 365 log CALL gettimeofday(0xbfbfebb8,0) 365 log RET gettimeofday 0 365 log CALL write(0x2,0x804e078,0xb5) 365 log GIO fd 2 wrote 181 bytes "Jan 05 21:15:16 imap: Error: net_connect_unix(/fs/package/mount/packag\ e/host/spf.biaix.org/foreign/dovecot-2.1.10+spf+2/prefix/var/run/dovec\ ot/auth-master) failed: Invalid argument " 365 log RET write 181/0xb5 365 log CALL read(0x12,0x8062ac2,0x13e) 365 log RET read -1 errno 35 Resource temporarily unavailable 365 log CALL kevent(0x1e,0,0,0x805f000,0x18,0xbfbfec80) 1012 imap CALL kevent(0x9,0xbfbfe680,0x1,0,0,0) 1012 imap RET kevent 0 1012 imap CALL close(0x7) 1012 imap RET close 0 1012 imap CALL getpid 1012 imap RET getpid 1012/0x3f4 1012 imap CALL write(0xa,0xbfbfe720,0xc) 1012 imap GIO fd 10 wrote 12 bytes 0x0000 0100 0000 0100 0000 f403 0000 |............| 1012 imap RET write 12/0xc 768 imap-login RET kevent 1 768 imap-login CALL gettimeofday(0x181228c8,0) 768 imap-login RET gettimeofday 0 768 imap-login CALL read(0x10,0x805b3d4,0xc) 768 imap-login GIO fd 16 read 12 bytes 0x0000 0100 0000 0100 0000 f403 0000 |............| 768 imap-login RET read 12/0xc 768 imap-login CALL shutdown(0xf,0x2) 1012 imap CALL write(0xb,0x8069120,0x59) 1012 imap RET write -1 errno 32 Broken pipe 1012 imap CALL close(0xb) 1012 imap RET close 0 1012 imap CALL kevent(0x9,0xbfbfe620,0x1,0,0,0) 1012 imap RET kevent 0 1012 imap CALL close(0xa) 1012 imap RET close 0 1012 imap CALL kevent(0x9,0xbfbfec30,0x1,0,0,0) 1012 imap RET kevent 0 1012 imap CALL kevent(0x9,0xbfbfec10,0x1,0,0,0) 1012 imap RET kevent 0 1012 imap CALL close(0x4) 1012 imap RET close 0 1012 imap CALL close(0x8) 1012 imap RET close 0 1012 imap CALL close(0x9) 1012 imap RET close 0 1012 imap CALL break(0x8079000) 1012 imap RET break 0 1012 imap CALL exit(0) 303 dovecot RET kevent -1 errno 4 Interrupted system call 303 dovecot PSIG SIGCHLD caught handler=0x280e30cc mask=0x0 code=0x0 303 dovecot CALL write(0x2e,0xbfbfc547,0x1) 303 dovecot GIO fd 46 wrote 1 byte "\0" 303 dovecot RET write 1 303 dovecot CALL sigreturn(0xbfbfc580) 303 dovecot RET sigreturn JUSTRETURN 303 dovecot CALL gettimeofday(0x281138c8,0) 303 dovecot RET gettimeofday 0 303 dovecot CALL gettimeofday(0xbfbfc888,0) 303 dovecot RET gettimeofday 0 303 dovecot CALL kevent(0x2f,0,0,0x806b000,0x35,0xbfbfc8c0) 303 dovecot RET kevent 1 303 dovecot CALL gettimeofday(0x281138c8,0) 303 dovecot RET gettimeofday 0 303 dovecot CALL sigprocmask(0x1,0xbfbfb850,0xbfbfb840) 303 dovecot RET sigprocmask 0 303 dovecot CALL read(0x2d,0xbfbfb7f0,0x40) 303 dovecot GIO fd 45 read 1 byte "\0" 303 dovecot RET read 1 303 dovecot CALL sigprocmask(0x3,0xbfbfb840,0) 303 dovecot RET sigprocmask 0 303 dovecot CALL wait4(0xffffffff,0xbfbfb7a8,0x1,0) 303 dovecot RET wait4 1012/0x3f4 303 dovecot CALL write(0x31,0x80596f0,0xc) 303 dovecot GIO fd 49 wrote 12 bytes "18 1012 BYE " 303 dovecot RET write 12/0xc 365 log RET kevent 1 365 log CALL gettimeofday(0x181088c8,0) 365 log RET gettimeofday 0 365 log CALL read(0x7,0x8057418,0x1e8) 365 log GIO fd 7 read 12 bytes "18 1012 BYE " 365 log RET read 12/0xc 365 log CALL gettimeofday(0xbfbfebb8,0) 365 log RET gettimeofday 0 365 log CALL read(0x7,0x8057424,0x1dc) 365 log RET read -1 errno 35 Resource temporarily unavailable 365 log CALL kevent(0x1e,0,0,0x805f000,0x18,0xbfbfec80) 768 imap-login RET shutdown 0 768 imap-login CALL write(0xf,0x804f118,0x58) 768 imap-login RET write -1 errno 32 Broken pipe 768 imap-login CALL write(0x2,0x804f520,0x1a) 768 imap-login GIO fd 2 wrote 26 bytes 0x0000 0108 3736 3820 7072 6566 6978 3d69 6d61 |..768 prefix=ima| 0x0010 702d 6c6f 6769 6e3a 200a |p-login: .| 768 imap-login RET write 26/0x1a 365 log RET kevent 1 365 log CALL gettimeofday(0x181088c8,0) 365 log RET gettimeofday 0 365 log CALL read(0x13,0x8062c27,0x1d9) 365 log GIO fd 19 read 26 bytes 0x0000 0108 3736 3820 7072 6566 6978 3d69 6d61 |..768 prefix=ima| 0x0010 702d 6c6f 6769 6e3a 200a |p-login: .| 365 log RET read 26/0x1a 365 log CALL gettimeofday(0xbfbfebb8,0) 365 log RET gettimeofday 0 365 log CALL read(0x13,0x8062c41,0x1bf) 365 log RET read -1 errno 35 Resource temporarily unavailable 365 log CALL kevent(0x1e,0,0,0x805f000,0x18,0xbfbfec80) 303 dovecot CALL wait4(0xffffffff,0xbfbfb7a8,0x1,0) 303 dovecot RET wait4 0 303 dovecot CALL gettimeofday(0xbfbfc888,0) 303 dovecot RET gettimeofday 0 303 dovecot CALL kevent(0x2f,0,0,0x806b000,0x35,0xbfbfc8c0) 768 imap-login CALL write(0x2,0x804f570,0xbb) 768 imap-login GIO fd 2 wrote 187 bytes 0x0000 0102 3736 3820 496e 7465 726e 616c 206c |..768 Internal l| 0x0010 6f67 696e 2066 6169 6c75 7265 2028 7069 |ogin failure (pi| 0x0020 643d 3736 3820 6964 3d31 2920 2869 6e74 |d=768 id=1) (int| 0x0030 6572 6e61 6c20 6661 696c 7572 652c 2031 |ernal failure, 1| 0x0040 2073 7563 6365 7366 756c 2061 7574 6873 | succesful auths| 0x0050 293a 2075 7365 723d 3c74 7531 303e 2c20 |): user=<tu10>, | 0x0060 6d65 7468 6f64 3d50 4c41 494e 2c20 7269 |method=PLAIN, ri| 0x0070 703d 3132 372e 302e 302e 312c 206c 6970 |p=127.0.0.1, lip| 0x0080 3d31 3237 2e30 2e30 2e31 2c20 6d70 6964 |=127.0.0.1, mpid| 0x0090 3d31 3031 322c 2073 6563 7572 6564 2c20 |=1012, secured, | 0x00a0 7365 7373 696f 6e3d 3c70 3151 6851 5a44 |session=<p1QhQZD| 0x00b0 5375 4142 2f41 4141 423e 0a |SuAB/AAAB>.| 768 imap-login RET write 187/0xbb 365 log RET kevent 1 365 log CALL gettimeofday(0x181088c8,0) 365 log RET gettimeofday 0 365 log CALL read(0x13,0x8062c41,0x1bf) 365 log GIO fd 19 read 187 bytes 0x0000 0102 3736 3820 496e 7465 726e 616c 206c |..768 Internal l| 0x0010 6f67 696e 2066 6169 6c75 7265 2028 7069 |ogin failure (pi| 0x0020 643d 3736 3820 6964 3d31 2920 2869 6e74 |d=768 id=1) (int| 0x0030 6572 6e61 6c20 6661 696c 7572 652c 2031 |ernal failure, 1| 0x0040 2073 7563 6365 7366 756c 2061 7574 6873 | succesful auths| 0x0050 293a 2075 7365 723d 3c74 7531 303e 2c20 |): user=<tu10>, | 0x0060 6d65 7468 6f64 3d50 4c41 494e 2c20 7269 |method=PLAIN, ri| 0x0070 703d 3132 372e 302e 302e 312c 206c 6970 |p=127.0.0.1, lip| 0x0080 3d31 3237 2e30 2e30 2e31 2c20 6d70 6964 |=127.0.0.1, mpid| 0x0090 3d31 3031 322c 2073 6563 7572 6564 2c20 |=1012, secured, | 0x00a0 7365 7373 696f 6e3d 3c70 3151 6851 5a44 |session=<p1QhQZD| 0x00b0 5375 4142 2f41 4141 423e 0a |SuAB/AAAB>.| 365 log RET read 187/0xbb 365 log CALL gettimeofday(0xbfbfebb8,0) 365 log RET gettimeofday 0 365 log CALL write(0x2,0x804e078,0xd7) 365 log GIO fd 2 wrote 215 bytes "Jan 05 21:15:16 imap-login: Info: Internal login failure (pid=768 id=1\ ) (internal failure, 1 succesful auths): user=<tu10>, method=PLAIN, ri\ p=127.0.0.1, lip=127.0.0.1, mpid=1012, secured, session=<p1QhQZDSuAB/A\ AAB> " 365 log RET write 215/0xd7 -------------- next part -------------- # 2.1.10: /package/host/spf.biaix.org/foreign/dovecot-2.1.10+spf+2/prefix/etc/dovecot/dovecot.conf # OS: FreeBSD 6.4-RELEASE-p7 i386 auth_cache_negative_ttl = 0 auth_debug = yes auth_debug_passwords = yes auth_failure_delay = 0 auth_mechanisms = plain login auth_verbose = yes default_internal_user = nobody default_login_user = nobody disable_plaintext_auth = no listen = 127.0.0.1 log_path = /dev/stderr mail_location = maildir:~/Maildir:LAYOUT=fs maildir_stat_dirs = yes namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } ssl = no userdb { driver = passwd }
Timo Sirainen
2013-Jan-08 01:20 UTC
[Dovecot] imap: Error: net_connect_unix(/.../auth-master) failed: Invalid argument
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