Solved

Can't send mail from 95 wks

Posted on 1998-12-15
4
192 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

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