General
cancel
Showing results for 
Search instead for 
Did you mean: 

having problems configuring mailx on hp/ux server

 
SOLVED
Go to solution
Highlighted
The Gunners
Regular Advisor

having problems configuring mailx on hp/ux server

Hi everyone,
I am having issues with configuring mail on an rp4410 server running hp/ux 11.11. I have gone thru some previous postings here but still cant get it sorted. Im pretty sure my config files have the right entries but keep getting
dubhptst:mail # /sbin/init.d/sendmail start
WARNING: local host name (dubhptst) is not qualified; fix $j in config file
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
sendmail
dubhptst:mail # I made a change in the config file and ran 'newaliases' command and i get the same prob.

Any ideas would be great. Thanks Dave
17 REPLIES 17
Jose Mosquera
Honored Contributor

Re: having problems configuring mailx on hp/ux server

Hi,

First keep an original copy of your /etc/mail/sendmail.cf
#cp -p /etc/mail/sendmail.cf /etc/mail/sendmail.cf.ori

Looks like you do not have defined your official domain name, please edit your /etc/mail/sendmail.cf and set your domain name:
Change default example definition,
#Dj$w.Foo.COM
by:
Dj .com (a space separating)

Are you forwarding your mail requests to a smtp's server?
If your answer is Yes, you needs also set your relay host, so change the default commented DS variable:
#DS
by:
DS (no space separation)

Where:
must be a name resolved via DNS or /etc/hosts file, where your smtp service is accepting requests.

Rgds.
The Gunners
Regular Advisor

Re: having problems configuring mailx on hp/ux server

Hi Jose,
Thanks for that
Hmm tried that , and I no longer get the error when starting up - it comes up now as

dubhptst:mail # /sbin/init.d/sendmail start
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
sendmail

I then try
echo "hello"| mailx -s "mail" dave.fitzgerald@diageo.com

but still nothing comes through :/

The Gunners
Regular Advisor

Re: having problems configuring mailx on hp/ux server

Also , here are the entries in my sendmail.cf file for what was mentioned above

Dj diageo.net
DSmaismsg002.guww.net

Jose Mosquera
Honored Contributor

Re: having problems configuring mailx on hp/ux server

Hi,

Have you created or updated some aliases previouslly?

Please certify that your sendmail service are running on your box:
#ps -ef|grep sendmail -v sendmail
A sendmail line must be displayed indicating that service is up.

Please check for pending outgoing emails:
#sendmail -v

#If not empty, please try to force them:
#sendmail -q

Then try with this:
#echo "Hello"|sendmail -v dave.fitzgerald@diageo.com

I keep waiting for your answer.

Rgds.
Jose Mosquera
Honored Contributor

Re: having problems configuring mailx on hp/ux server

Hi again,

Is your maismsg002.guww.net server reachable by ping from you box?
The Gunners
Regular Advisor

Re: having problems configuring mailx on hp/ux server

hi Jose,
re aliases , well all i did was run the newaliases command (really as a last attempt to get this working) but no other changes. , ok here are outputs of what you requested , including the ping which works fine :

dubhptst:mail # ps -ef|grep sendmail
root 5402 1768 1 10:18:30 pts/ta 0:00 grep sendmail
root 5268 1 0 10:09:34 ? 0:00 sendmail: accepting connections
on port 25
dubhptst:mail # sendmail -v
Recipient names must be specified
dubhptst:mail # sendmail -q
dubhptst:mail # ping maismsg002.guww.net
PING maismsg002: 64 byte packets
64 bytes from 10.114.5.39: icmp_seq=0. time=29. ms
64 bytes from 10.114.5.39: icmp_seq=1. time=30. ms
64 bytes from 10.114.5.39: icmp_seq=2. time=30. ms







Jose Mosquera
Honored Contributor

Re: having problems configuring mailx on hp/ux server

Hi again,

Please post me the followings command outputs:
#sendmail -q -v
#echo "Hello"|sendmail -v dave.fitzgerald@diageo.com
The Gunners
Regular Advisor

Re: having problems configuring mailx on hp/ux server

Hi again Jose, ok here we go

dubhptst:mail # sendmail -q -v

Running KAA05130 (sequence 1 of 9)
diageo.com: Name server timeout
dave.fitzgerald@diageo.com... Transient parse error -- message queued for future
delivery

Running JAA04691 (sequence 2 of 9)
diageo.com: Name server timeout
dave.fitzgerald@diageo.com... Transient parse error -- message queued for future
delivery

Running PAA17347 (sequence 3 of 9)
diageo.com: Name server timeout
david.millar@diageo.com... Transient parse error -- message queued for future de
livery

Running OAA15618 (sequence 4 of 9)
diageo.com: Name server timeout
david.millar@diageo.com... Transient parse error -- message queued for future de
livery

Running OAA15750 (sequence 5 of 9)
diageo.com: Name server timeout
david.millar@diageo.com... Transient parse error -- message queued for future de
livery

Running NAA14964 (sequence 6 of 9)
diageo.com: Name server timeout
david.millar@diageo.com... Transient parse error -- message queued for future de
livery

Running LAA12726 (sequence 7 of 9)
diageo.com: Name server timeout
david.millar@diageo.com... Transient parse error -- message queued for future de
livery

Running TAA23676 (sequence 8 of 9)
diageo.com: Name server timeout
david.millar@diageo.com... Transient parse error -- message queued for future de
livery

Running KAA05479 (sequence 9 of 9)
dubhptst:mail # echo "Hello"|sendmail -v dave.fitzgerald@diageo.com
diageo.com: Name server timeout
dave.fitzgerald@diageo.com... Transient parse error -- message queued for future
delivery
dave.fitzgerald@diageo.com... queued
dubhptst:mail #
Jose Mosquera
Honored Contributor

Re: having problems configuring mailx on hp/ux server

Ok, as you see your "Name server" is timeout for you sendmail service, looks like a name resolution order or resoltution rules issue.

For debuging only, try to force this entry in your /etc/hosts file:
10.114.5.39 diageo.com

Then execute again:
#echo "Hello"|sendmail -v dave.fitzgerald@diageo.com

Let me see the command output.