Link to home
Start Free TrialLog in
Avatar of jacoby
jacoby

asked on

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 .
Avatar of kathotia
kathotia

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



Avatar of jacoby

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of kathotia
kathotia

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jacoby

ASKER

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.