From owner-freebsd-stable@FreeBSD.ORG Thu Dec 25 19:48:22 2014 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7156715 for ; Thu, 25 Dec 2014 19:48:22 +0000 (UTC) Received: from mail.mimar.rs (mail.mimar.rs [193.53.106.129]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA1D649C8 for ; Thu, 25 Dec 2014 19:48:21 +0000 (UTC) Received: from mail.mimar.rs (localhost [127.0.0.1]) by mail.mimar.rs (Postfix) with ESMTP id 635141AF5CD for ; Thu, 25 Dec 2014 20:48:14 +0100 (CET) X-Virus-Scanned: amavisd-new at mimar.rs Received: from mail.mimar.rs ([127.0.0.1]) by mail.mimar.rs (mail.mimar.rs [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 66mnky8uxpeh for ; Thu, 25 Dec 2014 20:48:06 +0100 (CET) Received: from efreet.mimar.rs (unknown [93.87.149.102]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: marko.cupac@mimar.rs) by mail.mimar.rs (Postfix) with ESMTPSA id 4A9A31AF5CB for ; Thu, 25 Dec 2014 20:48:06 +0100 (CET) Date: Thu, 25 Dec 2014 20:48:04 +0100 From: Marko =?UTF-8?B?Q3VwYcSH?= To: freebsd-stable@FreeBSD.org Subject: 10.1-RELEASE-p3 possibly broke parts of dns resolution in postfix Message-Id: <20141225204804.33b3b1650e6827ff23f4df3a@mimar.rs> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 19:48:23 -0000 Hi, it appears that update to 10.1-RELEASE-p3 broke my mysql maps in postfix, where hosts is specified with FQDN. Changing it to IP address works around it. This worked, but does not work anymore: > pacija@mail:~ % sudo cat /usr/local/etc/postfix/smtpd_sender_login_maps.cf > user = someuser > password = somepass > hosts = host.example.org > dbname = somedatabase > query = SELECT goto FROM alias WHERE address = '%s' AND active = 1 With conf like this I see the following message in maillog: > Dec 25 16:47:15 mail postfix/submission/smtpd[1885]: warning: connect to mysql server host.example.org: Unknown MySQL server host 'host.example.org' (0) This works: > pacija@mail:~ % sudo cat /usr/local/etc/postfix/smtpd_sender_login_maps.cf > user = someuser > password = somepass > hosts = 192.168.1.10 > dbname = somedatabase > query = SELECT goto FROM alias WHERE address = '%s' AND active = 1 Also, when submitting mail to submission port, it does not resolve recipient domains, so mail is being rejected when reject_non_fqdn_recipient and reject_unknown_recipient_domain are on. Both forward and reverse drill are resolving fine. -- Marko Cupać https://www.mimar.rs