From owner-freebsd-questions@FreeBSD.ORG Mon Jun 2 23:09:32 2008 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 7D2F41065684 for ; Mon, 2 Jun 2008 23:09:32 +0000 (UTC) (envelope-from Fraser@mail.frase.id.au) Received: from mail.frase.id.au (203-219-142-174.static.tpgi.com.au [203.219.142.174]) by mx1.freebsd.org (Postfix) with ESMTP id 10CCC8FC1E for ; Mon, 2 Jun 2008 23:09:31 +0000 (UTC) (envelope-from Fraser@mail.frase.id.au) Received: from mail.frase.id.au (localhost [127.0.0.1]) by mail.frase.id.au (8.14.2/8.14.2) with ESMTP id m52MiqZY002569 for ; Tue, 3 Jun 2008 08:44:52 +1000 (EST) (envelope-from Fraser@mail.frase.id.au) Received: (from Fraser@localhost) by mail.frase.id.au (8.14.2/8.14.2/Submit) id m52Mip5k002568 for freebsd-questions@freebsd.org; Tue, 3 Jun 2008 08:44:51 +1000 (EST) (envelope-from Fraser) Date: Tue, 3 Jun 2008 08:44:51 +1000 From: Fraser Tweedale To: freebsd-questions@freebsd.org Message-ID: <20080602224449.GA2157@bacardi> References: <48446064.1040301@lc-words.com> <484461A5.8010402@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: how to check if spf record is set 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: Mon, 02 Jun 2008 23:09:32 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 02, 2008 at 04:34:47PM -0500, Paul Schmehl wrote: > --On Tuesday, June 03, 2008 01:09:57 +0400 Yuri Pankov =20 > wrote: >=20 > > Zbigniew Szalbot wrote: > >> Hello, > >> > >> Pardon my lack of knowledge but how can one check if SPF record is > >> correctly set using standard UNIX tools? > >> dig? host? > >> > >> $ man dig |grep spf > >> $ man host |grep spf > >> > >> yield nothing. Many thanks! > >> > > > > SPF uses TXT record, so a simple `host -t txt yourdomain.com` should do= the > > trick. > > > > > > HTH, > > Yuri > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" > > >=20 > Or "#dig -t TXT domain.tld" will do the same thing. >=20 > --=20 > Paul Schmehl > As if it wasn't already obvious, > my opinions are my own and not > those of my employer. >=20 You don't even need the -t flag. `dig TXT host` will do the trick... and l= et's not forget about the newer, dedicated SPF record type; to query that, = use `dig SPF host`. frase --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhEd98ACgkQPw/2FZbemTWqCACfVUwIdRsbeKBgcZWoR8vkxMkS YX8AnjC2ja305k+BQdS5pAHx7d9eUglN =SS8Y -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--