1826507 Members
3159 Online
109693 Solutions
New Discussion

Sendmail problem

 
Carlo Henrico_1
Regular Advisor

Sendmail problem

This probably belongs more under the Micro$oft forum, but I am hoping the HP-UX fundies out there have experienced this and know what to do.

I have configured a HP-UX server to send mail via an exchange server and it sends it fine to local (exchange) users. However, as soon as I want to send mail outside of the Exchange server, I get a "550 Relaying prohibited" message.

I have checked the exchange server and yes relaying is prohibited except from certain clients based on IP address of which the HP-Server is one of them.

Any other ideas please?

Thanks

Carlo
Live fast, die young - enjoy a good looking corpse!
7 REPLIES 7
Jordan Bean
Honored Contributor

Re: Sendmail problem

In sendmail.cf, is DS also set to the exchange server? If not, do so as this will force sendmail to always forward mail through the exchange server. If so, then more options must be discussed. Please verify that DS, DR, and DH are set to the exchange server. Also, you may want to set DM to $m (masquerade domain).
Robin Wakefield
Honored Contributor

Re: Sendmail problem

Hi Carlo,

Can you just check the exchange server IS being used:

sendmail -bv test@aol.com

and check what relay is returned.

Rgds, Robin.
manoj_pu
Regular Advisor

Re: Sendmail problem



Hello

Please reffer the below link

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x85ea35067c18d6118ff40090279cd0f9,00.html



Rgds

Manoj
Leave with out tense and try best you gets result
Carlo Henrico_1
Regular Advisor

Re: Sendmail problem

The sendmail -bv returns the following:

test@aol.com... deliverable: mailer relay, host 192.168.10.10, user test@aol.com

192.168.10.10 is the exchange server.

Thanks

Carlo
Live fast, die young - enjoy a good looking corpse!
Robin Wakefield
Honored Contributor

Re: Sendmail problem

Hi Carlo,

So, if you:

telnet 192.168.10.10 25

and issue the "helo" command, what comes back?

if you then issue:

mail from:

do you then get the Relay Prohibited message?

How about with the:

rcpt to:

Rgds, Robin.
Carlo Henrico_1
Regular Advisor

Re: Sendmail problem

Robin

All come back with
250 OK
except
rcpt to:
returns the dreaded
"550 Relaying is prohibited"

Carlo
Live fast, die young - enjoy a good looking corpse!
T G Manikandan
Honored Contributor