LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2003, 10:25 AM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
I really need help getting sendmail to work right. Please help!


Hi all,

I have an RH 8 box that is the DNS, samba, DHCP, etc server for a network of otherwise Windows machines. The Linux server has a hostname of goliath and is also my internet gateway. I have everything running axectly as I want it, except sendmail. My other networked machines are all running Outlook ot Outlook Express, but none of them can connect to the mail server. Sendmail is RUNNING fine on the box, but I have obviously configured it wrong. I really need to get this working ASAP, because without e-mail access, I am dead in the water! I know very little about sendmail, but I am learning it. I wonder if any of you could help me setup sendmail. What about all the other files in the /etc/mail directory like access, mailertable, etc... I need to ensure I have everything correct (which I obviously don't). Could someone please help me out? I just need to get this working asap. Thanks a million!

Chris

PS. The error I get from Outlook is:


Task 'goliath - Sending and Receiving' reported error (0x80042109) : 'Outlook is unable to connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'

Last edited by WorldBuilder; 05-14-2003 at 10:26 AM.
 
Old 05-14-2003, 11:43 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
I think that this was the same error I got. You have to have a pop3 deamon running along with sendmail. If you have a port scanner like nmap, then do a scan and see if you have pop3 and smtp running. If they are not running start them. Also I think that send mail email addresses defalt to username@servername.mydomain.com.
 
Old 05-14-2003, 12:08 PM   #3
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
I dunno if I have a pop3 daemon running. In the /etc/xinetd.d/ipop3 file, I set the "disabled = yes" setting to "no" and restarted the xinetd service. That didn't change anything. Apparentley, I have nmap, but I have never used it. Could you let me know what the command would be to do what you want me to do? Thx.

Chris
 
Old 05-14-2003, 12:14 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Type nmap <sever's ip number> at the command line. Also you should have a control panel like app that has a services icon. That is an easy way to start and set the startup time of the deamons.
 
Old 05-14-2003, 12:19 PM   #5
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
# nmap localhost


that should do the trick
 
Old 05-14-2003, 12:20 PM   #6
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
tangle beat me to it..lol
 
Old 05-14-2003, 12:22 PM   #7
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Thanks, Fellas... Ok, pop3 and smtp are both on open ports according to nmap. What next can you think of that I might be missing in sendmail. I REALLY need to get this working, so if you can help, please do! Thanks!!

Chris
 
Old 05-14-2003, 12:33 PM   #8
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Did you try changing the email address in outlook to <username>@<mail server name>.<domain name>.com. Sendmail defaults to putting the sever name in front of the domain name. Don't know why, but it does.
 
Old 05-14-2003, 12:39 PM   #9
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Nah, I haven't tried that, but to tell you the truth, I don't want to. I had this running in the past and I didn't have to do that. There must be something in sendmail that I can play with so I won't have to do that.

Chris
 
Old 05-14-2003, 12:48 PM   #10
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
No I did not mean to keep it that way. There is a place in the config file that you can change. I meant just to it to see if it works. That way you know if it is working.
 
Old 05-14-2003, 02:09 PM   #11
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Ok, I've played around with a few things and so far as to get this error message from Outlook:


Task 'goliath - Sending' reported error (0x800CCC78) : 'Unable to send the message. Please verify the e-mail address in your account properties. The server responded: 451 4.1.8 Domain of sender address chris@bartlett-family.net does not resolve'

Things seem to be working a little better, but I am still working on it. Can anyone tell me what I might need to do to get sendmail working completely? Thanks a million!

Chris

It seems to me that there is obviously a problem with how sendmail is interacting with DNS, but I don't even know where to start looking! Also, the really weird thing is that if I don't have any mail to SEND from Outlook, the whole send/recieve process says "Completed" just fine! What's going on! My domain is bartlett-family.net, and I noticed that in my sendmail.cf file, there is NO instance of "bartlett-family" anywhere. HELP!!

Last edited by WorldBuilder; 05-14-2003 at 02:14 PM.
 
Old 05-14-2003, 04:43 PM   #12
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Ok - run through these checkpoints for starters.
1) Is bartlett-family.net in the "/etc/hosts" file?
2) Is bartlett-family.net in the "/etc/mail/local-host-names" file?

If there is still a problem then try adding these 2 lines:
MASQUERADE_AS(bartlett-family.net)
MASQUERADE_DOMAIN(bartlett-family.net)

to the bottom of sendmail.mc then convert to sendmail.cf
 
Old 05-14-2003, 04:52 PM   #13
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Cheers for the Affero! - Don't forget to restart sendmail:
service sendmail restart
 
Old 05-14-2003, 05:14 PM   #14
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
David, thank you very much. I will try all that when I finish dinner and then bathe my son. Give me about an hour and a half total and I will try that. Some of the things you mentioned I do not have so that might be it. I will let you know. As soon as I take some care of some things professionally, you will see a lot more than just a comment in your Affero. You are the man and deserve all I can provide. Thank you!

Chris
 
Old 05-14-2003, 07:00 PM   #15
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
David,

Ok, I did what you said, and good news!!!! It's "sort of" working. What I mean is this:

I have sent several test e-mails from my e-mail address (chris@bartlett-family.net) to my Yahoo! address, and they have gotten there!!!

However, I have sent several test e-mails FROM my Yahoo! address to chris@bartlett-family.net over the last few hours, and NONE of them have made it. I can't thank you enough for your help thus far, but can I pick your brain about that issue? Hope all is well!

Chris

PS. Also, the whole process in Outlook of sending/recieving e-mail does seem to go very slow now. The status bar bounces up to 100%, even though no e-mail actually gets sent (because it's still in my outbox). Then, it drops back to 66%, then finally sends the e-mail and completes. Do you know why this may be also?

PPS. I can send AND recieve e-mail INSIDE my home network, in other words: chris@bartlett-family.net can send an e-mail to sokhan@bartlett-family.net, sokhan can reply, and everything gets delivered just fine. Mail coming from outside the network doesn't seem to be getting through.

Last edited by WorldBuilder; 05-14-2003 at 07:46 PM.
 
  


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
sendmail does not work with cron random_acts Linux - Software 15 04-12-2021 07:31 PM
Sendmail on RedHat 9 does not work axelwing Linux - Networking 1 07-23-2005 01:04 AM
getting sendmail to work djgerbavore Linux - Newbie 7 05-26-2005 08:59 PM
Sendmail won't work at all? thrash.tux Linux - Software 1 04-27-2004 04:55 AM
Sendmail Does Not Work! edhan Linux - General 3 10-15-2003 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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