[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] raq4 and SMTP AUTH



Dr. Patrick van der Smagt wrote:
Hi,

looked more & found it... got the PLAIN mechanism working, the others
not yet.  Thanks for that pointer!

Your remark concerning the LOGIN auth mechanism is interesting (since
most use outlook), but here I *really* did not find what your referred to
here.  I have done UNIX programming for many years, but never built
RPMs---so it is not all that straightforward to me.  For instance, where
do I find the SRPM you referred to?


ftp://ftp.cobalt.com/pub/products/raq4/eng/updates/SRPMS/cyrus-sasl-1.5.24-C4.src.rpm

IIRC, you download it onto the RaQ, then install the SRPM:

rpm -Uvh cyrus-sasl-1.5.24-C4.src.rpm

This will put the source in /home/redhat/SOURCES and the .spec file in /home/redhat/SPECS

Change directory to /home/redhat/SPECS and edit cyrus-sasl.spec. (You might want to create a copy and edit that.)

1/ Change the line starting "Release" to something that will identify the RPM as something you built. Sun/Cobalt uses "C" followed by a revision number. I used "E1".

2/ Change the line just below "%build" from

	./configure --prefix=/usr

to:

	./configure --prefix=/usr --enable-login

Now you can build an RPM:

rpm -ba cyrus-sasl.spec

You'll wind up with an RPM in /home/redhat/RPMS/i386/ and a new source RPM in /home/redhat/SRPMS.

Move the new RPM to your test machine and install it:

rpm -Uvh cyrus-sasl-1.5.24-<Whatever>.rpm

Make sure the "Use Secure Password Authentication" check box in Outlook is not checked.

Regards,

	Richard Siddall

P.S. Edward C. Bailey's "Maximum RPM" ISBN 0-672-31105-4 is a good introduction to making RPMs. IIRC, there's a PDF version out on his web site.