I have not used the Mysql authentication! But if you turn the logs
on for mysql, you could see what is going on at that end. Mysql itself
has a permissioning system of its own, see if that is interfering in 
any way. Another place to look at is the imapd log itself; see if
anything meaningful is there.
__
Seva

Patrick Baron wrote:
> 
> pwcheck.  Apparently the pwcheck module supplied with Cyrus-imapd - sasl has
> support
> for MySQL authentication ....
> 
> Patrick
> 
> ----- Original Message -----
> From: "Seva Adari" <[EMAIL PROTECTED]>
> To: "Patrick Baron" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, April 23, 2001 7:20 PM
> Subject: Re: Cyrus, MySQL, Sendmail configuration problems
> 
> > What do you have your "sasl_pwcheck_method" in imapd.conf is set
> > to? If it is PAM, then you have to have appropriate libraries
> > listed in your pam file. On a RedHat system it is /etc/pam.d/imap.
> > __
> > Seva
> >
> > Patrick Baron wrote:
> > >
> > > I'm wondering if there are some of you who are successfully using MySQL
> to
> > > authenticate Cyrus mailbox passwords For the past fortnight I've been
> trying
> > > unsuccessfully to get a Cyrus-imapd, -sasl, MySQL installation up and
> > > running and running out of ideas fast to get it going.
> > >
> > > Getting down to the gist of the matter:
> > >
> > > I've loaded up all the required Perl packages, plus pwcheck_mysql-0.1,
> > > authcheck.pl etc... installed Vladimer Ivaschenko cyrus-imapd-sql*rpm &
> > > cyrus-sasl*rpm's (www.hazard.maks.net)
> > >
> > > Issues...
> > >
> > > * I initially had problems logging into the cyrus daemon as Userid cyrus
> > > until I created Userid curus (with shadow password enabled) before I
> > > installed cyrus. Imapadmin.cgi.pl rejected the "admin' login until I
> changed
> > > the setup order. I also couldn't login as cyradm in Userid cyrus mode
> > > either.
> > >
> > > * In order to create, delete, & alter mailboxes plus passwords I had to
> > > create an Userid for "admin".
> > >                                  --------------------------------
> > > With  Cyrus now up & running in Userid cyrus..
> > >
> > > * I can login via "admin" (using imapadmin.cgi.pl), and can create,
> alter, &
> > > delete cyrus mailboxes. Login & Passwords are automatically created in
> MySQL
> > > imap database.
> > > * However I'm unable to access the mailboxes unless the mailbox has a
> Userid
> > > eg admin - which defeats the purpose of running Cyrus. My log file
> indicates
> > > an authentication issue with mailboxes (except for "admin")  ie. no
> Userid.
> > >
> > > * Also pwcheck doesn't automatically loadup. I've had to create an entry
> in
> > > rc.local.   Even then it bombs out fairly easily.
> > >
> > > * I have aslo tried building pwcheck_myslq into the source file  (into
> > > cyrus-sasl*.tar.gz and installed together with cyrus-imapd*.tar.gz)
> without
> > > any success.
> > >
> > > Is there:
> > >
> > > * An issue with pwcheck  - that preventing mailboxes without Userid's
> being
> > > authenticated ?
> > > * ..Anyway to get the system running without having to creater Userid's
> for
> > > everybody.
> > > *  Anything I may have overlooked when setting up & configuring the
> packages
> > > ?
> > >
> > > Appreciate any help...
> > >
> > > Patrick
> >
> >

Reply via email to