LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-24-2004, 10:50 AM   #1
Demon333
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
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
 
Old 02-24-2004, 11:47 AM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
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.

Last edited by benjithegreat98; 02-24-2004 at 11:48 AM.
 
Old 02-24-2004, 05:57 PM   #3
Demon333
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 02-24-2004, 06:33 PM   #4
Demon333
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 02-24-2004, 08:04 PM   #5
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
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
 
Old 03-20-2004, 06:49 PM   #6
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10.2 and sendmail with sasl problem mago Slackware 1 11-03-2005 10:49 AM
Does the Slackware Sendmail support SASL authentication? gargamel Slackware 7 07-30-2004 06:06 AM
SMTP AUTH, SASL and Sendmail not getting along prozach Linux - Software 0 12-02-2003 05:10 PM
Sendmail compiled with SASL gmartin Slackware 0 11-24-2003 08:41 PM
question about sasl for sendmail lzyking Linux - Software 1 12-04-2002 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration