Operating System - HP-UX
1752369 Members
6085 Online
108787 Solutions
New Discussion юеВ

Re: Unknown User Error when using Sendmail

 
SOLVED
Go to solution
someone_4
Honored Contributor

Re: Unknown User Error when using Sendmail

You need some way to hostname resolution to be able to send email. Either though hosts or though dns. Other wise airtouch.com doesnt mean anything.

Richard
Jeff Paciolla_1
Frequent Advisor

Re: Unknown User Error when using Sendmail

the exchange relay server name and IP are in the hosts file, and when I send an email to myself within ny local domain everything works, when I try to send to an outside (internet) address I get user unknown. I know the outside address is valid.

When I added the relay host name to the sendmail.cw file and stopped and started sendmail nothing worked - I was no longer able to send to myself locally either.

Thanks
Jeff
Clemens van Everdingen
Honored Contributor

Re: Unknown User Error when using Sendmail

Jeff,

Just tried to send you mail to 8773443591@airmessage.net it succeeded as you replied on that mail to my server.

So DNS lookups works fine for me.
So yout problem has really to do with reverse lookups for your pager server.

Regards,
Clemens.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
someone_4
Honored Contributor

Re: Unknown User Error when using Sendmail

Try to set your exchange server in the DS in your sendmail.cf for smart relay
the DS can be hostname that is resolved or ip.
like so
DShostname
DS192.xxx.xxx.xx
# "Smart" relay host (may be null)
DS

Richard
Jeff Paciolla_1
Frequent Advisor

Re: Unknown User Error when using Sendmail

Clemens - I did get your page. If I am not using DNS are there changes to files that I need to make to get this to work. I have added the host name of my exchange server to the DS portion of the sendmail.cf file. Which everybody says should do the trick, but it does not seem to work for me.

Thanks
Jeff
Clemens van Everdingen
Honored Contributor
Solution

Re: Unknown User Error when using Sendmail

Hi,

This part is the problem:

# nslookup airmessage.net

Using /etc/hosts on: pikachu

looking up FILES
*** No address information is available for "airmessage.net"

So no resolving for airmessage.net !

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
someone_4
Honored Contributor

Re: Unknown User Error when using Sendmail

Jeff
after you added the DS option did you restart sendmail? Other wise the change wont take.

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

Richard
Clemens van Everdingen
Honored Contributor

Re: Unknown User Error when using Sendmail

Hi,

Did you have a /etc/resolv.conf file ?
If we are not using dns you could move it away, and try again.

Also are there any messages in the maillog file ?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Jeff Paciolla_1
Frequent Advisor

Re: Unknown User Error when using Sendmail

But shouldn't my relay server take care of the name resolution problem. If i do an nslookup on my relay server i get the following

#nslookup dallasmail
Using /etc/hosts on: pikachu

looking up FILES
Name: dallasmail
Address: xxx.xx.xx.xx

Doesn't this mean that my HP-UX box is talking to my relay server.

Thanks
Jeff
someone_4
Honored Contributor

Re: Unknown User Error when using Sendmail

Jeff
after you added the DS option did you restart sendmail? Other wise the change wont take.

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

Richard