- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail DS macro
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
02-27-2003 02:43 PM
02-27-2003 02:43 PM
Sendmail DS macro
I have two outbound smart email relays/gateways (Trend Micro Interscan Viruswall).
I have currently setup the Sendmail DS macro to point to one of them for outbound email routing, but the system blew a power supply yesterday and outbound email stopped until I edited sendmail.cf and changed the DS macro to point to the other gateway and restarted sendmail. Is it possible to specify two outbound smart relays (and is it possible to load balance outbound email using this method?)
Appreciate help from Sendmail guru.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 02:59 PM
02-27-2003 02:59 PM
Re: Sendmail DS macro
If I'm right though....
Assuming you can ping the gataway(we can't) you can create a cron job that occaisionally pings the main gateway. no response, it switches to the alternate sendmail.cf and restarts sendmail daemon.
Probably better is a job that scan's the mail log /var/adm/syslog/mail.log for connect failures and does the same.
Here is the flow
tail /var/adm/syslog/mail.log | grep
then the job does this.
cp /etc/sendmail.alt /etc/sendmail.cf
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
SEP
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
02-27-2003 03:16 PM
02-27-2003 03:16 PM
Re: Sendmail DS macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 07:39 PM
02-27-2003 07:39 PM
Re: Sendmail DS macro
DShostA:hostB:hostC
First,it will look for hostA and if hostA does not respond then it will look for hostB and so on.
Like above it can be redundant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 08:00 PM
02-27-2003 08:00 PM
Re: Sendmail DS macro
It's not really load balancing, but it seems to provide redundancy and it sort of load balances if the cause of the problem is overload on A
SEP
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
02-27-2003 08:04 PM
02-27-2003 08:04 PM