sendmail package for slackware built with SASL??
Does anyone know if there is a Sendmail package for slackware which has SASL built in? Or do I have to compile my own sendmail? If so, are there any how-to's on how to compile/install? sendmail.org's ones are pretty complex!!
Cheers |
http://www.sendmail.org/compiling.html#SASL
There's what sendmail says. Basically you add the lines: APPENDDEF(`conf_sendmail_ENVDEF', `-DSASL') APPENDDEF(`conf_sendmail_LIBS', `-lsasl') to sendmail/devtools/Site/site.config.m4 (you may have to create the file) In the sendmail/ directory, build the source: sh Build NOTE: If this is not the first build in this directory tree, and you have changed or created any of the configuration files in the devtools/Site directory since the last build, use the -c option ("sh Build -c") to clear the previous build configuration. This may be the case if you forgot the site.config.m4 file the first time, or if your distribution preinstalled sendmail without milter support. But as always, I'd read the instructions from the horse's mouth before you take my word for it. |
OK well I have created the file /usr/share/sendmail/cf/siteconfig/site.config.m4 as the path you suggested didnt exist.
In sendmail/ sh Build -c returns "no such file or dir" Does that mean I need to download the source? If so, how do i uninstall the old version of sendmail before installing the new? Thanks |
OK scratch that last reply :P
Ive downloaded the latest 8.12.11, but on building i get the "sasl.h: no such file or directory" and "saslutil.h no such file...." errors... Do i need to patch the source? |
You also have to download and install cyrus sasl
Here it is: ftp://ftp.andrew.cmu.edu/pub/cyrus-m...-2.1.17.tar.gz there are instructions in the package. You should probably pay attention to this line from http://www.sendmail.org/compiling.html#SASL If you have installed the Cyrus SASL library and include files in a location that your C compiler doesn't use by default you should set confINCDIRS and confLIBDIRS as explained in the first section: Building Sendmail |
Hi,
I have the same problem. I have installed cyrus-sasl. Now, where do I need to create site.config.m4 files in? Is it /usr/share/sendmail/devtools/Sites/site.config.m4 ? And when that's done, do I run 'sh Build' in /usr/share/sendmail ? Because whey I type 'sh Build' in /usr/share/sendmail directory, I get: Build: Build: No such file or directory Thanks. :) |
All times are GMT -5. The time now is 12:48 AM. |