Operating System - HP-UX
1745855 Members
4574 Online
108723 Solutions
New Discussion юеВ

sendmail relay and GroupWise mail server

 
Colin_4
Occasional Contributor

sendmail relay and GroupWise mail server

I have a hp-ux B.10.20 machine which has no internet access, and a GroupWise mail server.

Now I hope to send mail to an internet email account, so I try setting my GroupWise mail server as the relay for my hp using the DS macro in sendmail.cf and adding the GroupWise mail server into my hosts file in hp. This works fine as long as the receipant is a user of GroupWise mail server. But when I tried sending to a email account outside my company, it shows "service unavailable". Here's the sample.

1. Send mail to a user in GroupWise.

#date|/usr/sbin/sendmail -v iamuser@mycorp.com

iamuser@mycorp.com... Connecting to [172.16.148.4] via relay...
220 mycorp.com MAILsweeper ESMTP Receiver Version 4.1.5.0 Ready
>>> EHLO picon03x.mycorp.com #HP machine name
250-mycorp.com
250-SIZE 0
250-ETRN
250-ENHANCEDSTATUSCODES
250-DSN
250-VRFY
250-AUTH
250 8BITMIME
>>> MAIL From: SIZE=29
250 2.0.0 root@picon03x.mycorp.com OK
>>> RCPT To:
250 2.0.0 iamuser@mycorp.com OK
>>> DATA
354 Ready for data
>>> .
250 2.0.0 Message received OK
iamuser@mycorp.com... Sent (2.0.0 Message received OK)
Closing connection to [172.16.148.4]
>>> QUIT
221 2.0.0 mycorp.com closing

This action is successful. Try again sending to my hotmail.com account, it failed.

#date|/usr/sbin/sendmail -v iamuser@hotmail.com

iamuser@hotmail.com... Connecting to [172.16.148.4] via relay...
220 mycorp.com MAILsweeper ESMTP Receiver Version 4.1.5.0 Ready
>>> EHLO picon03x.mycorp.com
250-mycorp.com
250-SIZE 0
250-ETRN
250-ENHANCEDSTATUSCODES
250-DSN
250-VRFY
250-AUTH
250 8BITMIME
>>> MAIL From: SIZE=29
250 2.0.0 root@picon03x.mycorp.com OK
>>> RCPT To:
501 5.7.1 This system is not configured to relay mail from to for 172.16.65.42
iamuser@hotmail.com... Service unavailable
>>> RSET
250 2.0.0 OK
/dead.letter... Saved message in /dead.letter
/dead.le@ ... Closing connection to [172.16.148.4]
>>> QUIT
221 2.0.0 mycorp.com closing

I am very confused about the error message. It says "501 5.7.1 This system is not configured to relay mail from to for 172.16.65.42
iamuser@hotmail.com... Service unavailable". Which system is not configured, hp or GroupWise?

Thanks in advance for any suggestions.

Colin Cheng
Programmer/Analyst
3 REPLIES 3
Greg Hall
Frequent Advisor

Re: sendmail relay and GroupWise mail server

Hi Colin,

I think the problem is with Groupwise server. The DS relay setup configures sendmail to send any mail external to the local system via this relay, after that sendmail doesn't care. So I suspect it will be Groupwise rejecting it. But its hard to be a sendmail expert, I'm certainly not, so someone else may have a more definitive answer for you.

cheers, Greg
Confucious Confused

Re: sendmail relay and GroupWise mail server

See if yor HP-UX host can resolve external names (DNS). If not, configure your /etc/resolv.conf .

I had a problem like this (HP-UX 10.x and GroupWise 5.2).
Colin_4
Occasional Contributor

Re: sendmail relay and GroupWise mail server

Luiz, I got some reply on this issue from other forum. Because you had the same problem, probably it will help. This seems to be the GroupWise problem. You can turn on/off smtp relay on the GroupWise. In NWAdmin, go to the GroupWise view and the details of the GWIA. Under the Access Control section, there is a SMTP Relay button. Check to make sure relaying is turned on.

Good luck,
Colin