|
From: Heiko Z. <he...@zu...> - 2005-03-13 16:27:32
|
Friedrich Lobenstock wrote: > Hi! > > I was just trying to get postfix on DL 1.2.3 to use saslauth with > rimap authentication. > > I did fail to configure smtpd to use the saslauthd. As a workaround I > had to do: > > cp -a /usr/lib/sasl2/ /tmp/ > mount -t shm shm /usr/lib/sasl2/ > cp -a /tmp/sasl2/* /usr/lib/sasl2/ > > to get a writeable /usr/lib/sasl2/ directory. There I could then put > the "smtpd.conf" file to tell postfix to use saslauthd. > > I found that someone created a patch so this file would then be stored > at eg. /etc/postfix/sasl which is definitely writeable on DL. > > Get the patch at > <http://archives.neohapsis.com/archives/postfix/2005-03/0397.html> > > Following that thread I've come to "plan B" (if you don't like to add > a patch): > step 1) > Add > export SASL_PATH=/etc/postfix/sasl:/usr/lib/sasl2 > somewhere at the start of /etc/init.d/postfix. Preferably > direct after "PACKAGE_NAME=POSTFIX". > > > step 2) > Update postfix config by running > postconf -e "$(postconf -d | grep import_environment | sed \ > -e "s/$/ SASL_PATH/")" > > Now one can put postfix sasl config files like "smtpd.conf" at > /etc/postfix/sasl as the original destination /usr/lib/sasl2 is quite > write protected as it's on the CD. > > PS: This is just step closer as I now got saslauthd talk to the imap > server BUT there some other problems there. Updates to come... > I did a quick test with the patch and it fails only in 1 place for the currently used Postfix 2.1.5. Postfix 2.2.0 has 2 rejects. This wouldn't be hard to fix. Do you want us to wait until you're further down the road with your implementation ? -- Regards Heiko Zuerker http://www.devil-linux.org |