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

CONFIGURE EMAIL AIX 4.3.2

Status
Not open for further replies.

Diogo

Technical User
Mar 22, 2001
143
PT
Hello,

i whant to start using the email in the AIX 4.3.2. What the steps to configure, that i can send emails from the OS.
 
Hi,

Do you want to send mail to users who have been set-up on the UNIX server or external email e.g fred.ski@com
 
Hi,

I would like to send to the external mail, and i have one server mail, that isn't this machine.

Thanks any way.

Diogo Reis
 
o.k what you need to do is as follows :-

assuming ou are using /etc/hosts file as the lookup entry and not DNS , and you can see the mail server on your network :-
see if you can telnet to mail server on port 25
i.e. telnet mail_server 25
( if this fails then theres no point continuing , check if mailserver is listening on port 25 , and have access to it)

1. add the entry for mail server in /etc/hosts file
2. edit /etc/sendmail.cf
where it has DS
add in something like DSsmtp:smtp_mail
where smtp_mail is the netry in hosts file for mail
server
3. in /etc create a file netsvc.conf ( if not already there)
and add , hosts = local
4. restart sendmail
5. try sending test mail

HTH
 
Sorry.

It gives me this error:
WARNING: The local host name (ha701_ba1) does not have a domain; fix $j in config file

Diogo Reis
 
At aix version 4 it required or preferred a fully qualifed hostname....

- To correct "warning: local hostname is not qualified." OR
"warning: local hostname doesn't have a domain":
Edit /etc/hosts, and find the line pertaining to the
TCP/IP hostname (not localhost). It will probably be
in this format:
[ip] [hostname]
Change it to this:
[ip] [hostname] [hostname].

The '.' forces sendmail to believe that the domain name is complete.
You can also add a .com to your hostname
 
What you need to do here is:
1. Edit your /etc/hosts file.. Change your machine name to urmachine.urdomain.com..where urdomain.com is ur domain name.
2. Restart Sendmail..

U wont get this error again..

To send mails outside your intranet, U will need a registered IP assigned to your machine.

By the way, If u need to send mails to internet as well as recieve mails from internet, then u need to have MX entry of your host in any of the public DNS.

This will solve ur problem..

Regds,

- Hemant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top