problems mailing from base_host to jail_on_base_host

Joe Schmoe non_secure at yahoo.com
Fri May 13 08:51:11 PDT 2005


I have a freeBSD 4.10-RELEASE installation.

On that system, I have, running, a jail with a
4.10-RELEASE userland that is _identical_ to the base
host.  It is identical because I dumped the base
systems filesystem and restored it inside the jail.

Everything is working fine.  I have never touched any
of the files inside of /etc/mail on either the base
host OR the jail.  Email works find on the base host,
and email works fine in the jail.

Users in the jail can email users in the base host
without any problem.

HOWEVER, if a user on the base host attempts to email
a user in the jail (example.com, the base host will
not deliver the mail.  In /var/log/maillog, the
following error is generated:

May 13 08:47:03 basehost sm-mta[59207]: j4xSj059205:
SYSERR(root): MX list for example.com. points back to
basehost
May 13 08:47:03 basehost sm-mta[59207]: j4xSj059205:
to=<user at example.com>, ctladdr=<user at basehost>
(1001/1001), delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=30457, relay=example.com.,
dsn=5.3.5, stat=Local configuration error
May 13 08:47:03 basehost sm-mta[59207]: j4xSj059205:
j4DFl3Sj059207: DSN: Local configuration error

So it seems as if basehost is looking up the IP of
example.com (the jail) and deciding "hey that is one
of the IPs on the machine I am on ... barf!"

So, again, I reiterate, I have never touched any files
in /etc/mail on either the basehost or the jail ... it
seems that all is well in the jail, but it seems that
I need to somehow tell sendmail on the basehost to
only consider the main IP on basehost to belong to
itself, and ignore other IPs.

How do I do this ?


		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


More information about the freebsd-questions mailing list