- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Send email from HP-UX
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
Forums
Discussions
Discussions
Discussions
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
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
04-20-2004 03:16 AM
04-20-2004 03:16 AM
Send email from HP-UX
I want to send email from HP-UX 11 to any internet user(like user@hotmail.com).
What processes/parameters should be run/set/checked?
Thanks in advance,
Vita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 03:19 AM
04-20-2004 03:19 AM
Re: Send email from HP-UX
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 03:20 AM
04-20-2004 03:20 AM
Re: Send email from HP-UX
You need to be wired to internet
Install sendmail product and configure it there are number of posts here as well as documents avail in docs.hp.com .
you can use mail / mailx commands to send an email out
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 03:20 AM
04-20-2004 03:20 AM
Re: Send email from HP-UX
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 03:25 AM
04-20-2004 03:25 AM
Re: Send email from HP-UX
Once you have sendmail configured properly then you can use tha mailx command to actually send the mail.
To send the contents of a file - use
cat filename | mailx -s "Your subject here" user@company.com
To attach a file you also need uuencode
uuencode filename filename.out | mailx -s "Subject here" user@company.com
and filename.out will be attached to the mail going out.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 03:31 AM
04-20-2004 03:31 AM
Re: Send email from HP-UX
sendmail -v -d8.99 -d38.99 someone@yahoo.com
type some text
.
If you have DNS resolution set in nsswitch.conf and good DNS servers in /etc/resolv.conf you need not change a thing.
If your firewall blocks port 25 you must follow the procedures posted above.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 03:46 AM
04-20-2004 03:46 AM
Re: Send email from HP-UX
as ITRC forum people said you can use sendmail.
Anyway try too elm; just launch
# elm
and will run a friendly interface in order to send mail (with attachment too).
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 04:11 AM
04-20-2004 04:11 AM
Re: Send email from HP-UX
Steven: I don't have /etc/resolv.conf ,
/etc/nsswitch.conf has this text:
hosts: files [NOTFOUND=CONTINUE] dns
and your test gives a long listing (attached)
RAC: I've set smart relay host parameter in sendmail.cf :
DS company-exchange-server
and restart sendmail, but still haven't gotten any email
Vita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 06:18 AM
04-20-2004 06:18 AM
Re: Send email from HP-UX
Is your DNS configured correctly ? Can you resolve to outside:
try doing a couple nslookups:
nslookup www.hotmail.com
If it can't return an address for you than you have resolution issues. You probably need to define the /etc/resolv.conf and point to your DNS server. Then retry an nslookup again. Once you can resolve, then try again.
Also to get some easier sendmail debugging info, I like to use:
sendmail -v person@anycompany.com
It will return your cursor and you type your message, on the very last line just type a 'period' and hit return. It will show you where the mail is having problems sending.
Just a thought,
Rita