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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

configure DNS and senmail on AIX 5.3 2

Status
Not open for further replies.

J1gh2

MIS
Jul 7, 2004
109
GB
hi Guys

I have serached this forum for sendmail issues but haven`t seen quite what applies to me.

I am using AIX 5.3 and would like to configure sendmail on the p570 lpars. I have found that DNS was not configured so I am having to configure this from scratch. I have created the /etc/resolv.conf but I am not sure what entries I need to make in the named.boot and named.ca and named.dc.

Firstly, do I need all these files configured as I just want basic connectivity to send mail from AIX to our Exchange server. Our DNS server is a Windows 2000 machine.
1) I would appreciate a brief outline of the tasks involved in configuring DNS on AIX
2) What are the files that I need to configure and the minimal config required to connect

ps -ef | grep sendmail shows
root 65906 135618 0 16 Mar - 0:14 sendmail: accepting connections

The following are our network details for the DNS server.
Windows IP Configuration

Host Name . . . . . . . . . . . . : PC-S007373
Primary Dns Suffix . . . . . . . : national.core.abcdef.com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : national.core.abcdef.com
national.core.abcdef.com
core.abcdef.com
abcdef.com
com

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : national.core.abcdef.com
Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet
Physical Address. . . . . . . . . : 00-13-21-68-BA-93
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.180.30.163
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 10.180.28.1
DHCP Server . . . . . . . . . . . : 10.164.8.1
DNS Servers . . . . . . . . . . . : 10.180.163.14
10.180.130.95
10.164.8.3
Primary WINS Server . . . . . . . : 10.180.162.27
Secondary WINS Server . . . . . . : 10.164.8.47


I would appreciate any tips and assistance.

Thanks
 
I would advise you get a copy of webmin to configure sendmail. It's pretty straight forward you just need to add your exchange server as the relayhost.

To do this edit /etc/sendmail.cf, search for the DS entry and add DS:exchangeservername

Make sure the AIX server can resolve the name either by DNS or your local host file.

Using webmin makes more sense as the cf file is not the most readable file.

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
To use DNS on AIX
Edit /etc/netsvc.conf & check for
Code:
hosts = local, bind
(bind for DNS)

Edit /etc/resolv.conf
Code:
nameserver      x.x.x.x
nameserver      x.x.x.x
domain  mydom1.com
search  mydom1.com mydom2.com
(The above can be done in smitty, but I prefer editing resolv.conf myself)

As mrn mentioned,
If you want to send mail to the outside world, edit /etc/sendmail.cf and search for DS and add the SMTP relay servername here.

Do you want your AIX servers receiving mail from other hosts?
In our environment, we don't (and Security insist we don't unless we have a good reason)
If yours is the same, change the flags of sendmail.
I chose to start mine in /etc/inittab
/usr/sbin/sendmail -q30
(no -db)
This will result in sendmail not listening on port 25 on all your hosts.


"If you always do what you've always done, you will always be where you've always been."
 
mrn and rzs0502

Hey guys, it works. Thank you very very much. So much was hanging on to sendmail working that I was beginning to feel the pressure...

Best regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top