From owner-freebsd-ports@FreeBSD.ORG Thu Dec 25 22:50:23 2014 Return-Path: Delivered-To: freebsd-ports@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 E0F61702; Thu, 25 Dec 2014 22:50:23 +0000 (UTC) Received: from mail.mimar.rs (mail.mimar.rs [193.53.106.129]) by mx1.freebsd.org (Postfix) with ESMTP id 9784864EE6; Thu, 25 Dec 2014 22:50:23 +0000 (UTC) Received: from mail.mimar.rs (localhost [127.0.0.1]) by mail.mimar.rs (Postfix) with ESMTP id 8380F1AF337; Thu, 25 Dec 2014 23:50:22 +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 wyNIJ7Jlvvvk; Thu, 25 Dec 2014 23:50:19 +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 D14BA1AF2E5; Thu, 25 Dec 2014 23:50:18 +0100 (CET) Date: Thu, 25 Dec 2014 23:50:17 +0100 From: Marko =?UTF-8?B?Q3VwYcSH?= To: Marko =?UTF-8?B?Q3VwYcSH?= Subject: Re: mail/postfix does not resolve in mysql maps Message-Id: <20141225235017.f51e31c8bd8bba82cde1b6ab@mimar.rs> In-Reply-To: <20141225234340.c0a9d63354a2b9e5b230eb4e@mimar.rs> References: <20141225234340.c0a9d63354a2b9e5b230eb4e@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 Cc: freebsd-stable@FreeBSD.org, freebsd-ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 22:50:24 -0000 On Thu, 25 Dec 2014 23:43:40 +0100 Marko Cupać wrote: Sorry, stupid typo in previous mail. Actually, this does not work (fqdn does not work, ip address does): > pacija@mail:~ % sudo cat /usr/local/etc/postfix/smtpd_sender_login_maps.cf > user = someuser > password = somepass > hosts = mysql1.mimar.rs > dbname = somedb > query = SELECT goto FROM alias WHERE address = '%s' AND active = 1 > > Gives the following message in maillog: > > Dec 25 14:12:56 mail postfix/submission/smtpd[1277]: warning: connect to mysql server mysql1.mimar.rs: Unknown MySQL server host 'mysql1.mimar.rs' (0) > > Drill resolves fine both forward and reverse: > > pacija@mail:~ % drill mysql1.mimar.rs > > mysql1.mimar.rs. 3600 IN A 193.53.106.138 > > > pacija@mail:~ % drill -x 193.53.106.138 > > 138.106.53.193.in-addr.arpa. 3600 IN PTR mysql1.mimar.rs. > > I have updated jail and am rebuilding postfix. > -- > Marko Cupać > https://www.mimar.rs > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Marko Cupać https://www.mimar.rs