- Community Home
- >
- Networking
- >
- Legacy
- >
- Communications and Wireless
- >
- Use of route_gateway in /etc/hosts for SMTP traffi...
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-06-2002 01:08 AM
11-06-2002 01:08 AM
All mail is routed using the default route_gateway value in /etc/hosts (I believe). This works fine but I have been asked to redirect the mails to a new smtp server.
I would like to know what I need to do. Do I need to just add the new smtp server into the /etc/hosts and remove route_gateway or is it a config on my route_gateway router.
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 01:19 AM
11-06-2002 01:19 AM
Solutionadd the name to the /etc/hosts file
now you must edit the /etc/mail/sendmail.cf file
edit this fields
Dj$w.domain.com
(Here your domain.com)
and
DS new_smtp_Server
here you specify a samrt relay... that is, sendmail pass all outgoing mail to it and this sends the mail. the same for incoming mail to myhost.domain.com
Good Luck.
P.D.: Post this kind of questions sin the HP-UX forum.... there are a lot of people that can reply you very fast and accurate... ;-?-)
you must now restart sendmail daemon
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 01:21 AM
11-06-2002 01:21 AM
Re: Use of route_gateway in /etc/hosts for SMTP traffic
remeber restart sendmail!
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 04:44 AM
11-06-2002 04:44 AM
Re: Use of route_gateway in /etc/hosts for SMTP traffic
Appended /etc/hosts
ip.ip.ip.ip smtp_server
Ammended sendmail.cf
Dj$w.mydomain
CP.
# "Smart" relay host (may be null)
DSsmtp_server (no gap)
nslookup works and when I send a test message I get the following reponse at the end
354 Send data. End with CRLF.CRLF
>>> .
250 OK
user.surname@mydomain.com... Sent (OK)
Closing connection to smtp_server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 06:30 AM
11-06-2002 06:30 AM