Operating System - HP-UX
1748223 Members
4611 Online
108759 Solutions
New Discussion юеВ

HP-UX server is having problem to send mail to 2 diff hosts

 
Ngoh Chean Siung
Super Advisor

HP-UX server is having problem to send mail to 2 diff hosts

Hi,

Can a HP-UX server able to send mail to 2 diff hosts?

Pls refer to the attachment for full explaination. Appreciate for someone that spend time to go thru my question.

regards.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: HP-UX server is having problem to send mail to 2 diff hosts

Shalom Ngoh,

sendmail -v gepdwfmi@southsteel.com

The first message was accepted by the relay server, no problem. If it was not delivered see that servers logs and configuration.

>>> RCPT To:
554 Relay rejected for policy reasons.
Service unavailable

The DS relay server does not like relay to the 10.56.160.4 host.

You may need to add this as a valid RELAY server on the /etc/mail/access file of the relay server.

So far as I can tell there is nothing wrong with the server you are working with. Do make sure that this host is on the /etc/mail/access list and is permitted to relay.

An HP-UX server with sendmail should be able to send mail to any host.

You have configured sendmail with the DS directive which means it sends all mail to one relay host. I do not believe you can configure a secondary relay. What you could do is relay to a hostname defined in /etc/hosts and change that relay if the primary relay is down. This can be done with a cron job.

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
RAC_1
Honored Contributor

Re: HP-UX server is having problem to send mail to 2 diff hosts

Looks like you smart relay host does allow sendmail an email to mars.
There is no substitute to HARDWORK
Ngoh Chean Siung
Super Advisor

Re: HP-UX server is having problem to send mail to 2 diff hosts

Hi,

Thanks for ur reply.

First of all, let me explain it briefly.

1) HP server called jupiter (10.11.160.1) - jupiter@southern.com
2) Windows server called mars (10.11.160.3) - mars@southsteel.com

Both 1) & 2) are in same LAN.

3) Windows server called hyperion (10.56.160.1) - hyperion@spim.com.my

This 3) is located at diff location and connected thru wan.

The email address for mars is gepdwfmi@southsteel.com and hyperion is paddwfmi@spim.com.my

My intention is to execute informix 4gl program that will trigger jupiter server to send mail to these 2 servers mail-in database (lotus domino).

Pls let know the steps that need to do by assuming there is no sendmail configuration yet.

regards.
Ngoh Chean Siung
Super Advisor

Re: HP-UX server is having problem to send mail to 2 diff hosts

Hi,

1 correction as below.

1) HP server called jupiter (10.11.160.1) - jupiter@southern.com

>>shld be jupiter@southsteel.com

regards.