- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to send mail using another SMTP server?
Operating System - HP-UX
1753465
Members
4615
Online
108794
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
Go to solution
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
тАО04-23-2004 07:00 AM
тАО04-23-2004 07:00 AM
I'm very new to HP-Unix, we have another server which we use to send mail (171.ab.cd.e).
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.
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.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2004 07:13 AM
тАО04-23-2004 07:13 AM
Solution
Jesse,
You 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
You 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
- Report Inappropriate Content
тАО04-24-2004 02:57 AM
тАО04-24-2004 02:57 AM
Re: How to send mail using another SMTP server?
edit the /etc/mail/sendmail.cf file and search for DSxxxxxx.com. You need to stop and start sendmail demon if you change this entry.
#/sbin/init.d/sendmail stop
Change the relay server name in sendmail.cf
#/sbin/init.d/sendmail start
#/sbin/init.d/sendmail stop
Change the relay server name in sendmail.cf
#/sbin/init.d/sendmail start
By providing solutions I am helping myself
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2004 03:00 PM
тАО04-24-2004 03:00 PM
Re: How to send mail using another SMTP server?
If you want to generate this option out of a sendmail.mc file with the m4 macro this is also possible.
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
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
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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