- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Networking
- >
- Re: How to send mail using another SMTP server?
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
04-23-2004 07:00 AM
04-23-2004 07:00 AM
On my present Digital Unix box I type...
mailx -s "Invalid Objects in AT, GTSD, GTSD8, CASE, and FL" jx@x.com
and the message is sent. I do not know how this was configured to configure the HP-Unix box.
Where do I tell it to use this other server as the mail server?
The HP-Unix box is using 11iV1.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-23-2004 07:13 AM
04-23-2004 07:13 AM
SolutionYou need to configure the HPUX box to "relay" all mail messages to the other server. In /etc/mail, you need to edit the sendmail.cf file, and make the "DS" variable point to the "mail" server.
For more information, search the HP site and Google for "relaying" mail to an Exchange server (same concept).
Also, don't forget to create a /etc/mail/mailertable file with your mail domains.
Hope this helps,
D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-24-2004 02:57 AM
04-24-2004 02:57 AM
Re: How to send mail using another SMTP server?
#/sbin/init.d/sendmail stop
Change the relay server name in sendmail.cf
#/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-24-2004 03:00 PM
04-24-2004 03:00 PM
Re: How to send mail using another SMTP server?
Due to the proliferation of spam, most mail servers will not automatically relay your mail. You will need to check with your relay server admin and make sure it will accept mail from your HP-UX system via relay.
If its a Unix mail server that is done with the /etc/mail/access file.
See this script for m4 macros:
http://www.hpux.ws/buildmail.hpux.text
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP