Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2007 20:20:24 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   cannot email to the jail from the host
Message-ID:  <200705082020.24653.freebsd@dfwlp.com>

next in thread | raw e-mail | index | archive | help
i have a host, that runs a jail that is my network's email server.  the host, 
cannot send mails to the jail.  (host is canopus, jail is pollux)  example:

[jhorne@canopus ~]$ mail
No mail for jhorne
[jhorne@canopus ~]$ ifconfig|mail jhorne@pollux.dfwlp.com

then, in my host's maillog, i see: 

[jhorne@canopus ~]$ tail /var/log/maillog|grep sm-mta
May  8 19:51:24 canopus sm-mta[4523]: l490pONL004523: 
from=<jhorne@canopus.dfwlp.com>, size=1372, class=0, nrcpts=1, 
msgid=<200705090051.l490pO9h004521@canopus.dfwlp.com>, proto=ESMTP, 
daemon=Daemon0, relay=localhost.dfwlp.com [127.0.0.1]

May  8 19:51:24 canopus sm-mta[4524]: l490pONL004523: 
to=<jhorne@pollux.dfwlp.com>, ctladdr=<jhorne@canopus.dfwlp.com> (1001/1001), 
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31654, relay=local, 
dsn=2.0.0, stat=Sent

May  8 19:53:46 canopus sm-mta[4554]: l490rjLf004554: 
from=<jhorne@canopus.dfwlp.com>, size=1372, class=0, nrcpts=1, 
msgid=<200705090053.l490rjZT004553@canopus.dfwlp.com>, proto=ESMTP, 
daemon=Daemon0, relay=localhost.dfwlp.com [127.0.0.1]

May  8 19:53:46 canopus sm-mta[4555]: l490rjLf004554: 
to=<jhorne@pollux.dfwlp.com>, ctladdr=<jhorne@canopus.dfwlp.com> (1001/1001), 
delay=00:00:01, xdelay=00:00:00, mailer=local, pri=31654, relay=local, 
dsn=2.0.0, stat=Sent

and of course, nothing at all in the maillog of pollux.  back on canopus, is 
the where the email in question has been delivered:

[jhorne@canopus ~]$ mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/jhorne": 1 message 1 unread
>U  1 jhorne@canopus.dfwlp  Tue May  8 19:53  41/1723
&

problem appears to be related to canopus using localhost as its relay, 
possibly amplified by the fact that canopus and pollux share the same mac 
address.  is there a way around this?  on my host (canopus) i have 
sendmail_enable="NO" in /etc/rc.conf.  also, local DNS is correctly 
configured, and resolves the correct ip from canopus

im totally stumped here, is there a way around this caveat?

thanks,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd@dfwlp.com



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