|
From: Heiko Z. <he...@zu...> - 2005-10-24 22:42:33
|
Added to DL 1.2 and 1.3 Thanks for the patch ! Heiko On Fri, September 16, 2005 16:37, Martin Glazer wrote: > On September 12, 2005 09:56, Heiko Zuerker wrote: > >> On Mon, September 12, 2005 10:40, Martin Glazer wrote: >> >>>> On Sun, September 11, 2005 22:55, Martin Glazer wrote: >>>> >>>>> On September 11, 2005 19:38, Heiko Zuerker wrote: >>>>> >>>>>> On Fri, September 9, 2005 18:29, Martin Glazer wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> There is still an issue with postfix using saslauthd in the >>>>>>> latest devil-linx - the problem is that cyrus-sasl puts its >>>>>>> configuration file smtpd.conf in /usr/lib/sasl2/ which of >>>>>>> course is non writable on the CD. >>>>>>> >>>>>>> There are a number of possible solutions to this: >>>>>>> 1) Friedrich's solution of exporting the SASL_PATH in postfix >>>>>>> (see: >>>>>>> http://sourceforge.net/mailarchive/message.php?msg_id=11144397 >>>>>>> ) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> 2) cyrus-sasl-configdir patch >>>>>>> - found a gentoo patch here >>>>>>> http://prometheus.cs.wmich.edu/gentoo/rsync/dev-libs/cyrus-sas >>>>>>> l/fi les/ cyr u s-sasl-2.1.20-configdir.patch which appears to >>>>>>> apply cleanly >>>>>>> >>>>>>> 3) Create a symlink from /usr/lib/sasl2 to somewhere >>>>>>> writeable (in >>>>>>> /etc) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Anybody have a preferred method of resolving this? >>>>>>> >>>>>> >>>>>> We probably should think about using the patch, because the >>>>>> symlink would require us to move the libraries too. >>>>> >>>>> Sorry, I wasn't clear - all that needs to be symlinked is the >>>>> config file smtpd.conf, no libraries. >>>>> >>>>> ln -sf /usr/lib/sasl2/smtpd.conf /etc/sasl/smtpd.conf >>>> >>>> I'm lagging the knowledge about sasl, but wouldn't there be other >>>> instances, where somebody would have more then this one config file? >>>> >>> >>> I've been trying to look further into the documentation and it does >>> appear that there may be times when there is more than 1 config file - >>> this depends on what application is actually going to be using sasl. >>> >>> >>> In our case, as far as I'm aware, postfix is the only application >>> that may use sasl, hence the smtpd.conf file and only the need for us >>> to "move" this one file. >>> >>> >>> Are there any other application on DL that use sasl? >>> >> >> That's a definite maybe. ;-) >> >> >> I'm almost certain that quite a few more apps are configured to use >> SASL. >> Because of this, I would favor the patch. >> > > OK, attached is the patch for the build/scripts/cyrus-sasl script as well > as a sample smtpd.conf file (to be placed in build/scripts/scripts). > > Also, the actual cyrus-sasl configdir patch is attached. This should be > placed in the src directory. I obtained this from one of the Gentoo > mirrors for cyrus-sasl-2.1.20 > http://prometheus.cs.wmich.edu/gentoo/rsync/dev-libs/cyrus-sasl/files/ > > > Thanks > > > Martin > > -- Regards Heiko Zuerker http://www.devil-linux.org |