?
Solved

Can't send mail from 95 wks

Posted on 1998-12-15
4
Medium Priority
?
196 Views
Last Modified: 2013-12-15
I'm running a server under Red Hat 5.2 and with Sendmail 8.9.1. From the server, i can send and recieve mail to internet or intranet.
But from 95 station, i can't send mail to intranet. but i can receive mail from internet.

When I tried to send a mail, i got an error telling me that
it can't relay the mail to the host (it was caramail; my account for e-mail test :)  )

Any idea would be welcome.
I must admit that it's my first time as an admin and you can consider me as a newbie .
0
Comment
Question by:jacoby
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:kathotia
ID: 1631920
It seems that the relayhost setting in your sendmail configuration file is not setup properly

Edit the file /etc/sendmail.cf

find the entry #DSyourrelayhost

edit this entry by removing the # sign and putting your ISP's mail host name in place of yourrelayhost after DS

Restart sendmail and you are done



0
 
LVL 1

Author Comment

by:jacoby
ID: 1631921
Thanks Kathotia, but i haven't any #DSyourrelayhost entry
The Only entry that contains relay is
# "Smart" relay host (may be null) . I tried to put mail host name here but it changed nothing ?
The exactly error is : (from SMTP) 551 we could not relay

If i have to add an entry in /etc/sendmail.cf, please just tell me what to put exactly and where?

Thanks.
0
 
LVL 1

Accepted Solution

by:
kathotia earned 200 total points
ID: 1631922
If you do not have the entry as stated earlier go ahead and add it and try
0
 
LVL 1

Author Comment

by:jacoby
ID: 1631923
Great. I don't know what was wrong the first time i tried cause i changed /etc/hosts  /etc/networks ... since your first answer, but now, it works.

Thanks

Fred.
0

Featured Post

Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month11 days, 5 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question