Ok, Recompiled courier-imap 20 minutes ago. With a dozen clients testing
virtual domains. Seems to work this far...

Thanks a lot for the advice.





On Mon, 2002-10-21 at 13:31, Michael Bowe wrote:
> Yeah, courier-imap has terrible logging.... You get almost no detail...
> 
> I believe that to get the recent versions of courier-imap and vpopmail to
> together work reliably, you need to use the "--without-authdaemon" configure
> option for courier-imap.
> 
> Without this setting, you could typically authenticate for a short period
> and then all further auths would fail. Not sure if that is related to your
> problem though...
> 
> Michael.
> 
> ----- Original Message -----
> From: "Lars Gustafson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, October 21, 2002 9:17 PM
> Subject: Re: [vchkpw] Logging in to virtual domain only successfull
> sometimes
> 
> 
> > Thanks for quick answers.
> >
> >
> >
> > What my logs say is simply. when trying to use my IMP webmail client.
> > with a virtual domain user.
> >
> > Oct 21 13:03:41 greyhound imapd-ssl: Connection, ip=[::ffff:127.0.0.1]
> > Oct 21 13:03:46 greyhound imapd-ssl: LOGIN FAILED, ip=[::ffff:127.0.0.1]
> > Oct 21 13:03:56 greyhound imapd-ssl: LOGOUT, ip=[::ffff:127.0.0.1]
> >
> > When useing the default domain
> > Oct 21 13:06:34 greyhound imapd-ssl: Connection, ip=[::ffff:127.0.0.1]
> > Oct 21 13:06:34 greyhound imapd-ssl: LOGIN, user=lars.gustafson,
> > ip=[::ffff:127.0.0.1]
> > Oct 21 13:06:34 greyhound imapd-ssl: LOGOUT, user=lars.gustafson,
> > ip=[::ffff:127.0.0.1], headers=0, body=0
> > Oct 21 13:06:34 greyhound imapd-ssl: Connection, ip=[::ffff:127.0.0.1]
> > Oct 21 13:06:34 greyhound imapd-ssl: LOGIN, user=lars.gustafson,
> > ip=[::ffff:127.0.0.1]
> > Oct 21 13:06:35 greyhound imapd-ssl: LOGOUT, user=lars.gustafson,
> > ip=[::ffff:127.0.0.1], headers=2419, body=0
> >
> >
> > I have compiled vpopmail-5.2.1 as:
> >
> >
> > ./configure  --prefix=/var/vpopmail \
> >   --enable-qmaildir=/var/qmail \
> >   --enable-qmail-newu=/var/qmail/bin/qmail-newu \
> >   --enable-qmail-inject=/var/qmail/bin/qmail-inject \
> >   --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh \
> >   --enable-vpopuser=vpopmail \
> >   --enable-vpopgroup=vchkpw \
> >   --enable-clear-passwd=y \
> >   --enable-logging=y \
> >   --enable-log-name=vpopmail \
> >   --enable-domains-dir=domains \
> >   --enable-default-domain=i3micro.com \
> >   --enable-incdir=/usr/include/mysql \
> >   --enable-libdir=/usr/lib/mysql \
> >   --enable-libs=mysqlclient \
> >   --enable-mysql=y \
> >   --enable-valias=y \
> >   --enable-ip-alias-domains=n
> >
> > and courier-imap just plain and simply
> > ./configure  --enable-workarounds-for-imap-client-bugs
> >
> > i tried to recompile both vpopmail and courer-imap as well as qmailadmin
> > and so on, without success. Main reason for this was just to make sure
> > it all was correctly set and to get better, more verbose, logging.
> > Summary, problem still resisted and i didnt get anything more out of the
> > logs. Finaly i restored backups of it all.
> >
> >
> >
> >
> > On Mon, 2002-10-21 at 12:39, Michael Bowe wrote:
> > > Have you looked in the logs to see if it gives a reason why the
> > > authentication failed?
> > >
> > > eg if you compiled vpopmail with --enable-logging=p, then you could try
> > > looking in your syslog files (commonly /var/log/maillog) for more info
> > >
> > > and/or if you compiled vpopmail with the --enable-mysql-logging option,
> then
> > > look you could also look at the logs in the vpopmail.vlog mysql table
> > >
> > > And finally I would suggest you check your tcpserver options for your
> pop3d
> > > script, cause maybe you have the "-c" option (max num of simultaneous
> > > connections) set to low or something like that...
> > >
> > > Michael.
> > >
> > > ----- Original Message -----
> > > From: "Lars Gustafson" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, October 21, 2002 8:16 PM
> > > Subject: [vchkpw] Logging in to virtual domain only successfull
> sometimes
> > >
> > >
> > > >
> > > > I have some real strange problems.
> > > >
> > > > I use qmail, vpopmail with a mysql backend, courier-imap, qmailadmin,
> > > > vqadamin, ezmlm and ezmalm-idx.. I currently have 2 domains up where
> > > > domain1 is compiled into vpopmail as default domain.
> > > >
> > > > When logging in as "lars.gustafson" for the default domain, with no
> > > > "@domain1.com" as appendix, there is no problem. Everything works fine
> > > > both trough courer-imap, with a bunch of diffrent clients.
> > > > Curretly i have tested various ms outlooks, evolution, sylpheed,
> > > > netscape and mozilla clients,as well as IMP webmail. None had any
> > > > problems when logging in as a user with no apednix such as
> @domain.com.
> > > >
> > > > When i try to logg in on a virtual domain as
> [EMAIL PROTECTED],
> > > > the authentication fails about 50-100% of the times i have tried,
> which
> > > > are a lot=).
> > > > I have read any newsgroup posts and documentation i can find regarding
> > > > this issue, which weren't too much. I have been trying to solve thsi
> > > > problem for about 2 weeks now, and I am stuck as well as out of
> ideas...
> > > >
> > > > I can also tell that the mysql tables are not corrupted according to
> > > > "myisamchk -e /var/lib/mysql/*.MYI"
> > > >
> > > > Any ideas of how to solve this issue is truley welcome. thanks in
> > > > advance.
> > > >
> > > >
> > > >
> > > > --
> > > > i3 micro technology ab
> > > > Lars Gustafson
> > > > System Administrator
> > > > phone: +46(0)850638856
> > > > mobile:+46(0)708472037
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > >
> > >
> > --
> > i3 micro technology ab
> > Lars Gustafson
> > System Administrator
> > phone: +46(0)850638856
> > mobile:+46(0)708472037
> > [EMAIL PROTECTED]
> >
> >
> >
> 
> 
-- 
i3 micro technology ab
Lars Gustafson
System Administrator
phone: +46(0)850638856
mobile:+46(0)708472037
[EMAIL PROTECTED]


Reply via email to