LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Does the Slackware Sendmail support SASL authentication? (https://www.linuxquestions.org/questions/slackware-14/does-the-slackware-sendmail-support-sasl-authentication-207101/)

gargamel 07-19-2004 04:16 PM

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

Finlay 07-20-2004 11:13 PM

you need to recompile it with sasl support

SiegeX 07-28-2004 06:27 PM

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.

rotvogel 07-28-2004 06:36 PM

The scripts to build sendmail on Slackware are included in the source/n/sendmail directory.

SiegeX 07-28-2004 07:41 PM

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!

gargamel 07-29-2004 05:19 PM

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

Pete M 07-29-2004 05:27 PM

gargamel

I think this is what you are looking for Sendmail

Pete

gargamel 07-30-2004 06:06 AM

Yes, exactly, thanks.

gargamel


All times are GMT -5. The time now is 04:27 PM.