LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-27-2003, 12:45 PM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Angry Sendmail HELP PLEASE!


Hi all.

I am having a terrible few weeks. Argh. I run Red Hat 8.0 Professional for my server(DNS, samb, sendmail, etc). It is routing my home network(all Windows 2000 and XP) through a cable modem. All the Windows machines are running either Outlook or outlook express as an e-mail client. I know Linux fairly well, although I am hardly an expert. Here's my problem: I can recieve e-mail, but not send it from any of the Windows machines. When I try to send e-mail, I get the following error:

550 5.7.1 <blahblah@yahoo.com>... Relaying denied. IP name lookup failed [192.168.5.16]

I have looked everywhere on the web for a solution, but I am coming up empty. I'm fairly sure the answer lies somewhere in my sendmail configuration, although I cannot figure this out to save my life. E-mail is CRITICAL to me. I am going to college online and without e-mail, I'm dead, bottom line. Can anyone think of what the problem might be? Could anyone let me know some solutions you think I should try? I'd really appreciate it, everyone! Take it easy!

Chris
 
Old 03-27-2003, 02:45 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Are you suing the linux machine as the smtp server for the Outlook clients?
 
Old 03-27-2003, 03:31 PM   #3
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Senmail trouble

Yes, I am. IMAP protocol. I would like to change that to pop3, too, if it's relatively easy. If you could help me with that, too, that would be great!

Slainte!

Chris
 
Old 03-27-2003, 03:43 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I take it you are running your OWN mail server then and are not using one provided by your ISP. I think what you need to do is edit the /etc/mail/access file and give your local PC's access to use it as a relay. eg
192.168 Allow
would allow mail from the 192.168 network. After editing the access file you must convert it to database format:
makemap hash /etc/mail/access.db < /etc/mail/access
 
Old 03-27-2003, 04:17 PM   #5
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Sendmail

David,

My domain is bartlett-family.net and I already have that in the access file. Shouldn't that be enough? I will try to add the 192.168 subnet to the file. Then, I'll remake the db file. Should I add "192.168", "192.168.5", or "192.168.5.255"? Thanks for all your help!

Chris
 
Old 03-27-2003, 04:20 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
192.168 on its own should let any hosts on your 192.168 network send e-mail. I don't think the domain is enough unless all your computers have that set as their hostname.

You definately need to makke the db file after changing the access file. (you may need to restart sendmail - to be honest I can't remember)
 
Old 03-27-2003, 04:50 PM   #7
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Sendmail

THAT DID IT!!! I've been racking my brains about this for days! David, you are the man. I can't thank you enough. Now I just have to concentrate on the Samba!

Chris
 
Old 03-27-2003, 05:01 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Glad to help!

I have written in a couple of threads about samba lately (still doing one now) i'll keep an eye out if you ahve a problem
 
  


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
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 07:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM

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

All times are GMT -5. The time now is 01:38 AM.

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