Date: Thu, 25 Dec 2014 23:50:17 +0100 From: Marko =?UTF-8?B?Q3VwYcSH?= <marko.cupac@mimar.rs> To: Marko =?UTF-8?B?Q3VwYcSH?= <marko.cupac@mimar.rs> Cc: freebsd-stable@FreeBSD.org, freebsd-ports@FreeBSD.org 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Dec 2014 23:43:40 +0100 Marko Cupać <marko.cupac@mimar.rs> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141225235017.f51e31c8bd8bba82cde1b6ab>