From owner-freebsd-questions@FreeBSD.ORG Sat Feb 18 16:52:45 2012 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 63B0D106566C for ; Sat, 18 Feb 2012 16:52:45 +0000 (UTC) (envelope-from juvix88@gmail.com) Received: from mail-qw0-f47.google.com (mail-qw0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id 147978FC17 for ; Sat, 18 Feb 2012 16:52:44 +0000 (UTC) Received: by qadz30 with SMTP id z30so2095184qad.13 for ; Sat, 18 Feb 2012 08:52:44 -0800 (PST) Received-SPF: pass (google.com: domain of juvix88@gmail.com designates 10.229.134.194 as permitted sender) client-ip=10.229.134.194; Authentication-Results: mr.google.com; spf=pass (google.com: domain of juvix88@gmail.com designates 10.229.134.194 as permitted sender) smtp.mail=juvix88@gmail.com; dkim=pass header.i=juvix88@gmail.com Received: from mr.google.com ([10.229.134.194]) by 10.229.134.194 with SMTP id k2mr9720497qct.68.1329583964531 (num_hops = 1); Sat, 18 Feb 2012 08:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:disposition-notification-to:date:from:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=CYRiP2Ns0BeK83QCet5F52YrnbvKvYlaFKh2KvTmELE=; b=UM/yW9kgACQ2/qSgRcV9xD6oGl6jvKlB8lCMHgIlTTOXP6sqQBbO7XRcaaqSlckPtC zXBaPVyJd0CJgebu+nAxK5rMvijwzc32zsz9D55bGY71hI4/Mrvbc4RQqwH75XLSYZC/ VCqGrNCBM81/QjclLxy9Q7RBB827Y5sik16D8= Received: by 10.229.134.194 with SMTP id k2mr8278999qct.68.1329583963788; Sat, 18 Feb 2012 08:52:43 -0800 (PST) Received: from [192.168.0.199] (ool-18ba4338.dyn.optonline.net. [24.186.67.56]) by mx.google.com with ESMTPS id o8sm34453233qan.11.2012.02.18.08.52.42 (version=SSLv3 cipher=OTHER); Sat, 18 Feb 2012 08:52:43 -0800 (PST) Message-ID: <4F3FD761.4020605@gmail.com> Date: Sat, 18 Feb 2012 11:52:49 -0500 From: Jonathan Vomacka User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Question regarding SPF records 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: Sat, 18 Feb 2012 16:52:45 -0000 I am inquiring about how to setup a proper SPF record. I know there are SPF wizards/generators available but each seem to have a different "opinion" of what should be included and what should not be included. Let me give you a scenario of my setup, and hopefully someone can help me out. My domain is: test.com My mailserver hostname is: mail.host.com which also has a MATCHING PTR record mail.host.com (for example) resolves to 50.1.1.1 and 50.1.1.1 resolves to mail.host.com This is a STANDALONE mail server which will receive and send email without any VIP's or load balancing. There is however one additional host that will send out mail from the domain but it wont be receiving mail, it will only be used as an SMTP (outbound only) server attached to a website automailer which is on a seperate webserver... It only generates error reports and sends them out... so technically it isn't a full mail server but it will be sending (outbound only) mail on behalf of the domain. The additional host is: mail2.test.com which resolves to 50.2.2.2 and there is a Matching PTR. These are the ONLY mail servers and IP addresses that will be sending out mail from the test.com domain. Some websites say I should use -all and others say -all will cause some MTA's to reject and ~all is better to use even if those are the only two hosts sending out mail. Would you be able to assist with a solid SPF record?