DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th October 2009
andrewm andrewm is offline
New User
 
Join Date: Sep 2009
Posts: 6
Default uw-imap connection timeout

Folks,
I'm having trouble connecting to the uw-imap-2007e-plaintext (installed via package on OpenBSD 4.5) on TCP110 and TCP143. The problem exists connecting both locally and remotely.

My attempts to eliminate firewall issues lead me to capture packets during connection attempts. The packet capture indicates that the connection is established and then the server issues DNS lookups for _kerberos.<serverFQDN> which are not being answered. I don't want to authenticate using kerberos, but rather plaintext authentication (I'm installing squirrelmail on the same box). I'm assuming that this attempt to resolve the kerberos server is the problem.

I guess I'm asking if there is an easy way to disable Kerberos authentication and only use plaintext authentication. I'm happy to resort to ports instead of packages, but I'm hoping there is a simple solution.

regards,
Andrew
Reply With Quote
  #2   (View Single Post)  
Old 10th October 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

According to http://www.washington.edu/imap/docum...on/CONFIG.html there are configuration settings which -require- Kerberos, such as with plaintext disabled.

You might contact the port maintainer for clarification/assistance. He's Antoine Jacoutot, his email address at the OpenBSD project is
ajacoutot@.
Reply With Quote
  #3   (View Single Post)  
Old 10th October 2009
andrewm andrewm is offline
New User
 
Join Date: Sep 2009
Posts: 6
Default

Thanks once again. I've relayed the message to Antoine.

regards,
Andrew.
Reply With Quote
  #4   (View Single Post)  
Old 11th October 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Moving thread to packages & ports subforum.
Reply With Quote
  #5   (View Single Post)  
Old 22nd October 2009
andrewm andrewm is offline
New User
 
Join Date: Sep 2009
Posts: 6
Default 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!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Openbsd 4.5 network connection timeout andrewm OpenBSD General 4 11th September 2009 02:32 AM
Courier IMAP/POP3 can't auth to mysql db revzalot OpenBSD Packages and Ports 5 6th September 2009 05:44 AM
Courier IMAP Different MD5 version jrs665 OpenBSD Packages and Ports 3 30th October 2008 12:34 PM
Recommendation for Imap and POP server Pher FreeBSD Installation and Upgrading 5 20th July 2008 07:43 PM
FAM keeps crashing with courier-imap krreagan FreeBSD General 0 14th May 2008 11:15 PM


All times are GMT. The time now is 09:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick