Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 17:53:31 +0200
From:      "Danny Carroll" <fbsd@dannysplace.net>
To:        <freebsd-questions@freeBSD.org>
Subject:   Sendmail, jail and stuff.
Message-ID:  <004a01c32468$1f805a50$e464a8c0@llama>

next in thread | raw e-mail | index | archive | help
So, here is the 2 minute spiel..

Host 1.2.3.4 (a real IP address) is a firewall
It has 2 jails.
Jail 1 is an apache server on 192.168.1.1  It hosts site.  www.mysite.com
Jail 2 is an mail server on 192.168.1.2

So, how do you convince sendmail running on 192.168.1.1 that www.mysite.com
is not 1.2.3.4 but in facy 192.168.1.1 (after that my smart host defination
should forward the email to 192.168.1.2 which is where I *want* it to go).

sendmail -bv root@www.mysite.com actually resolves to what I want it to
resolve to, but when you have a sendmail message sitting in the queue then
sendmail tries to connect to 1.2.3.4 25 which does not exist.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004a01c32468$1f805a50$e464a8c0>