LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2003, 02:54 AM   #1
asterix_hax0r
LQ Newbie
 
Registered: Dec 2003
Posts: 21

Rep: Reputation: 15
Help with Slackware and Sendmail


I have Slackware 9.0 installed, and I'm trying to get sendmail and a pop3 server setup with my domain name. I have researched quite a bit, but havent got much out of it. I know that I need to edit something in the sendmail.mc file which I do not have. If someone could help me out it would be gladly appreciated.
 
Old 12-17-2003, 09:20 AM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
You do have it. That is, if you installed everything. I am running slack9.1 and it is located in /usr/share/sendmail/cf/cf/.

I copied the sendmail-slackware.mc file to /etc/mail and renamed it to sendmail.mc. After that you need to edit the path to the cf.m4 file. mine originally said

include(`../m4/cf.m4')

so I changed it to

include(`/usr/share/sendmail/cf/m4/cf.m4')

And I was happy.
 
Old 12-17-2003, 10:03 AM   #3
asterix_hax0r
LQ Newbie
 
Registered: Dec 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Well I found a file named generic-linux.mc, but there is no sendmail-slackware.mc. I have Slackware 9.0.
 
Old 12-17-2003, 10:20 AM   #4
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
hmm. I just looked at that file and it is pretty bare. Have you ever heard of swaret? It is a program that will upgrade packages for you for slackware (kind of like up2date or apt, I believe). You can download and install it and tell it to upgrade the sendmail packages. You will have to change a setting in the /etc/swaret.conf, but it is pretty well documented. Tell it to upgrade for slack9.1 and the do swaret --upgrade sendmail (I think that would be the proper command). After that you can change it back to slack9.0 and use swaret to keep your system current.

Plus it will get you to the current version of sendmail which I believe does have some security fixes that you need. If that was too involved you can look for someone else's sendmail.mc on the net and create your own. It will need to be edited, probably.

Or if you want to be 133t you can edit your sendmail.cf file, but I wouldn't recomend it.

Last edited by benjithegreat98; 12-17-2003 at 10:22 AM.
 
Old 12-17-2003, 10:32 AM   #5
asterix_hax0r
LQ Newbie
 
Registered: Dec 2003
Posts: 21

Original Poster
Rep: Reputation: 15
I dont have swaret either.....
 
Old 12-17-2003, 10:38 AM   #6
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
http://www.swaret.org/ download and install it

http://www.swaret.org/?menu=downloads
and get v1.6.0. Its a good program and its worth it just to keep your system up to date.
 
Old 12-17-2003, 07:14 PM   #7
asterix_hax0r
LQ Newbie
 
Registered: Dec 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Ok... well that helped quite a bit, thanks. I still have a problem though, I have read throgh tons of documentations and still can't seem to get sendmail and a pop3 server running quite right. What I want to get done is have my own mail server, and people can connect to it from their windows outlook express client, and I want their login names to be the login names they have on my server, aka. their linux account is bob and their pass is cats, then their user is bob, and their pass is cats, plus their e-mail addy would be bob@blacklighthosting.com. I know this is asking a little much on these forums, but if anyone has the time to help, please write back asap.
 
Old 12-17-2003, 09:35 PM   #8
asterix_hax0r
LQ Newbie
 
Registered: Dec 2003
Posts: 21

Original Poster
Rep: Reputation: 15
No one knows?
 
Old 12-17-2003, 11:50 PM   #9
asterix_hax0r
LQ Newbie
 
Registered: Dec 2003
Posts: 21

Original Poster
Rep: Reputation: 15
cmon people, post lol.
 
Old 12-18-2003, 12:26 AM   #10
pcca
LQ Newbie
 
Registered: Dec 2003
Location: Malaysia
Posts: 4

Rep: Reputation: 0
Have you check out the /etc/inetd.conf...
make sure the port for your smtp and pop3 is unmark and running
 
Old 12-18-2003, 09:13 AM   #11
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
What exactly is not functioning as intended. Can you simply not log in using a pop client? Do you know if it will send/recieve mail? If the mail client can't log in then you need to do as pcca said and check that file and then type /etc/rc.d/rc.inetd restart
 
Old 12-18-2003, 10:05 AM   #12
asterix_hax0r
LQ Newbie
 
Registered: Dec 2003
Posts: 21

Original Poster
Rep: Reputation: 15
There is nothing about the smtp service in inetd.conf.
 
Old 12-18-2003, 11:11 AM   #13
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
that's ok. If you want to test if smtp is running correctly type (preferably from another *nix box
telnet 10.1.1.1 25 (where 10.1.1.1 is the box running sendmail)

after that type (you may not be able to see what you are typeing if from windows but you are typing)

helo benji.com
mail from:<joe.blow@yahoo.com>
rcpt to:<you@blacklighthosting.com>
data
this is a test of the emergency broadcast system
.


If you get it in your box the smtp is working. If you have turned pop on then you should get it in you outlook inbox after you recieve you messages.
 
Old 12-18-2003, 05:39 PM   #14
asterix_hax0r
LQ Newbie
 
Registered: Dec 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Hmmm, I beleive I was able to telnet into it before... I'm not able to now though.
 
Old 12-18-2003, 05:48 PM   #15
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Ok you also need to check your access file (/etc/mail/access).

It should have your IP address and OK

10.1.1.1 OK
or
10.1 OK

after that type (from /etc/mail)

makemap hash access < access

No need to restart sendmail. Now you can try to telnet again. Hopelfully that's all it is.
 
  


Reply


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
Slackware 10 - Sendmail won't Send?? :'( Vald0r Slackware 1 02-23-2005 07:51 AM
Slackware and Sendmail mikz Slackware 2 12-28-2004 11:09 AM
SendMail in Slackware 10 moleno Linux - Software 2 09-27-2004 02:26 PM
where is sendmail.mc in slackware 9.0 ? parad0xx Slackware - Installation 1 05-23-2004 07:10 PM
sendmail in slackware MikeeX Linux - Newbie 8 03-26-2002 01:51 PM


All times are GMT -5. The time now is 03:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration