Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2001 04:48:57 +0300
From:      Giorgos Keramidas <charon@labs.gr>
To:        Bill Sandiford <sysop@interlinks.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: problems with sendmail on freebsd
Message-ID:  <20010922044856.A4624@hades.hell.gr>
In-Reply-To: <000501c142d7$d62ab710$0fa06bcf@custinfo>
References:  <000501c142d7$d62ab710$0fa06bcf@custinfo>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Sandiford <sysop@interlinks.net> wrote:
> I have a freebsd machine running sendmail that is on the edge of our
> internal network.  The internal network is numbered with the private address
> range 192.168.0.0.
> 
> As such our machine has 2 ip addresses bound to it, an internal address and
> an external address.  The problem is that the machine will sometimes try to
> communicate using the internal address while talking to other mail servers.
> 
> How do I specify which IP address sendmail will use while talking to other
> mail servers (for helo commands, etc)

That should be automagically selected based on:

a) DNS resolution.  What hostname Sendmail needs to contact, and what MX
   records are associated with it.

b) Routing.  What IP address DNS said should receive mail, and through which
   route this can be contacted.

So you don't have Sendmail problems.  Something in DNS setup or routing table
is going funny.

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010922044856.A4624>