Solved

Can't send mail from 95 wks

Posted on 1998-12-15
4
190 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
  • 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 50 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now