From owner-freebsd-questions@FreeBSD.ORG Thu Dec 9 20:41:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D29D8106566B for ; Thu, 9 Dec 2010 20:41:58 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 709CC8FC17 for ; Thu, 9 Dec 2010 20:41:58 +0000 (UTC) Received: by wwf26 with SMTP id 26so2716765wwf.31 for ; Thu, 09 Dec 2010 12:41:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.185.76 with SMTP id t54mr2409024wem.6.1291927315469; Thu, 09 Dec 2010 12:41:55 -0800 (PST) Sender: nvidican@m2.vidican.com Received: by 10.216.188.18 with HTTP; Thu, 9 Dec 2010 12:41:55 -0800 (PST) X-Originating-IP: [136.1.1.105] In-Reply-To: References: Date: Thu, 9 Dec 2010 15:41:55 -0500 X-Google-Sender-Auth: IRSAQVgGgyRxcxSEDAgIjAcWQyE Message-ID: From: Nathan Vidican To: Gabor Illo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: sendmail and /etc/hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 20:41:59 -0000 On Thu, Dec 9, 2010 at 3:08 PM, Gabor Illo wrote: > Hello > > My problem: sendmail skipping /etc/host and use MX record. Somebody > have any ide how use sendmail /etc/host file? > > Dec 9 20:58:23 www sm-mta[29438]: oB9Fxmx0027174: > to=, delay=03:58:35, xdelay=00:00:00, mailer=esmtp, > pri=1313137, relay=mail.mouseoleum.hu., dsn=4.0.0, stat=Deferred: > Connection refused by mail.mouseoleum.hu. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Could you clarify in regards to what you want sendmail to actually use /etc/host for? If your intent is to re-map where mail destined for a given host/domain goes - (ie override DNS MX records) - then /etc/hosts is not going to do what you want. Depending on where you intend to redirect to, you'll need either mailer table, access table entries or to configure your local sendmail to receive for that domain to accomplish that. You might try reading further at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-using.html Specifically in regards to email and DNS relationships. -- Nathan Vidican nathan@vidican.com