uw-imap connection timeout [Solution]
Antoine was extremely helpful and recommended the following fix:
1) Remove the EXTRAAUTHENTICATORS="gss" flags from the Makefile
# cd /usr/ports/mail/imap-uw
# vi Makefile
MAKE_FLAGS= EXTRACFLAGS="${CFLAGS}" EXTRAAUTHENTICATORS="gss" IP=6 \
SHLIB="${SHLIB}" SHLIBNAME=${SHLIB} CC="${CC}"
2) Recompile the binaries. There will be some warnings but nothing fatal
# make
3) The binaries (well, the ones I needed) can be found in:
# ls w-imap-2007e/imap-2007e/imapd/
Makefile imapd imapd.c imapd.o
# ls w-imap-2007e/imap-2007e/ipopd/
Makefile ipop2d ipop2d.c ipop2d.o ipop3d ipop3d.c ipop3d.o
4) Copy these to /usr/local/libexec (or wherever you have yours)
I'm a cautious fellow so I copied the existing binaries first
# cp /usr/local/libexec/imapd /usr/local/libexec/imapd.orig
# cp w-imap-2007e/imap-2007e/imapd/imapd /usr/local/libexec/
# cp /usr/local/libexec/ipop3d /usr/local/libexec/ipop3d.orig
# cp w-imap-2007e/imap-2007e/ipopd/ipop3d /usr/local/libexec/
5) Restart inetd
# pgrep inetd
12345
# kill -HUP 12345
6) Test
# telnet localhost 110
Trying ::1...
Connected to localhost.
Escape character is '^]'.
+OK POP3 localhost.openbsd.org 2007e.104 server ready
7) Thank Antoine for maintaining the uw-imap port by donating to OpenBSD!
|