LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-13-2007, 10:27 AM   #1
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Anyone want to help with sendmail on Slax?


Hi guys,

I added a couple of modules to the Slax website for stuff I thought people might find interesting. I've been playing around with Slax again recently and seeing how much I can do with a running live CD. For anyone who doesn't know, Slax is a Slackware-based live CD that comes in many different flavours from bare-bones boot CD to pretty full function KDE desktop and a few in the middle. It has all of the Slackware packaging tools like installpkg and pkgtool so it's trivial to port stuff over there, most of it needs no changes at all. Sometimes it's worth it to reduce the size of packages containing non-essential stuff and also some of the paths might need to be changed from the way you do stuff on a real Slackware system because of the way the in-memory filesystem works on Slax. Also sometimes I customise things for knowing that there's already a guest user, etc. so you can preconfigure things to make life simple for the noobs.

Sendmail comes with the Slax server edition and gets started but doesn't seem to send any mail. I don't know anything about sendmail so I don't know where to start looking. I posted some questions on Slax forums but most of the users are not sysadmins as you would expect of users of a live CD distro.

Basically what I want to be able to do is to use the sendmail on Slax server to send mail that's generated by certain mail clients. It doesn't have to be able to receive anything. If anyone wants to help out on this you can post here or email me from my profile. It will be nice to add features to Slax which is already a great live CD distro.

Thanks,
Randux
 
Old 06-13-2007, 12:43 PM   #2
tomcdyer
Member
 
Registered: Jun 2007
Location: Surrey, UK
Distribution: Slackware 11 (mainly), Vista, XP
Posts: 108

Rep: Reputation: 15
Hi,

I have tried to get sendmail to work before but i had other priorities so never got anywhere. I am willing to help, but i dont think that i can be extremely helpful. But 2 heads are better as 1 as the saying goes.
 
Old 06-13-2007, 12:51 PM   #3
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Hi Tom,

Thanks for your reply. If you've already gotten a copy of Slax server I can show you what I've got. If not and you care to have a look, then the best way to get started is to download and burn yourself a copy of Slax server here http://www.slax.org/download.php

It's approx. 200m. The torrents usually work pretty quickly as there are some very nice people with high bandwidth who usually keep it seeded.

Then you'll need to install Mixmaster client as I've configured it for Slax. You can get it from their site and install it as a module (uselivemod) or I can send you a package for installpkg, whichever you prefer. The simplest way to do all the playing round with modules and packages is if you have another machine on your lan that you can use as an NFS server. Else you'll be booting back and forth quite a bit and it's no fun.

You'll also need an editor. The simplest thing is to get vim from packages.slackware.it for the 10.2 version of Slackware and have it ready. If you don't know Vi, get Emacs. If you don't know Vi or Emacs we'll have to figure a way to test

Cheers,
Rand

Last edited by Randux; 06-13-2007 at 01:28 PM.
 
Old 06-13-2007, 04:25 PM   #4
tomcdyer
Member
 
Registered: Jun 2007
Location: Surrey, UK
Distribution: Slackware 11 (mainly), Vista, XP
Posts: 108

Rep: Reputation: 15
Hi,

I will do as you sergest, as i would like to get sendmail working as much as you.

I will not be able to find time untill saterday afternoon and sunday.

I know Vi so thats not a problem

Will start playing with it on Saturday and will post when im set up / any progress
 
Old 06-14-2007, 07:19 AM   #5
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by tomcdyer
Hi,

I will do as you sergest, as i would like to get sendmail working as much as you.

I will not be able to find time untill saterday afternoon and sunday.

I know Vi so thats not a problem

Will start playing with it on Saturday and will post when im set up / any progress
Right, it sounds like we've a plan then

After you've downloaded the Slax server edition and booted it you can get the Mixmaster module from the Slax site under modules > other. You can install it with "uselivemod modulename" and then you'll be ready to see if you'll get the same results as I've got. It may be better to use a package because the modules get mounted in an odd way and it's difficult to get a new one without rebooting. I can email you the package I made the module from. I'll try to send you a pm on this site now and see if it works.

Cheers
 
Old 06-14-2007, 08:25 AM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Have you tried using the sendmail.cf that gets installed with slackware? That seems to work out the box.
 
Old 06-14-2007, 12:26 PM   #7
tomcdyer
Member
 
Registered: Jun 2007
Location: Surrey, UK
Distribution: Slackware 11 (mainly), Vista, XP
Posts: 108

Rep: Reputation: 15
I have, but I could not get it to distribute at all. As i said i didn't realy give it a propper go
 
Old 06-15-2007, 07:58 AM   #8
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by dive
Have you tried using the sendmail.cf that gets installed with slackware? That seems to work out the box.
Hi Dive,

That sounds like something obvious to check DOH! but I never tried to get sendmail working on my Slack machines. I use webmail or a do-everything client. I'm sure Slax uses the same conf but I'll have a look now that you mention it.

I couldn't find any logs to see what the problem(s) were but my mail never went anywhere.
 
Old 06-15-2007, 08:08 AM   #9
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
I will gladly help. :], but as dive said bind that comes default works pretty much right out the box. I usually change the listen address and smart host and thats usually it.

Last edited by lord-fu; 06-15-2007 at 08:10 AM.
 
Old 06-16-2007, 01:11 PM   #10
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Original Poster
Rep: Reputation: 55
Do you need to have MX records and a static IP to send mail even if you don't want to receive any mails? And if the answer is yes, do need this even if the people you're sending mails to don't do any blacklist testing or filtering?

lordfu- remember we're talking about Slax Server here but I'll check the configs as Dive suggested

smart host is for smtp relay, right? and listen address is for receiving mails?

I'd like to be able to send mails to any of these smtps which are expecting mails but maybe smart host will be an option.

I did a cmp on the two sendmail.cf files and there are only a few differences mostly dates as Slax Server was using Slackware 10.2 and I've got 11.0 installed now. I think the configs are the same.

Last edited by Randux; 06-16-2007 at 01:33 PM.
 
  


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
slax jan1024188 Slackware 1 08-16-2006 12:50 PM
grub commands for slax /slax frodo Paridoth Linux - General 2 07-15-2006 11:05 PM
Got Slax? DrEwMoNeY Linux - Games 1 03-16-2006 11:51 AM
Regarding Slax subaruwrx Slackware 3 12-22-2004 09:50 AM
slax ! i m gr8 Linux - General 10 04-17-2004 04:19 AM

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

All times are GMT -5. The time now is 11:37 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
Open Source Consulting | Domain Registration