- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Configure multiple relay hosts in Sendmail
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-12-2005 12:56 AM
тАО03-12-2005 12:56 AM
May I know how do I go about configuring multiple mail relay hosts in /etc/sendmail.cf?
Thanks in advance.
Regards,
Jayce
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2005 03:45 AM
тАО03-12-2005 03:45 AM
Re: Configure multiple relay hosts in Sendmail
for config sendmail.
You must change sendmail.mc.
Every time when you restart your sendmail it will make sendmail.cf from sendmail.mc and all manula change will be lost :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2005 09:29 PM
тАО03-12-2005 09:29 PM
Re: Configure multiple relay hosts in Sendmail
How?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2005 01:09 AM
тАО03-13-2005 01:09 AM
Solution2) and regarding Raver question itself - AFAIK, we cannot define several relay hosts in sendmail config. But you may create local DNS server and define several IPs for the same hostname.
I mean - you can create several DNS records for your "smart_host" hostname.
Rgds,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2005 04:49 PM
тАО03-13-2005 04:49 PM
Re: Configure multiple relay hosts in Sendmail
In addition to Vitaly, I want to tell you is sendmail.cf is used in all distributions of Linux or other unix flavours, don't get confused with the first answer.sendmail.cf is a file of sendmail package, and it does not change it's behaviour for different OS. sendmail.mc is the macro definition file, from where you can define features and other inputs for your setup very easily, and then make sendmail.cf through it( m4 sendmail.mc > sendmail.cf , or other way ). and for your problem ( defining several smart hosts), Vitaly is right, you can't define more than one smart hosts, but you can make "virtual" DNS entries for this purpose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2005 12:22 AM
тАО03-14-2005 12:22 AM
Re: Configure multiple relay hosts in Sendmail
Cheers,
Raver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2005 06:32 AM
тАО05-14-2005 06:32 AM
Re: Configure multiple relay hosts in Sendmail
If you want to use multiple smart hosts then try the following in your mc file:
define(`SMART_HOST',`host1:host2:host3')
or in your sendmail.cf
DShost1:host2:host3
( The syntax is [mailer:]host[:host...] )