On Thu, 2003-05-08 at 12:23, Rob Sell wrote:
If anyone has gotten UW imap to accept plaintext passwords without recompiling let me know.
Nope, you can't. BUT! It's very easy to recompile the RPM... Just install the source RPM. Then go into /usr/src/packages/SPECS and change the imap.spec file so that the line: make lnp MYCFLAGS="$CFLAGS" SSLTYPE=nopwd so that it reads: make lnp MYCFLAGS="$CFLAGS" SSLTYPE=unix Then (this is all as root) just do a `rpm -bb imap.spec' and the RPM's will show up in /usr/src/packages/RPMS/i386. You might remove the existing imap-2002 package before installing the new one, but if something depends on that, on you don't want to fool with it, you'll be safe doing an `rpm -ivh --force imap-2002-45.rpm'. PLEASE NOTE: This package has already been patched. You will probably want to get the -45 package from an updates mirror, instead of using the -36 sources that came with the distro. ALSO NOTE: The imap-2002 package only prevents plaintext authentication under unencrypted sessions. If you configure your server to do imaps and smtps, you don't have to recompile! You will get passed through to the normal (via pam) password database. Otherwise, if you *still* want to use the packaged version, you can create a cram-md5 database, but I'll save the explanation on that unless someone wants to know. HTH, dk -- David "Dunkirk" Krider, http://www.davidkrider.com Acts 17:28, "For in Him we live, and move, and have our being." Linux: Will you use the power for good... or for AWESOME?