- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: send email through mailx
Operating System - HP-UX
1753968
Members
7453
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-12-2007 08:11 AM
тАО01-12-2007 08:11 AM
send email through mailx
could someone help me on how to use mailx to send email to different, outside email accounts?
I tried to send the email from my unix server to my cell phone or hotmail account when there is an oracle errror found on server, but seems like the email only can send to my company's email account.
Do i need to change anything on my server setting? thanks a lot for your help.
Thanks
Leah
I tried to send the email from my unix server to my cell phone or hotmail account when there is an oracle errror found on server, but seems like the email only can send to my company's email account.
Do i need to change anything on my server setting? thanks a lot for your help.
Thanks
Leah
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2007 08:28 AM
тАО01-12-2007 08:28 AM
Re: send email through mailx
mailx -s "to pager" 877123456@skytel.com
if your cell phone is 877123456 with text message feature tuned on Skytel company.
You can check /var/adm/syslog/mail.log to see the status of the message is
if your cell phone is 877123456 with text message feature tuned on Skytel company.
You can check /var/adm/syslog/mail.log to see the status of the message is
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2007 08:53 AM
тАО01-12-2007 08:53 AM
Re: send email through mailx
i used the same way as you did actually. Here are the output from the mail.log file:
Jan 11 16:00:30 pics01a sendmail[6077]: QAB06077: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay,
relay=mailhost.tech-inc.com.tech-inc.com, stat=
Host unknown (Name server: mailhost.tech-inc.com.tech-inc.com: host not found)
Jan 11 16:00:30 pics01a sendmail[6077]: QAA06077: Saved message in /var/tmp/dead.letter
Jan 11 16:00:30 pics01a sendmail[6079]: QAA06071: to=xxxx@hotmail.com, ctladdr=oracle (102/103), delay=00:00:00,
xdelay=00:00:00, mailer=relay, relay=t_email.tech-inc.com. [10.19.253.82], stat=User unknown
Jan 11 16:00:30 pics01a sendmail[6079]: QAA06071: QAA06079: DSN: User unknown
Jan 11 16:00:30 pics01a sendmail[6079]: QAA06079: to=oracle, delay=00:00:00, xdelay=00:00:00, mailer=relay,
relay=mailhost.tech-inc.com.tech-inc.com, sta
t=Host unknown (Name server: mailhost.tech-inc.com.tech-inc.com: host not found)
Jan 11 16:00:30 pics01a sendmail[6079]: QAA06079: QAB06079: return to sender: Host unknown (Name server:
mailhost.tech-inc.com.tech-inc.com: host not found)
Jan 11 16:00:30 pics01a sendmail[6077]: QAB06077: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay,
relay=mailhost.tech-inc.com.tech-inc.com, stat=
Host unknown (Name server: mailhost.tech-inc.com.tech-inc.com: host not found)
Jan 11 16:00:30 pics01a sendmail[6077]: QAA06077: Saved message in /var/tmp/dead.letter
Jan 11 16:00:30 pics01a sendmail[6079]: QAA06071: to=xxxx@hotmail.com, ctladdr=oracle (102/103), delay=00:00:00,
xdelay=00:00:00, mailer=relay, relay=t_email.tech-inc.com. [10.19.253.82], stat=User unknown
Jan 11 16:00:30 pics01a sendmail[6079]: QAA06071: QAA06079: DSN: User unknown
Jan 11 16:00:30 pics01a sendmail[6079]: QAA06079: to=oracle, delay=00:00:00, xdelay=00:00:00, mailer=relay,
relay=mailhost.tech-inc.com.tech-inc.com, sta
t=Host unknown (Name server: mailhost.tech-inc.com.tech-inc.com: host not found)
Jan 11 16:00:30 pics01a sendmail[6079]: QAA06079: QAB06079: return to sender: Host unknown (Name server:
mailhost.tech-inc.com.tech-inc.com: host not found)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2007 02:41 AM
тАО01-17-2007 02:41 AM
Re: send email through mailx
mailhost.tech-inc.com.tech-inc.com is your relay server. Check if you are able to resolve the hostname/ip of the relay server
mailhost.tech-inc.com.tech-inc.com
nslookup mailhost.tech-inc.com.tech-inc.com
if it is not able to resolve add it in /etc/hosts also check if you are having the correct DNS entries in the /etc/resolv.conf
Try to get the exact host name of the relay server and make the entry in the sendmail.cf file as
DSrelayserverhostname
# "Smart" relay host (may be null)
mailhost.tech-inc.com.tech-inc.com
restart the sendmail daemon and check again
mailhost.tech-inc.com.tech-inc.com
nslookup mailhost.tech-inc.com.tech-inc.com
if it is not able to resolve add it in /etc/hosts also check if you are having the correct DNS entries in the /etc/resolv.conf
Try to get the exact host name of the relay server and make the entry in the sendmail.cf file as
DSrelayserverhostname
# "Smart" relay host (may be null)
mailhost.tech-inc.com.tech-inc.com
restart the sendmail daemon and check again
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP