Tim Evans wrote:
> I am adding Web-based e-mail to an existing portal-like site, using
> IMP and Cyrus imapd.  The site is built pretty much exclusively with
> PHP and MySQL.
>
> We already have all the userid's and passwords for the
> portal site in MySQL and would like to let users log into
> their IMP/Webmail accounts with the same password.
>
> I believe Cyrus/SASL authentication using PAM may be one way of doing
this,
> but would hope this is a wheel someone else has already invented.
>
You can download an RPM which authenticates Cyrus IMAP logins against a
MySQL DB from:

  http://www.hazard.maks.net/

I haven't released the MySQL pwcheck daemon outside of the RPM, but if you
can't use RPM send me an email and I'll send you the daemon on it's own.

Yes, you can also use PAM. Search the Cyrus archives for 'PAM' and 'MySQL'
since this has been dealt with before:

http://asg.web.cmu.edu/archive/mailbox.php3?mailbox=archive.info-cyrus

HTH,
  Jeremy


Reply via email to