From owner-freebsd-doc@FreeBSD.ORG Wed Mar 18 15:28:00 2009 Return-Path: Delivered-To: doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A6DE106564A for ; Wed, 18 Mar 2009 15:28:00 +0000 (UTC) (envelope-from nicolai@schlenzig.dk) Received: from secure.guildage.net (confighell.com [78.47.207.147]) by mx1.freebsd.org (Postfix) with ESMTP id D6D988FC19 for ; Wed, 18 Mar 2009 15:27:59 +0000 (UTC) (envelope-from nicolai@schlenzig.dk) Received: from secure.guildage.net (confighell.com [78.47.207.147]) by secure.guildage.net (8.14.3/8.14.2) with ESMTP id n2IErpaH057269 for ; Wed, 18 Mar 2009 14:53:51 GMT (envelope-from nicolai@schlenzig.dk) Received: (from www@localhost) by secure.guildage.net (8.14.3/8.14.2/Submit) id n2IErpCt057268; Wed, 18 Mar 2009 14:53:51 GMT (envelope-from nicolai@schlenzig.dk) X-Authentication-Warning: secure.guildage.net: www set sender to nicolai@schlenzig.dk using -f To: MIME-Version: 1.0 Date: Wed, 18 Mar 2009 14:53:51 +0000 From: Nicolai Schlenzig Message-ID: X-Sender: nicolai@schlenzig.dk User-Agent: RoundCube Webmail/0.2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Comment/correction to handbook about "mail trouble" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 15:28:00 -0000 Hi, I read this page hoping it could solve my problem with mail on a jailed environment: http://www.freebsd.org/doc/en/books/handbook/mail-trouble.html But, this merely quotes the sendmail FAQ and states that sendmail.cw changed to local-host-names. My problem is (was) I want to be able to send mail from base system to a mail domain hosted on a jailed system. My base system naturally have all IPs (including the mail jail one), so I would get something like: Mar 18 14:56:35 home sm-mta[55112]: n2IDuZFJ055110: SYSERR(root): MX list for confighell.com. points back to home.confighell.com Mar 18 14:56:35 home sm-mta[55112]: n2IDuZFJ055110: n2IDuZFJ055112: DSN: MX list for confighell.com. points back to home.confighell.com But I fixed it by putting: confighell.com smtp:[10.1.2.3] Inside /etc/mail/mailertable and remake db (and restart sendmail). For people using jailed environment, I think this info is very valuable. I have spent almost 1h findind out the right solution. If this _is_ the right solution. At least it makes my stuff work. I just need to get system mails from cron/root, so adding 1 domain was enough. I could of course copy "local-host-names" from the mail jail system to have all domains available, but no need so far. I hope this can help you making the docs even better. I have made an entry on my own page if you need more details: http://confighell.com/tiki-index.php?page=Sendmail#MX_list_for_confighell_com_points_back_to_home_confighell_com Thanks - Nicolai