From owner-freebsd-stable@FreeBSD.ORG Thu Dec 25 21:53:33 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C091C87D for ; Thu, 25 Dec 2014 21:53:33 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56E7F1A5D for ; Thu, 25 Dec 2014 21:53:32 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id n3so16021049wiv.13 for ; Thu, 25 Dec 2014 13:53:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ZX6mcNpakdJdTCHFpXLn1aUr4UIO9TO46CH1MjJ8xj8=; b=K0j0p+ek1lMAU1spjzSsVXOHm/PCYt6zj9e6oQidq2i966v/oRMbr6H+1Pn5QB/xG+ Hw1UK75yQ7D6j5lRAZSXvfC3YL/24nGEpJCCVNMKQfk5evwz+x6+0DZEyLV1Zz+pXCSw WvRSrIFbUzB/RrDExFvk+iUltDhqjK8nyOghbFmobv4+eP3USAtjwBYUU9mQxfN5HN9v etzMytjM+H0gftF0Vk6EXXxTz/X/tG1qYEc0fI4f7Al0zNMIc+CAKDCpMfSoXuxno0PM rtotWfxgMBgVrp8Yv0lKVohuiGESrXm4GLYhQcoVmczQhdS6EjYClE91F/ivR1f3kVJV 8Ztw== X-Gm-Message-State: ALoCoQnjNDfUay1nbD4DIRVra1J5o6Z426E4c4jjbyHEInvYnO+IoYYucHwJTDpyvkvUoytknBMm X-Received: by 10.180.82.98 with SMTP id h2mr64065001wiy.7.1419540982292; Thu, 25 Dec 2014 12:56:22 -0800 (PST) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id ck7sm36370516wjb.13.2014.12.25.12.56.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Dec 2014 12:56:21 -0800 (PST) Message-ID: <549C79E9.6080107@multiplay.co.uk> Date: Thu, 25 Dec 2014 20:56:09 +0000 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: 10.1-RELEASE-p3 possibly broke parts of dns resolution in postfix References: <20141225204804.33b3b1650e6827ff23f4df3a@mimar.rs> In-Reply-To: <20141225204804.33b3b1650e6827ff23f4df3a@mimar.rs> Content-Type: text/plain; charset=utf-8; format=flowed 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 21:53:33 -0000 -p3 didn't contain any changes to DNS lookups -p2 however did include a fix to unbound. Its still very unlikely that either of these caused a breakage as we would have had a flurry of reports before now if there was an issue. Given this I would recommend you check for an unrelated issue, possibly configuration else where? On 25/12/2014 19:48, Marko Cupać wrote: > 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.