Operating System - HP-UX
1752781 Members
6292 Online
108789 Solutions
New Discussion юеВ

Re: Sendmail configuration in HP-unix 11.23.........

 
SOLVED
Go to solution
Kannandgl_1
Frequent Advisor

Sendmail configuration in HP-unix 11.23.........


Dear friends,

I am new in sendmail configuration in hp unix.
1.I trying to send mail Unix Box to my domain id.. i am not getting mail from the server...

2.I am editing the file /etc/mail/sendmail.cf ans /etc/mail/sendmail.cw .

3.My box is Standalone that is with out domain.
the hostname is "test" and my domain name is xx.go.xx and ip is xx.xx.xx.1 and gw is xx.xx.xx.2 in this case how to i am configuring send mail.
4.mailx -s " test " test.hai@123.com < /file path. pls advice this syntax is correct or not.
----------------------------------------------
5.Error message [# ./sendmail start
WARNING: local host name (test) is not qualified; fix $j in config file
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
sendmail ]
----------------------------------------------
Pls any one help to me with steps.


Regards
Kannan
11 REPLIES 11
Steven Schweda
Honored Contributor

Re: Sendmail configuration in HP-unix 11.23.........

> [...] in hp unix. [...]

Step one: Try asking in an HP-UX forum,
instead of in this Tru64 forum.

> 3.My box is Standalone

Around here, "Standalone" means not
networked. It's tough to send e-mail from a
standalone system.

> that is with out domain.

Which makes that "WARNING: local host name
(test) is not qualified" complaint pretty
easy to explain.

Whom do you expect to accept e-mail from a
system which does not have a domain name?

> [...] help to me with steps.

Step 2. Set the DNS domain on this system.
Kannandgl_1
Frequent Advisor

Re: Sendmail configuration in HP-unix 11.23.........

Hello Dear,

This is testing box with the network and running some application also.
where am i am setting the DNS in server. pls explain to me..

pls give the steps.

Regards
Kannan

Steven E. Protter
Exalted Contributor

Re: Sendmail configuration in HP-unix 11.23.........

Shalom,

This script might work and save you time.

Report errors back and I will debug and post a 11.23 mod.

http://www.hpux.ws/?p=5

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeeshan
Honored Contributor

Re: Sendmail configuration in HP-unix 11.23.........

Hi Kannan

you can follow the below steps

1. configure /etc/resolv.conf with domain name, nameserver IP
2. /sbin/init.d/sendmail stop
3. configure macro DS to DSexchange_relay_name
- configure macro Dj$w. to Dj$w.
- put to /etc/hosts (don't forget the dot at the end)

4. - start end stop sendmail to take modifications in sendmail.cf active.
5. - configure exchage to accept relay this host.

6. Save and quit sendmail.cf
7./sbin/init.d/sendmail stop
8./sbin/init.d/sendmail start
9. echo test | sendmail -v
a warrior never quits
Kannandgl_1
Frequent Advisor

Re: Sendmail configuration in HP-unix 11.23.........

Hi Ahsan,

I am trying to configured ur steps completely. and finally i am error getting.i will send full details of our env..

mail server 10.xx.1.7 mailserv
mail server gw 10.xx.1.211
dns server 10.xx.1.2

mailserver xxx.gov.bh
---------------------
pls give advice to me.

regards
kanna





Kannandgl_1
Frequent Advisor

Re: Sendmail configuration in HP-unix 11.23.........

Hi Ahsan,

I am trying to configured ur steps completely. and finally i am error getting.i will send full details of our env..
--------------------------------------
Error:
# echo test | sendmail -v kannan.vellaisamy@xxx.gov.bh
xxx.gov.bh: Name server timeout

kannan.test@xxx.gov.bh... Transient parse error -- message queued for future delivery
kannan.test@xxx.gov.bh... queued
------------------------------------

mail server 10.xx.1.7 mailserv
mail server gw 10.xx.1.211
dns server 10.xx.1.2

mailserver xxx.gov.bh
---------------------
pls give advice to me.

regards
kanna





Jeeshan
Honored Contributor

Re: Sendmail configuration in HP-unix 11.23.........

what is your /etc/resolv.conf file contents

#cat /etc/resolv.conf
a warrior never quits
Kannandgl_1
Frequent Advisor

Re: Sendmail configuration in HP-unix 11.23.........

Hi Ahsan,

10.xx.x.7 mailserv mailserv.mew.gov.bh
[mail server ]
10.xx.x.2 hod_dc_server hod_dc_server.moew.gov.bh [dns server ]

regards
kanna
Jeeshan
Honored Contributor

Re: Sendmail configuration in HP-unix 11.23.........

the syntax of /etc/resolv.conf file should be like below

domain xxx.gov.bh
nameserver
nameserver
a warrior never quits