HELP-Mail problem in Solaris9

Hi,

I'm using 'mailx' well in Solaris 8 environment, however, it occurred problem when I want to do the same job in Solaris9 like such command:

tstsvr# mailx -v testuser@mailsvr.com

And it will show

tstsvr: Name server timeout

:

:

550 5.7.1 Unable to relay for testuser@mailsvr.com

:

:

p.s. The mailsvr is MS Exchange server 2003

[400 byte] By [davistai@gmail.coma] at [2007-11-27 6:18:53]
# 1
Hi,Is your solairs 9 server a new server i.e. new IP address? I am wondering if the 'Unable to relay' message is coming from Exchange. In which case you need to configure Exchange to allow the solaris 9 server to send mail for that domain.Regards
Stuart_Flishera at 2007-7-12 17:33:07 > top of Java-index,General,Sys Admin Best Practices...
# 2

> Hi,

>

> Is your solairs 9 server a new server i.e. new IP

> address? I am wondering if the 'Unable to relay'

> message is coming from Exchange. In which case you

> need to configure Exchange to allow the solaris 9

> server to send mail for that domain.

>

> Regards

No, it's not a new server.

And I am trying to send system message to the user at Exchange mail server.

davistai@gmail.coma at 2007-7-12 17:33:07 > top of Java-index,General,Sys Admin Best Practices...
# 3

even though 9 uses the surrogate mail submission, have you compared any of the key variables in your sendmail.cf and submit.cf files?

try an easier test -

/usr/lib/sendmail -bv testuser@mailsvr.com

or

for a local test -

mailx -v <some local user not externally aliased> < /etc/hosts

to see if even local mail delivery is working

if either of these tests don't yield results as hoped for, then you really need to look at your setup - jeff

edit - you may also wish to check some other files -

/etc/nsswitch.conf

/etc/resolv.conf

/etc/hosts

try pinging "mailsvr.com" exactly as you would normally have in your mailx example and see if it works. If not, it's either a name resolution issue on your side, or you want to check the mx record for that machine in DNS

jeffrey.sa at 2007-7-12 17:33:07 > top of Java-index,General,Sys Admin Best Practices...