HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to enable SMTP on linux 4.0ES to forward t...
Operating System - Linux
1827448
Members
5949
Online
109965
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
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
05-29-2008 09:37 PM
05-29-2008 09:37 PM
how to enable SMTP on linux 4.0ES to forward the root mails.
Dear All,
My requirement is to forward the root mails to a internal mail server. we can enable the forwarding using .forward file or /etc/alias file. But i don,t know where i have to specify hte SMTP mail server ip on which it has to farward the mails. or simply by which domainname it will send the mail. what configuration is reuqired for it.
Thanks & regards
Kuldeep Singh
My requirement is to forward the root mails to a internal mail server. we can enable the forwarding using .forward file or /etc/alias file. But i don,t know where i have to specify hte SMTP mail server ip on which it has to farward the mails. or simply by which domainname it will send the mail. what configuration is reuqired for it.
Thanks & regards
Kuldeep Singh
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2008 04:54 AM
05-30-2008 04:54 AM
Re: how to enable SMTP on linux 4.0ES to forward the root mails.
You should set the alias for root in /etc/aliases. Then, you have to specify a smart host in you .cf or .mc file, for example:
define(`SMART_HOST', `mailserver.domain.com')
define(`SMART_HOST', `mailserver.domain.com')
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 10:31 PM
06-02-2008 10:31 PM
Re: how to enable SMTP on linux 4.0ES to forward the root mails.
Hi Kuldeep,
If you are using sendmail in RHEL4, you should create /etc/mail/virtusertable and add the entry as follows.
#vi /etc/mail/virtusertable
[username]@newdomainname LOCAL_USER (or remote user elsewhere)
Please note that the SMTP server is already added in your DNS domain.
Restart the sendmail service.
If you are using sendmail in RHEL4, you should create /etc/mail/virtusertable and add the entry as follows.
#vi /etc/mail/virtusertable
[username]@newdomainname LOCAL_USER (or remote user elsewhere)
Please note that the SMTP server is already added in your DNS domain.
Restart the sendmail service.
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP