LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-19-2004, 04:16 PM   #1
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Does the Slackware Sendmail support SASL authentication?


I'v asked this in another thread, but noone has answered, possibly because the subject wasn't clear enough.

So my question is: Is the Sendmail binary that comes with Slackwer 10.0 compiled with SASL support, or not?

I need my MTA to authenticate itself as a client against the relay host of my email provider. So: Can I just configure the Sendmail bundled with Slack 10 to support this, or do I have to re-compile it?

Thanks!

gargamel
 
Old 07-20-2004, 11:13 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
you need to recompile it with sasl support
 
Old 07-28-2004, 06:27 PM   #3
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Rep: Reputation: 38
I have the same exact problem, I don't mind recompiling sendmail but it's such a large and complicated program that I worry I will not include some option that is necessary to have it run smoothly. Is there anyway that I can find out just exactly what ./configure options were used to compile the slackware 10 version of sendmail so that all I have to do is just tack on SASL support? Thanks.

Last edited by SiegeX; 07-28-2004 at 06:29 PM.
 
Old 07-28-2004, 06:36 PM   #4
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
The scripts to build sendmail on Slackware are included in the source/n/sendmail directory.
 
Old 07-28-2004, 07:41 PM   #5
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Rep: Reputation: 38
Ok, ive been using slackware for awhile but ive never (re)built my own package before so let me spell out what I think I need to do and you tell me if this sounds good.
  • First and foremost, I need SASL support and for god knows why I can't seem to find any offical slackware package for SASL. So I guess my first task is to download and install either GNU or Cyrus SASL, I have no idea which is better to use, so if any of you have a recommendation I would appreciate that.
  • Ok, so now that I got SASL installed im going to copy everything in the "source/n/sendmail" directory to my hard drive.
  • Now I need to tell sendmail to compile in SASL support so Im going to add the following two lines to the "site.config.m4" file.
    Code:
    APPENDDEF(`conf_sendmail_ENVDEF', `-DSASL')
    APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
  • Now im not sure if I need to do this or not, but im guessing I should probably remove the existing "sendmail-8.12.11-i486-2" and " sendmail-cf-8.12.11-noarch-3" packages before proceding on.
  • Next, Im going to run the top-level script ./SlackBuild and cross my fingers that everything builds.

Here is where Im a bit unclear as to what happens next. Does the ./SlackBuild script compile, build *both* of the sendmail slackpacks I mentioned above, *and* install them? Or does it just compile and build the slackpacks which I have to manually install or does it just compile and not even make slackpackages?

Sorry for the long drawn out post but I want to make sure I "measure twice and cut once", and sendmail isnt the most user friendly app out there. Thanks!
 
Old 07-29-2004, 05:19 PM   #6
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Original Poster
Rep: Reputation: 242Reputation: 242Reputation: 242
I found it easier to compile Postfix with the options I need in the end...
It works well now. I just followed the docs that come with it.

But in fact I'd prefer not to have to compile an MTA from source for standard tasks. As many people need SASL for their MTA to authenticate as a client against an ISP relay host IMO it would be good if future Slackware versions would contain a Sendmail (or Postfix) MTA with SASL support compiled in as default.

Thanks for all your (good!) hints and tips.

gargamel
 
Old 07-29-2004, 05:27 PM   #7
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
gargamel

I think this is what you are looking for Sendmail

Pete
 
Old 07-30-2004, 06:06 AM   #8
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Original Poster
Rep: Reputation: 242Reputation: 242Reputation: 242
Yes, exactly, thanks.

gargamel
 
  


Reply



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
Slackware sendmail authentication [GOD]Anck Slackware 3 03-09-2006 09:47 AM
cyrus-sasl authentication problem nobu Red Hat 1 11-01-2005 06:54 PM
sendmail package for slackware built with SASL?? Demon333 Slackware 5 03-20-2004 06:49 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 09:45 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