Operating System - HP-UX
1832282 Members
1996 Online
110041 Solutions
New Discussion

Problem with mail relay -Relaying denied .

 
SOLVED
Go to solution
chapaya_1
Frequent Advisor

Problem with mail relay -Relaying denied .

Hi All ,

When i'm connecting to SMTP from the local server everything is ok , but when i'm connecting to smtp from other server i get :
RCPT TO: chapaya@kuku.com
550 chapaya@kuku.com ... Relaying denied

I have hpux 11i with sendmail 8.9.3.1

BYE

4 REPLIES 4
Geoff Wild
Honored Contributor
Solution

Re: Problem with mail relay -Relaying denied .

Add other server to /etc/mail/access

otherservername relay

makemap hash /etc/mail/access
stop/start sendmail...

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
chapaya_1
Frequent Advisor

Re: Problem with mail relay -Relaying denied .

Hi Jeoff ,

I don't have this file .

BYE
Steven E. Protter
Exalted Contributor

Re: Problem with mail relay -Relaying denied .

Perhaps then you have a DS directive in your sendmail.cf file.

A DS directive sends all outgoing smtp traffic to a relay server.

If that server is not set up to allow relay, with the files mentioned in the first response, or if its a Microsoft Exhange Server, it will have to be explicitly set up to allow relay.

A DS direcitve looks like this:

DS
[ip address of relay server]

or

DShostname.of.relay.server

Some tools in your sendmail arsenel, though you may actually need to have an /etc/mail/access file to make this work.

mailq

Shows what mail is queued for outbound delivery

sendmail -v -q

tries to process the queue with verbose response which might give you a clue as to whether the problem is on this server or another server.

sendmail -v -d8.99 -d38.99 chapaya@kuku.com
type some text

.


gets you full diagnosis.

There could be a line in /etc/mail/access on the target server kuku.com that is rejecting your mail. check that server for a line that includes the following text:

chapaya@kuku.com 550 Relaying denied

It might not be chapaya@kuku.com, it might be the IP address of the sending server or an intermediary relay server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: Problem with mail relay -Relaying denied .

Just create the file with vi

Other thought - you say local server is okay - how are you sending? do you use the kuku.com?

BTW - latest sendmail from HP is here:

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SMAIL811

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.