i'm encountering this login problem on solaris 9 with either courier 2.0.0 or courier 2.1.1.
i've tried a few clients: squirrelmail (php running on the same box as the imap server), outlook express on win2k, and eudora on a mac, all with similar results.
i've got two domains: domain1 and domain2. one user in domain1 connects via port 143; one user in domain2 connects via port 143; a second user in domain2 connects via port 993.
after initially starting the server, any of the users can log in. for example, syslog shows
--restart server--
imapd: [ID 702911 mail.info] Connection, ip=[192.168.61.6]
imapd: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], command=CAPABILITY
imapd: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], command=LOGIN
imapd: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], [EMAIL PROTECTED]
imapd: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], password=********
imapd: [ID 702911 mail.info] LOGIN, [EMAIL PROTECTED], ip=[192.168.61.6], protocol=IMAP
[ ... ~ 60 seconds ... ]
imapd: [ID 702911 mail.info] LOGOUT, [EMAIL PROTECTED], ip=[192.168.61.6], headers=0, body=0
--restart server--
imapd: [ID 702911 mail.info] Connection, ip=[192.168.61.6]
imapd: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], command=CAPABILITY
imapd: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], command=LOGIN
imapd: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], [EMAIL PROTECTED]
imapd: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], password=********
imapd: [ID 702911 mail.info] LOGIN, [EMAIL PROTECTED], ip=[192.168.61.6], protocol=IMAP
[ ... ~60 seconds ...]
imapd: [ID 702911 mail.info] LOGOUT, [EMAIL PROTECTED], ip=[192.168.61.6], headers=0, body=0
--restart server--
imapd-ssl: [ID 702911 mail.info] Connection, ip=[192.168.61.6]
imapd-ssl: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], command=CAPABILITY
imapd-ssl: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], command=LOGIN
imapd-ssl: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], [EMAIL PROTECTED]
imapd-ssl: [ID 702911 mail.info] LOGIN: DEBUG: ip=[192.168.61.6], password=********
imapd-ssl: [ID 702911 mail.info] LOGIN, [EMAIL PROTECTED], ip=[192.168.61.6], protocol=IMAP
[ ... ~60 seconds ...]
imapd-ssl: [ID 702911 mail.info] couriertls: read: Connection reset by peer
imapd-ssl: [ID 702911 mail.error] DISCONNECTED, [EMAIL PROTECTED], ip=[192.168.61.6], headers=0, body=0
--restart server--
it seems that the ssl user can always log in. however, if the user in one domain attempts to log in after the user in the other domain, or the 60 seconds has expired and the same user attempts to log back in, the login fails with
imapd: [ID 702911 mail.error] LOGIN FAILED, ip=[192.168.61.6]
i know the password is correct because it shows up in syslog. this was working on solaris 8 with imap 1.7.3.
i'm using vpopmail. the configure command used is
----- CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib" export CPPFLAGS export LDFLAGS
./configure \
--prefix=/usr/lib/courier-imap \
--with-authchangepwdir=/usr/lib/courier-imap/libexec/authlib \
--with-db=gdbm \
--with-makedatprog='/usr/lib/courier-imap/libexec/makedatprog' \
--with-userdb=/etc/userdb \
--with-mailuser=root \
--without-socks \
--without-ipv6-----
Any pointers will be appreciated.
jeff
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
