HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SMTP Relay
Operating System - HP-UX
1832274
Members
2165
Online
110041
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
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
01-15-2008 07:43 AM
01-15-2008 07:43 AM
Hi,
Version: HPUX 11.23.
We are soon to change our SMTP server which will live on a different subnet from where our HPUX servers will live.
Recently we turned off our exchange server and the mails I used to receive from the HPUX boxes were not delivered to me. We turned on the exchange server and after a short delay the emails I was expecting came through.
I dont know a lot about sendmail but I looked in the sendmail.cw file and it has the hostname of the sending server in.
Any idea where I change the SMTP server for sendmail?
Its also worth noting the old exchange server is on a different domain to the new exchange server.
Regards,
Chad
Version: HPUX 11.23.
We are soon to change our SMTP server which will live on a different subnet from where our HPUX servers will live.
Recently we turned off our exchange server and the mails I used to receive from the HPUX boxes were not delivered to me. We turned on the exchange server and after a short delay the emails I was expecting came through.
I dont know a lot about sendmail but I looked in the sendmail.cw file and it has the hostname of the sending server in.
Any idea where I change the SMTP server for sendmail?
Its also worth noting the old exchange server is on a different domain to the new exchange server.
Regards,
Chad
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 07:51 AM
01-15-2008 07:51 AM
Solution
Shalom Chad,
vi sendmail.cf
in /etc or /etc/mail
DShostname_of_new_relayserver
or
DS
[192.168.0.10]
If 192.168.0.10 is the ip of the new relay server.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Done
SEP
vi sendmail.cf
in /etc or /etc/mail
DShostname_of_new_relayserver
or
DS
[192.168.0.10]
If 192.168.0.10 is the ip of the new relay server.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 08:25 AM
01-15-2008 08:25 AM
Re: SMTP Relay
Another option.
let's say you configured the DS macro in /etc/mail/sendmail.cf to smtp.mycompany.com
You can just change the IP address in /etc/hosts or if DNS then have DNS guy just change the IP there if possible. This way no changes to your sendmail.cf is neccessary. Everything is transparent.
let's say you configured the DS macro in /etc/mail/sendmail.cf to smtp.mycompany.com
You can just change the IP address in /etc/hosts or if DNS then have DNS guy just change the IP there if possible. This way no changes to your sendmail.cf is neccessary. Everything is transparent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2008 02:06 AM
01-22-2008 02:06 AM
Re: SMTP Relay
Shalom both,
This works fine for me now, I made the change to the Macro DS using the SMTP servers virtual name.
I then restarted sendmail and I did a test;
mailx -s "subject"@
mail test from unix
.
Many thanks,
Chad
This works fine for me now, I made the change to the Macro DS using the SMTP servers virtual name.
I then restarted sendmail and I did a test;
mailx -s "subject"
mail test from unix
.
Many thanks,
Chad
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 2025 Hewlett Packard Enterprise Development LP