Solaris 9 gcc 3.4.2 courier-imap 4.02 courier-authlib 0.55
Hi, I have an interesting problem. Courier is installed and running but I can't connect to ports 110,143,993 or 995. Since I have no clear idea what the problem is, I shall attempt to descriibe all steps taken to build courier.
1. Build courier-authlib ./configure make make install /usr/local/sbin/authdaemond start (and it starts just fine) /usr/local/sbin/authdaemond stop (and it stops just fine)
I have edited the /usr/local/etc/authlib/authdaemonrc, like so: authmodulelist="authuserdb authpam authcustom" DEBUG_LOGIN=1
2. Build courier-imap
$ CPPFLAGS="-I/usr/local/ssl/include/openssl" LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib" ./configure --prefix=/opt/courier-imap
$ make
# make install (install-strip does NOT work for me)
# make install-configure
I have edited /opt/courier/etc | imapd | imapd-ssl | pop3d | pop3d-ssl |, like so:
IMAPDSTART=YES
POP3DSTART=YES
POP3AUTH="LOGIN PLAIN"
POP3AUTH_TLS="LOGIN PLAIN"
I have created the necessary certs and put them in the appropriate directory. I start courier imap, like so:
/opt/courier-imap/libexec/imapd.rc start
/opt/courier-imap/libexec/imapd-ssl.rc start
/opt/courier-imap/libexec/pop3d.rc start
/opt/courier-imap/libexec/pop3d-ssl.rc start
It seems to start.
]# ps -ef|grep courier
root 17314 1 0 Mar 21 ? 0:00 /usr/local/sbin/courierlogger pop3d
root 17707 12785 0 15:22:25 pts/1 0:00 grep courier
root 17290 17286 0 Mar 21 ? 0:00 /usr/local/libexec/courier-authlib/authdaemond
root 17298 1 0 Mar 21 ? 0:00 /opt/courier-imap/libexec/couriertcpd -address=0 -stderrlogger=/usr/local/sbin/
root 17312 1 0 Mar 21 ? 0:00 /opt/courier-imap/libexec/couriertcpd -address=0 -stderrlogger=/usr/local/sbin/
root 17285 1 0 Mar 21 ? 0:00 /usr/local/sbin/courierlogger -pid=/usr/local/var/spool/authdaemon/pid -start /
root 17287 17286 0 Mar 21 ? 0:00 /usr/local/libexec/courier-authlib/authdaemond
root 17300 1 0 Mar 21 ? 0:00 /usr/local/sbin/courierlogger imapd
root 17289 17286 0 Mar 21 ? 0:00 /usr/local/libexec/courier-authlib/authdaemond
root 17291 17286 0 Mar 21 ? 0:00 /usr/local/libexec/courier-authlib/authdaemond
root 17319 1 0 Mar 21 ? 0:00 /opt/courier-imap/libexec/couriertcpd -address=0 -stderrlogger=/usr/local/sbin/
root 17308 1 0 Mar 21 ? 0:00 /usr/local/sbin/courierlogger imapd-ssl
root 17321 1 0 Mar 21 ? 0:00 /usr/local/sbin/courierlogger pop3d-ssl
root 17288 17286 0 Mar 21 ? 0:00 /usr/local/libexec/courier-authlib/authdaemond
root 17306 1 0 Mar 21 ? 0:00 /opt/courier-imap/libexec/couriertcpd -address=0 -stderrlogger=/usr/local/sbin/
root 17286 17285 0 Mar 21 ? 0:00 /usr/local/libexec/courier-authlib/authdaemond
But the maillog doesn't show me anything when I telnet to port 110 or 143. I only see activity from the starting and stopping of courier-authlib:
Mar 21 15:07:08 authdaemond: [ID 702911 mail.info] modules="authuserdb authpam authcustom", daemons=5
Mar 21 15:07:08 authdaemond: [ID 702911 mail.info] Installing libauthuserdb
Mar 21 15:07:08 authdaemond: [ID 702911 mail.info] Installation complete: authuserdb
Mar 21 15:07:08 authdaemond: [ID 702911 mail.info] Installing libauthpam
Mar 21 15:07:08 authdaemond: [ID 702911 mail.info] Installation complete: authpam
Mar 21 15:07:08 authdaemond: [ID 702911 mail.info] Installing libauthcustom
Mar 21 15:07:08 authdaemond: [ID 702911 mail.info] Installation complete: authcustom
That's it. # telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection to localhost closed by foreign host. # telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection to localhost closed by foreign host.
It seems to be listening on these ports but I can't connect:
# netstat -na|egrep '110|143|993|995'
*.110 *.* 0 0 49152 0 LISTEN # IPv4
*.143 *.* 0 0 49152 0 LISTEN
*.143 *.* 0 0 49152 0 LISTEN
*.993 *.* 0 0 49152 0 LISTEN
*.993 *.* 0 0 49152 0 LISTEN
*.110 *.* 0 0 49152 0 LISTEN
*.995 *.* 0 0 49152 0 LISTEN
*.995 *.* 0 0 49152 0 LISTEN
*.143 *.* 0 0 49152 0 LISTEN # IPv6 (not that I care about IPv6)
*.993 *.* 0 0 49152 0 LISTEN
*.110 *.* 0 0 49152 0 LISTEN
*.995 *.* 0 0 49152 0 LISTEN
Does anyone have an suggestion? Any help is greatly appreciated.
Regards,
Gordon Thagard
------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
