Operating System - HP-UX
1832753 Members
2955 Online
110045 Solutions
New Discussion

Re: Only outgoing mail from unix to exchange

 
SOLVED
Go to solution
Rgomes
Valued Contributor

Only outgoing mail from unix to exchange

Hi All,

I am trying to configure sendmail in a UNIX box running HP-UX 10.20.

Things are like these:
1)Only outgoing mail----I mean only unix users will mail to exchange mail users. One direction.
2)Using only hosts file to name resolve.

I have only changed the Dj$ and DS value in sendmail.cf file like below:

Dj$hpflora.test.com
DS203.191.252.15 ( it is my exchange server)

Problem is that, whenever I send mail from a unix user, following error message comes in the mail.log:

May 25 14:50:59 hpflora sendmail[1028]: OAA01027: to=nsv@203.191.252.15, ctladdr
=root (0/3), delay=00:00:06, xdelay=00:00:06, mailer=relay, relay=203.191.252.15
[203.191.252.15], stat=User unknown
May 25 14:50:59 hpflora sendmail[1028]: OAA01027: OAA01028: postmaster notify: U
ser unknown

Mail does not go to the exchange user. Why?

Thanks in advance

Richard


3 REPLIES 3
twang
Honored Contributor
Solution

Re: Only outgoing mail from unix to exchange

Try to use "sendmail -bv email_acct@domain.com" to verify whether your current setup is able to delivery mail to the email account, for example,
# sendmail -bv twang@domain.com
twang@domain.com... deliverable: mailer relay, host .domain.com, user twang@domain.com
#
V.Tamilvanan
Honored Contributor

Re: Only outgoing mail from unix to exchange

Hi,
Check for a file called /etc/mail/service.switch. If it is not there create the file and add entry

hosts files
aliases files

Add an entry for the exchange server in /etc/hosts file of your unix server.

HTH
Rgomes
Valued Contributor

Re: Only outgoing mail from unix to exchange

Hi,

I managed to solved the problem after editing the host file.

I can now send mail to my exchange server's user.

Thanks all for your help

Richard