- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- having problems configuring mailx on hp/ux server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 01:05 AM
тАО01-31-2011 01:05 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 01:43 AM
тАО01-31-2011 01:43 AM
Re: having problems configuring mailx on hp/ux server
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
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
Where:
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 02:00 AM
тАО01-31-2011 02:00 AM
Re: having problems configuring mailx on hp/ux server
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 :/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 02:19 AM
тАО01-31-2011 02:19 AM
Re: having problems configuring mailx on hp/ux server
Dj diageo.net
DSmaismsg002.guww.net
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 02:23 AM
тАО01-31-2011 02:23 AM
Re: having problems configuring mailx on hp/ux server
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 02:26 AM
тАО01-31-2011 02:26 AM
Re: having problems configuring mailx on hp/ux server
Is your maismsg002.guww.net server reachable by ping from you box?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 02:32 AM
тАО01-31-2011 02:32 AM
Re: having problems configuring mailx on hp/ux server
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 02:40 AM
тАО01-31-2011 02:40 AM
Re: having problems configuring mailx on hp/ux server
Please post me the followings command outputs:
#sendmail -q -v
#echo "Hello"|sendmail -v dave.fitzgerald@diageo.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 02:43 AM
тАО01-31-2011 02:43 AM
Re: having problems configuring mailx on hp/ux server
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 #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 02:53 AM
тАО01-31-2011 02:53 AM
Re: having problems configuring mailx on hp/ux server
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.