I have a hp-ux B.10.20 machine which has no internet access, and a GroupWise mail server.
Now I hope to send email to an internet email account on my hp machine, 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:<root@picon03x.mycorp.com> SIZE=29
250 2.0.0 root@picon03x.mycorp.com OK
>>> RCPT To:<iamuser@mycorp.com>
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:<root@picon03x.mycorp.com> SIZE=29
250 2.0.0 root@picon03x.mycorp.com OK
>>> RCPT To:<iamuser@hotmail.com>
501 5.7.1 This system is not configured to relay mail from <root@picon03x.mycorp.com> to <iamuser@hotmail.com> 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 suppose after setting the GroupWise as relay for my hp, all emails from hp and sending to receipants outside localhost will be relayed to my GroupWise mail server and let it handle the rest. But I don't know why the GroupWise server only recognizes the local domain. Actually I can send email to any valid email account from my PC via this mail server.
I am also pretty confused about the error message. It says "501 5.7.1 This system is not configured to relay mail from <root@picon03x.mycorp.com> to <iamuser@hotmail.com> 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
Now I hope to send email to an internet email account on my hp machine, 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:<root@picon03x.mycorp.com> SIZE=29
250 2.0.0 root@picon03x.mycorp.com OK
>>> RCPT To:<iamuser@mycorp.com>
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:<root@picon03x.mycorp.com> SIZE=29
250 2.0.0 root@picon03x.mycorp.com OK
>>> RCPT To:<iamuser@hotmail.com>
501 5.7.1 This system is not configured to relay mail from <root@picon03x.mycorp.com> to <iamuser@hotmail.com> 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 suppose after setting the GroupWise as relay for my hp, all emails from hp and sending to receipants outside localhost will be relayed to my GroupWise mail server and let it handle the rest. But I don't know why the GroupWise server only recognizes the local domain. Actually I can send email to any valid email account from my PC via this mail server.
I am also pretty confused about the error message. It says "501 5.7.1 This system is not configured to relay mail from <root@picon03x.mycorp.com> to <iamuser@hotmail.com> 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