LinuxQuestions.org
Visit Jeremy's Blog.
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 10-07-2004, 01:37 AM   #1
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Question Need some help trying to get SMTP Authentication to work with Sendmail


I finally got sendmail configured to let me send and recieve mail to and from user@mydomain.com on my server. I'm also able to check my mail using a program like Kmail, but I'm not able to send(from Kmail, I can send fine from the console). I did some searching and the problem seems to be that I don't have SMTP authentication enabled on my server. I found on the sendmail site that I needed to install Cyrus SASL, which I did. After that it says to compile sendmail with the correct options. This is the part that's confusing me.

There are two documents that I've been trying to use, this one http://www.sendmail.org/~ca/email/auth.html and this one http://www.sendmail.org/compiling.html#BuildingSendmail. It says to add these two lines to my site.config.m4 file(which doesn't exist):
Code:
APPENDDEF(`confENVDEF', `-DSASL')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
I have tried adding them to my cf.m4 file and then running
Code:
m4 /usr/share/sendmail/cf/m4/cf.m4 config.mc > /etc/mail/sendmail.cf
and then restarting Sendmail, but I get an unknown configuration line error for those two lines. I have also tried adding those lines to my config.mc file, but I still get the same error.

I guess my question is, do I need to actually recompile Sendmail from source to get this option to work? Do those commands maybe need to go in a certain spot in the file? Any help would be appreciated. Thanks.

Last edited by blk96gt; 10-07-2004 at 01:40 AM.
 
  


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
sendmail + smtp authentication omid1979 Linux - Networking 1 10-30-2005 10:12 AM
SMTP Authentication jademan83 *BSD 0 10-04-2005 12:20 PM
SMTP Authentication ( Sendmail ) Devyn Linux - Software 0 02-17-2005 07:42 PM
smtp authentication ashfaq Linux - Software 1 02-25-2004 01:59 AM
Sendmail SMTP Authentication RKris Linux - Software 2 05-29-2003 07:13 AM

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

All times are GMT -5. The time now is 03:55 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