SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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).
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.
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 .
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
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?
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.
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):
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?
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.
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).
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 .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.