I use sendmail as MTA.

I've two different IPs of the same subnet on the same Interface e.g.:

eth0: DNS name: smtp.example.com - All traffic out through this IP.
eth0:0: smtp1.example.com

I want to route some of the emails through as well as will remain on the same interface. Any possibility??????

asked 10 Jun '10, 08:47

likeunix's gravatar image

accept rate: 0%

edited 10 Jun '10, 14:30

jeremy's gravatar image

jeremy ♦♦

I'm not sure that I understand the question here... could you clarify better?

(11 Jun '10, 09:10) pmarini

You can use the DaemonPortOptions directive in sendmail.cf to bind to a specific IP/Port combination.



answered 10 Jun '10, 14:25

jeremy's gravatar image

jeremy ♦♦
accept rate: 37%


Actually if you're going to modify the sendmail config, you should be modifying sendmail.mc and rebuilding the sendmail.cf file with sendmail-cf

(14 Jul '10, 20:29) rfelsburg ♦

DNS round robin is an easy and effect way of distributing the mail load across multiple ip addresses.

Having two mx records for the hostname, and giving both an equal weight will distribute across both evenly, and if one is down attempt to deliver to the other.



answered 14 Jul '10, 20:27

rfelsburg's gravatar image

rfelsburg ♦
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 10 Jun '10, 08:47

Seen: 1,387 times

Last updated: 24 Mar '11, 09:23

powered by OSQA