|
From: Friedrich L. <fl...@fl...> - 2005-03-13 00:46:31
|
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... -- MfG / Regards Friedrich Lobenstock ____________________________________________________________________ Friedrich Lobenstock Linux Services Lobenstock URL: http://www.lsl.at/ Email: fl...@fl... ____________________________________________________________________ |