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

Sendmail configuration in AIX 5.3

Status
Not open for further replies.

cometoAIX

IS-IT--Management
May 31, 2008
5
VN
I have a p.570 with AIX 5.3, named iss7 , no DNS, no joint Domain

Window Domain name: abc.com
so Windows Mail server: srv-mail.abc.com

i have a mail account, it's def@abc.com

I want to send mail from p.570 (root@localhost) to def@abc.com

How can I config?

I've read some in this forum and try many times but...

I tried to change some thing in sendmail.cf, /etc/host, /etc/netsvc.conf
* sendmail.cf:
DSsrv-mail.abc.com
Dwiss7
* /etc/hosts
192.168.117.2 srv-mail.abc.com

* /etc/netsvc.conf
host=local4,bind4

Plzz help me...
 
The way i did it to my AIX boxes is to give the address of the mail server as the domain name in the /etc/hosts file! Not sure if this is a good practice but it is working!

vi /etc/hosts
192.168.117.2 abc.com

and then make sure that the sendmail is running

lssrc -s sendmail

and then just use the sendmail (or just mail) command to send to def@abc.com!

Good luck.


Regards,
Khalid
 
I did the same way as your advise. But It's not working.
I use ping command to 192.168.117.2 It's OK.
telnet 192.168.117.2 25 --->

bash-2.05b$ telnet 192.168.117.2 25
Trying...
Connected to 192.168.117.2.
Escape character is '^]'.
Connection closed.

Plss, help me!!!

When I sendmai to def@abc.com with sendmail command:
bash-2.05b$ echo "test" | sendmail -v def@abc.com
/conv/test/dead.letter... Saved message in /conv/test/dead.letter
bash-2.05b$
--------------------
bash-2.05b$ more ./dead.letter
From conv Sun Jun 1 15:45:37 2008
Return-Path: <conv>
Received: (from conv@localhost) by abc.com (AIX5.2/8.11.6p2/8.11.0) id m517jb4399378 for def@abc.com; Sun, 1 Jun 2008 15:45:37 +0800
Date: Sun, 1 Jun 2008 15:45:37 +0800
From: conv
Message-Id: <200806010745.m517jb4399378@abc.com>
test

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top