1837105 Members
2560 Online
110112 Solutions
New Discussion

mailx

 
SOLVED
Go to solution
Patrice Blanchard_2
Frequent Advisor

mailx

Hi,

we're using mailx in our system. Yesterday, we changed our exchange server (name and IP), i've changed me hosts file to update it with the new IP address and name of the exchange server. Now, when using mailx, i'm getting error of "host unknown" and it's getting me the old server name of the exchange.

Where is the file for mailx so i can change the address and name.

regards

Patrice
4 REPLIES 4
Rick Garland
Honored Contributor
Solution

Re: mailx

Is the new system resolving via nslookup?
By name and by IP?

Is the /etc/mail/sendmail.cf file modified? If so, what is the value of the DS macro? Should this be changed?

Geoff Wild
Honored Contributor

Re: mailx

Check the value of DS in sendmail.cf - adjust accordingly - and resatrt sendmail (if running)...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
renarios
Trusted Contributor

Re: mailx

Hi Patrice,

Did you change your etc/mail/sendmail.cf from the old servername to the new one?

Cheers,

Renarios
Nothing is more successfull as failure
Patrice Blanchard_2
Frequent Advisor

Re: mailx

Thanks all,

i forgot about that file.

regards

Patrice