• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

Can't send mail from 95 wks

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
jacoby
Asked:
jacoby
  • 2
  • 2
1 Solution
 
kathotiaCommented:
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
 
jacobyAuthor Commented:
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
 
kathotiaCommented:
If you do not have the entry as stated earlier go ahead and add it and try
0
 
jacobyAuthor Commented:
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now