- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sending a text message to a pager
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
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
тАО03-25-2002 12:09 PM
тАО03-25-2002 12:09 PM
Sending a text message to a pager
I am running on a HP-UX 11.0 system. Before I start to write a script, I test sendmail to a local user in my box and it works. But when I test sendmail to my lotus notes or my pager as follows and it does not work.
# echo "Test page" | mailx -s "outside mail" myname@verizon.com
# echo "Test page" | mailx -s "outside mail" 123456@archwireless.net
Did I miss some steps in setup? I do check that the process sendmail is running.
#ps -ef | grep sendmail
root 1010 1 0 Mar 7 ? 0:13 sendmail: accepting connections on port 25
Am I missing some steps? Do I need to add something in the /etc/hosts file or do I need to change the /etc/mail/sendmail.cf?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 12:15 PM
тАО03-25-2002 12:15 PM
Re: Sending a text message to a pager
I send message likt this
echo " merge started " | sendmail 5712157544@mobile.att.net
Also you can use -v option to send it in verbose mode to know exactly where it stops incase it is not working.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 12:16 PM
тАО03-25-2002 12:16 PM
Re: Sending a text message to a pager
Are you able to send mails to the internet from your server. You may have to use a mail relay to forward all your internet emails to the internet through your mail server. If you want to configure a mail relay use the DS macro.
Try this link from itrc on how to configure a mail relay,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=61718f5e08827a3b71/screen=ckiDisplayDocument?docId=200000045145919
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 01:35 PM
тАО03-25-2002 01:35 PM
Re: Sending a text message to a pager
What is mail relay?
How can I find out what mail relay can I set to DS?
When I do nslookup I got this.
# nslookup archwireless.net
Using /etc/hosts on: hosta
looking up FILES
*** No address information is available for "archwireless.net"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 01:48 PM
тАО03-25-2002 01:48 PM
Re: Sending a text message to a pager
Try this,
nslookup
>www.archwireless.net
> exit
This should return the ip address as 208.157.79.14
Our email setup works like this,
hp server --> Mail relay --> Mail server --> Internet
We submit all our mails to the relay which forwards them to the mail server which in turns forward them to the internet or to another mail server in the company depending on where the mail is destined for.
The DS macro in the sendmail.cf is used to configure the mail relay server. do a vi on /etc/mail/sendmail.cf and look for the DS Macro /^DS
If you know the name or ip address of the relay server, set it over there, restart sendmail and try sending the email again. Send a test email to your hotmail / yahoo account and test if you have one.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 06:59 PM
тАО03-25-2002 06:59 PM
Re: Sending a text message to a pager
# nslookup
Using /etc/hosts on: hosta
> www.archwireless.net
Using /etc/hosts on: hosta
looking up FILES
*** No address information is available for "www.archwireless.net"
> exit
I think my box has not been configured to sendmail to an internet address. What am I missing here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 07:10 PM
тАО03-25-2002 07:10 PM
Re: Sending a text message to a pager
Mar 25 22:01:00 hosta sendmail[409]: unable to qualify my own domain name (hosta) -- using short name
Mar 25 22:01:00 hosta sendmail[409]: be sure to set domain name in Dj macro in
sendmail.cf
Mar 25 22:01:00 hosta sendmail[409]: WAA00409: from=root, size=256, class=0, pr
i=30256, nrcpts=1, msgid=<200203260301.WAA00409@hosta.>, relay=root@localhost
Mar 25 22:01:00 hosta sendmail[412]: WAA00409: to=ldadmin, ctladdr=root (0/3),
delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2002 07:16 PM
тАО03-25-2002 07:16 PM
Re: Sending a text message to a pager
The problem is that your HP-UX box isn't resolving internet addresses.
/etc/resolv.conf lists addresses of name servers your system would use to resolve internet addresses
/etc/nsswitch.conf tells your system which methods should be used to resolve a name.
Example from my system:
# cat /etc/resolv.conf
# DNS client configuration
search local.domain other.domain
nameserver 123.45.67.89
nameserver 234.56.78.90
# cat /etc/nsswitch.conf
passwd: files nis+
group: files nis+
hosts: files [NOTFOUND=continue] nis+ [NOTFOUND=continue] dns
((lots of options available under this heading, see man nsswitch.conf))
Best regards.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 08:39 PM
тАО03-27-2002 08:39 PM
Re: Sending a text message to a pager
I also found out that I have two proxy ip address in my hosts file. Will there be any firewall issue too?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 09:56 PM
тАО03-27-2002 09:56 PM
Re: Sending a text message to a pager
DNS is the simplest and least troublesome way to resolve internet addresses. Can you configure the system to use a resolver and a nameserver to use DNS resolution. Once you have done that, you'll have to configure the sendmail on your server. Your company should be having a DNS server and it should not be a problem to use that as a nameserver. Try this link on how to configure the resolver,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/26-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/26-toc.html&searchterms=resolv.conf&queryid=20020327-220021
Here is how you configure the nsswitch.conf file,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/8-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/8-toc.html&searchterms=nsswitch.conf&queryid=20020327-220103
If you cannot use a DNS resolver, you can still send emails to the internet if your company has a mail server or a mail relay. You'll have to configure the /etc/mail/sendmail.cf and add the mail relay name over there, add the mail server/relay name and ip to the /etc/hosts file. Configure masqarading for the domain using DM macro.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 10:02 PM
тАО03-27-2002 10:02 PM
Re: Sending a text message to a pager
I have solved this problem with a little server linux and gnokii software.
From linux i can controll my server with script, if i have a problem from gnokii i can send a sms to my mobile.
I this way i don't configure my server on with internet and I'm very happy
bye bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2002 07:23 AM
тАО03-28-2002 07:23 AM