LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-25-2005, 10:19 AM   #91
LOLobo
Member
 
Registered: Dec 2004
Location: Los Angeles
Distribution: Slackware 10.0 & 11.0
Posts: 31

Rep: Reputation: 16

Sorry JFalstaff. I don't have the answer to the second question. It does seem that mutt uses (for Slack) the Pico editor, in which you can change the source email (sender) if need be.

I also gave up on Pine with the SBC account (I also use gmail and another POP3 account with Mutt).

Mutt just seemed to work. And I'm happy with it.
 
Old 07-25-2005, 11:41 PM   #92
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 38
Hi guys, glad to see this thread is still active and you are still finding this Howto usefull.

Some good news, it seems that in the last few days Slackware -current has added Sendmail 8.13.4 compiled with SASL support!. So it looks like half of my Howto just became obsolete In anycase, I removed my custom-compiled slackware package and used the new sendmail-8.13.4-i486-1.tgz (as well as cyrus-sasl-2.1.21-i486-1.tgz) and restarted sendmail and everything works great with my existing cf file!

As far as pine not working but mutt does, I have no idea. I just tried pine right now and it worked fine with SMTP auth via SMART_HOST to my SBC account.

One thing I noticed is that it didnt say Mech=PLAIN (which is what my SBC has always used). So just doublecheck you have these two lines in your .mc file.
Code:
define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
As well as these two lines in your /usr/lib/sasl2/Sendmail.conf file
Code:
pwcheck_method: saslauthd
mech_list: LOGIN PLAIN
 
Old 08-02-2005, 12:52 PM   #93
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
SiegeX (or any one of you Slackware/Sendmail gurus), could you please help me out here?

I'm using Slack 10.1 and the version of Sendmail that came with it (8.13.3) and all I want to do is be able to use that server to send messages to the outside world (eg. joe_bloggs@hotmail.com), instead of my ISP's server. That's possible, isn't it? I'm not sure what I need to do. Sendmail accepts the messages from my mail client (Mozilla) or PHP scripts I have, but the sending of them fails because of "host name lookup failure" errors. I haven't found anything that can help me with this.

I tried to go through your tutorial, Siege, but I got stuck trying to run ./configure on cyrus-sasl. I get the error message, "configure: error: invalid variable name: --with-saslauthd". This happens with both cyrus-sasl-2.1.21 and cyrus-sasl-2.1.19.

Like I said, I just want to be able to have a working Sendmail server, one that will let me email the world . Am I doomed to failure? If anyone can help, thanks much .
 
Old 08-02-2005, 04:12 PM   #94
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 38
Post the section of the /var/log/maillog that pertains to your errors.

Also, if you are using slackware there is no longer a need to compile either SASL or Sendmail, just go grab the cyrus-sasl and sendmail 8.13.4 from a slackware -current mirror and 'installpkg' those.

Seems to me your server might not have its DNS set up right so it doesnt know how to resolve the hostnames to IP's
 
Old 08-02-2005, 04:18 PM   #95
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Here's one example from /var/log/maillog:

Aug 2 21:14:06 nick sm-mta[3928]: j6T7tRZE002429: to=<n@gmail.com>, delay=4+12:18:38, xdelay=00:00:00, mailer=esmtp, pri=10026871, relay=gmail.com., dsn=4.0.0, stat=Deferred: Name server: gmail.com.: host name lookup failure

I don't have a DNS server on my machine, it's using our router as a nameserver (which is getting its DNS info from our ISP, I presume?).

So it's ok to use the packages for -current even though I'm using 10.1? I can just removepkg both the sendmail packages that came with my version and install the new ones then?

Thanks.

Last edited by Nylex; 12-06-2006 at 11:14 AM.
 
Old 08-03-2005, 12:53 AM   #96
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 38
Give me the output of this command
Code:
cat /etc/resolv.conf
Note there is no 'e' in resolv.conf.

Yes, the -current sendmail package as well as the cyrus-sasl package should work just fine.
 
Old 08-03-2005, 01:24 AM   #97
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
resolv.conf contains:

nameserver 10.0.0.138
search lan
 
Old 08-03-2005, 01:47 AM   #98
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 38
Im assuming 10.0.0.138 is IP of your router yes? In anycase whats the output of this:
Code:
nslookup gmail.com 10.0.0.138
 
Old 08-03-2005, 01:54 AM   #99
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yep, it is. Output is:

Server: 10.0.0.138
Address: 10.0.0.138#53

Non-authoritative answer:
Name: gmail.com
Address: 64.233.171.107
Name: gmail.com
Address: 216.239.57.107
Name: gmail.com
Address: 64.233.161.107
 
Old 08-03-2005, 02:09 AM   #100
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 38
Read this link http://davespicks.com/writing/progra...upfailure.html That may very well be your problem.

Also, one thing to note is that if you are on a residential IP netblock (ie you are using non-commercial DSL or Cable) then even if you get this to work, id say about 40% of your mail will be dropped by many SMTP servers in attempts to stop spam which mostly come from hijacked residential computers. For this reason, I use SMART_HOST which is explained in the FAQ.

Last edited by SiegeX; 08-03-2005 at 02:11 AM.
 
Old 08-03-2005, 02:38 AM   #101
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Thanks for the link. I got stuck with this bit:

Quote:
The almost-final step is to turn on mailertable support in sendmail. So log in as root, go to /usr/share/sendmail/cf and edit up the .mc file, adding the following line (note that the funny quotes here are important):

FEATURE(`mailertable', `hash /etc/mail/mailertable')

Once thatís done, and youíve copied the resulting sendmail.cf file over to /etc/mail, just restart sendmail.
There was no .mc file in my /usr/share/sendmail/cf folder. There was a sendmail-slackware.mc in /usr/share/sendmail/cf/cf. I edited that and changed the line:

FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db') to the one above and then I tried to follow these instructions:

cp sendmail-slackware.mc /usr/share/sendmail/cf/config.mc
cd /usr/share/sendmail/cf
sh Build config.cf

I get an error with the last line, saying, "sh: Build: No such file or directory".

Is it better just to start over with the newer version of Sendmail, SASL and use SMART_HOST?

Thanks again.
 
Old 08-03-2005, 02:55 AM   #102
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 38
Quote:
Is it better just to start over with the newer version of Sendmail, SASL and use SMART_HOST?
Yes
 
Old 08-03-2005, 03:26 AM   #103
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Last question: for packages that weren't installed when Slack was installed, they won't show up in /var/log/packages, will they? I installed Webmin with pkgtool and it doesn't appear there, so I couldn't remove it if I wanted to. I guess if I wanted to remove Sendmail after installing it from the new packages, I'd not be able to remove it. I can of course remove the Sendmail packages I've got installed now.
 
Old 08-03-2005, 03:34 AM   #104
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Yes, if you installed a Slackware package using pkgtools it should show up in /var/log/packages, check if the package contains caps (it should be at the beggining).
 
Old 08-03-2005, 03:39 AM   #105
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Thanks, gbonvehi. My new sendmail-* packages and cyrus-sasl-* are installed and they're there in /var/log/packages. Now I can go through the how-to, hopefully .

Last edited by Nylex; 08-03-2005 at 03:55 AM.
 
  


Reply

Tags
att, auth, dsl, howto, sendmail, smtp, ssl, yahoo


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
DISCUSSION: Sendmail SMTP AUTH Howto SiegeX LinuxAnswers Discussion 10 09-17-2007 08:49 PM
sendmail 8.13.4-2 smtp auth nightmare kz26 Linux - Security 1 10-30-2005 02:57 PM
Sendmail SMART_HOST + SMTP AUTH Howto SiegeX Slackware 15 09-06-2004 02:42 AM
SMTP Auth for sendmail wolftechmn Linux - Networking 4 11-27-2003 02:17 PM
Sendmail / SMTP Auth cleaner416 Linux - Networking 3 10-06-2003 11:40 AM


All times are GMT -5. The time now is 05:33 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration