- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- send mail with mailx to external mail
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
11-16-2003 08:38 AM
11-16-2003 08:38 AM
send mail with mailx to external mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 09:57 AM
11-16-2003 09:57 AM
Re: send mail with mailx to external mail
You need to edit the /etc/mail/sendmail.cf file and put an entry for your relay host.
Set the DS parameter as follows:
DS
For example if your mail server is called mailhost.xyz.com, set the following in sendmail.cf file:
DSmailhost.xyz.com
Ensure that the mail server hostname can be resolved.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 10:03 AM
11-16-2003 10:03 AM
Re: send mail with mailx to external mail
/usr/contrib/bin/itool.weekly 2>&1 | mailx -s "weekly data itool copy" sprotter@investmenttool.com
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
11-16-2003 10:40 AM
11-16-2003 10:40 AM
Re: send mail with mailx to external mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 11:14 AM
11-16-2003 11:14 AM
Re: send mail with mailx to external mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 11:53 AM
11-16-2003 11:53 AM
Re: send mail with mailx to external mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 02:53 PM
11-16-2003 02:53 PM
Re: send mail with mailx to external mail
#1: This is a warning that the DJ option in /etc/mail/sendmail.cf has not been set.See the comments in sendmail.cf about dj.
#2: test this: nslookup mailserver (if that fails, your DNS service must be updated.
#3: The mail server specified will not accept mail relays.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 04:56 PM
11-16-2003 04:56 PM
Re: send mail with mailx to external mail
for me it look like your SMTP gate way (mail server) has to enabled
to accept the relay from hp-ux server.
I had similar problem. I could send internal mails (same domain),
but I can't send out side mails. Once the relay is enabled in Exchange
and it was OK.
TT