Casey Bralla on 16 Jun 2009 18:40:43 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] sendmail, multiple IPs, and virtual nics


I think the simplest way would be to run 3 separate instances of sendmail in 3 
virtual machines.

But why does it matter what host sendmail returns during the login 
negotiation?  As long as you do virtual mailboxes, sendmail should be able to 
receive or send mail for any of them.  I don't think the domain 
acknowledgement when you telnet to port 25 really means much if sendmail is 
setup to do virtual domains.


Sorry, I'm not a sendmail guru.  I use postfix for multiple (separate) domains 
but all using the same IP.  (The multiple domain names all point to the same 
IP.)


eMail me directly if you like,  Maybe we can discuss further.




On Tuesday 16 June 2009 12:10:59 pm mdecheser@comcast.net wrote:
> I recently discovered Linode. What a wondrous gift to humanity. The admins
> were kind enough to grant me 2 additional IP addresses on my Linode, for a
> total of 3. I'm running the latest CentOS (5.3).
>
> To be brief, I would like to configure sendmail to return a different
> hostname depending on which IP address is listening. Currently, sendmail is
> returning the primary hostname of the system when you telnet to port 25 @
> any IP.
>
> The purpose for the multiple IP addresses is to provide multiple nameserver
> hosts. I have 2 sites which I do not want associated with my hostname,
> domain or primary IP address. Essentially, I'd like to provide DNS on all 3
> IP addresses, but for different domains, each with its own distinct smtp
> hostname.
>
> Do I need to run separate instances of sendmail or named to accomplish
> this? I'm not certain that using virtual interfaces puts any bearing on the
> solution, but that's part of the configuration.
>
> Cheers,
>
> mark

-- 

Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation

http://www.NerdWorld.org
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug