On Tue, Dec 21, 2004 at 09:06:20PM +0100, Andrea Vettorello wrote: > On Tue, 21 Dec 2004 14:52:13 -0500, Charles Read > <[EMAIL PROTECTED]> wrote: > > I am trying to run a postfix with sasl support on my Debian box. I > > have tried apt-getting all sasl packages and saslauthd is nowhere to be > > found on my system... how has everybody else done it? Also, I know > > postfix has to be compiled with sasl support for it to work... how can > > I do this with apt-get? Is it automatically done when I apt-get the > > postfix package or how does that work? > > With Sarge you find "saslauthd" in the sasl2-bin > (http://packages.debian.org helps), don't recall if Postfix has > support for sasl, if you need to compile the package look in the > apt-get manual for the "source" command. After apt download and unpack > the source archive you need to modify the option as suits you better > and finally you create the package. > > When configuring postfix, keep in mind that it runs chrooted.
There should be no need to compile sasl support into postfix on sarge. The only major issue I ever ran into was with the postfix chroot. Make sure you have installed the sasl2 packages, and not the older versions. I wrote up a guide (mostly for my own use in the future) that goes through installing postfix and sasl, along with a few other packages such as Cyrus-IMAP. It isn't too well formatted but it does work if you're willing to read through. //http://www.steveblock.com/2004/12/01/debian-sarge-mail-system/ I encrypt all my connections over SSL or TLS, so there is quite a bit about getting that working. I took care of my chroot issues as follows: Change the saslauthd location in var # dpkg-statoverride --remove /var/run/saslauthd # dpkg-statoverride --add --update \ root sasl 710 /var/spool/postfix/var/run/saslauthd edit the file /etc/init.d/saslauthd. Add the line below to the top of the file PARAMS="-m /var/spool/postfix/var/run/saslauthd" change PWDIR to /var/spool/postfix/var/run/saslauthd change PIDFILE to "/var/spool/postfix/var/run/${NAME}/saslauthd.pid" go down to the start) case and add the lines rm -rf /var/run/saslauthd ln -s /var/spool/postfix/var/run/saslauthd /var/run/saslauthd after the line: 'test -z .$dir. || createdir $dir' That is all on that page, but it isn't as obvious as it should be. Those changes should allow any package that wants to talk to saslauthd at the usual location to do so, and also keep postfix from complaining. I hope this helps some with your query. -- Steve Block http://ev-15.com/ [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]