-   Slackware (
-   -   sendmail package for slackware built with SASL?? (

Demon333 02-24-2004 11:50 AM

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?'s ones are pretty complex!!

benjithegreat98 02-24-2004 12:47 PM

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.

Demon333 02-24-2004 06:57 PM

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?

Demon333 02-24-2004 07:33 PM

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?

benjithegreat98 02-24-2004 09:04 PM

You also have to download and install cyrus sasl
Here it is:

there are instructions in the package.

You should probably pay attention to this line from

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

bulzbb 03-20-2004 07:49 PM


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 07:39 AM.