Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail from AIX boxes getting problem without FQDN!! help

Status
Not open for further replies.

polani

Instructor
Jun 4, 2003
159
CA
Guys

I am facing problems while i send emails from AIX 5.2 servers to my Exchange server. I was able to access my exchange server ( telnet successfull on port 25 from AIX ) so i just resolve exchange server using hosts file and start sending mails...

problem is that as my own AIX server uses short name ( in hosts file - HACMP env ) so my mails are getting delayed , or even missed ... even when they reach on exchange , they are marked spam in the mails subjects

[SPAM] - Alert:Accounting Server EOD not finshed - Email header contains a malformed MIME From: field

howvere , when i modify my /etc/hosts file on AIX ( like following )

172.16.5.78 dbbank to 172.16.5.78 dbbank.test.com

then mails not miss and received very quickly on exchange server.....

According to exchange admin , behavior is ok as it treates short names ( in from feild ) as Spam mail servers??


Question is now that ... how can i force mail command ( or sendmail daemon ) to use any FQDN instead of shortname present in /etc/hosts file... please note that i dont want to modify /etc/hosts file ... i have noticed that problem is not solved if i put FQDN as an alias .. it solves only when FQDN is on begining of line in /etc/hosts file....

so entry like

172.16.5.78 dbbank dbbank.test.com

not work ... only entry like

172.16.5.78 dbbank.test.com dbbank

works ... A CHANGE WHICH I DONT WANT!!!


please advice

Polani

Here comes polani Once again!!!

P690 Certified Specailist
HACMP & AIX Certified Specailist
AIX & HACCMP Instructor
 
is dbbank.test.com the name of your unix box or the name of your exchange server?

If its the name of your unix box and the exchange server is barfing on it, you could try (re)defining the

#Dj$w.Foo.COM

in the "local info" section of your sendmail.cf file (uncomment if necessary) to something like this:

Djyourdomain.com

that way when the exchange (or other remote) side tries to resolve your host and domain, it should succeed because yourdomain.com is known, whereas yourhost.yourdomain.com may not be known.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top