GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx/sendmail
Operating System - HP-UX
1847479
Members
3114
Online
110265
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
Forums
Discussions
Discussions
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
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-24-2003 07:48 PM
04-24-2003 07:48 PM
I Have to send e-mail in a script via mailx.
My smtp server is in another computer.
My problem is that a do not know
how to configure mailx ? sendmail ?.
I wish send message via my smtp server (linux) that is on internet.
Thanks
My smtp server is in another computer.
My problem is that a do not know
how to configure mailx ? sendmail ?.
I wish send message via my smtp server (linux) that is on internet.
Thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 09:31 PM
04-24-2003 09:31 PM
Solution
Take a look at the following link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0f41af48a9e5d5118ff40090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0f41af48a9e5d5118ff40090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 10:09 PM
04-24-2003 10:09 PM
Re: mailx/sendmail
mailx is a mailing utiliyt requiring no configuration.
sendmail's primary configuration is a file called /etc/sendmail.cf or /etc/mail/sendmail.cf
To set up relay the Linux box needs to allow relays from the IP of the HP-UX box.
/etc/mail/access Here is a sample.
192.168.0.2 RELAY
That was tab delimited on my Linux box.
servcie sendmail restart after setting this up.
I'm attaching my script for rebuilding the hash databases on the Linux box.
Now, on the HP-UX box, much easier.
There is a DS directive in the above mentioned sendmail.cf file
vi the file, find the DS and put the IP address of the linux box in there here is the form.
DS
[192.168.1.2]
That being the IP address of the Linux box.
Save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Now you are done.
SEP
sendmail's primary configuration is a file called /etc/sendmail.cf or /etc/mail/sendmail.cf
To set up relay the Linux box needs to allow relays from the IP of the HP-UX box.
/etc/mail/access Here is a sample.
192.168.0.2 RELAY
That was tab delimited on my Linux box.
servcie sendmail restart after setting this up.
I'm attaching my script for rebuilding the hash databases on the Linux box.
Now, on the HP-UX box, much easier.
There is a DS directive in the above mentioned sendmail.cf file
vi the file, find the DS and put the IP address of the linux box in there here is the form.
DS
[192.168.1.2]
That being the IP address of the Linux box.
Save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Now you are done.
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.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP