Operating System - HP-UX
1831043 Members
3387 Online
110019 Solutions
New Discussion

Re: Problem receiving from relay host

 
Don Bentz
Regular Advisor

Problem receiving from relay host

I have an HPUX 11.00 system running sendmail v8.9.3 (PHNE_18546). I am attempting to send messages through my smart relay host and am getting the following message (135.10.2.33 is MY host on our local subnet):

Sorry. Your message could not be delivered to:

root@135.10.2.33
RCPT TO:
Received: 550 ... Relaying denied

Can anybody help me? I am able to send outgoing to other sites on the Internet through this relay host, i.e., to my pager, for example, but am apparently unable to get incoming messages. One of the things I noted is that on the incoming message headers (whose message I never actually received) it identifies a "relay=relayhostname", whereas on the "old server" this was not part of the message header.
Insecurity is our friend. It keeps you dependent.
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: Problem receiving from relay host

You need to consider using acccess database. Relaying is denied by default from sendmail versions 8.9.3 onwards.

Look at this URL for more details.


http://www.sendmail.org/tips/relaying.html

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Don Bentz
Regular Advisor

Re: Problem receiving from relay host

Sridhar - Thanks very much. Sorry about the points, I was just afraid if I gave it over a 7 it might "call off the dogs" and I still need a bit more information. VERY GRATEFUL, however. Thanks again...
Insecurity is our friend. It keeps you dependent.
Craig Rants
Honored Contributor

Re: Problem receiving from relay host

Don,
What does your sendmail.cw file say?
Also you may try to use the relay-domains file and place entries in there for valid relay domains...

An easy way to try your rules is to make the changes to the sendmail.cf file ... then restart sendmail.

Then telnet to port 25 of your box and enter the mail commands one at a time. i.e...

telnet aol.com 25

helo yourdomain.com
mail from:bob@yourdomain.com
rcpt to:joe@relaysite.com
data
test
.
quit

Let us know...
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut