From owner-freebsd-questions@FreeBSD.ORG Tue Aug 24 11:06:53 2010 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 A65BD1065694 for ; Tue, 24 Aug 2010 11:06:53 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg20.ifdnrg.com (outbound.ifdnrg.com [195.66.148.241]) by mx1.freebsd.org (Postfix) with ESMTP id 4E0D38FC14 for ; Tue, 24 Aug 2010 11:06:52 +0000 (UTC) Received: from [192.168.1.131] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg20.ifdnrg.com (8.14.4/8.14.3) with ESMTP id o7OB6oc7051650 for ; Tue, 24 Aug 2010 12:06:50 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <4C73A7B9.6020802@ifdnrg.com> Date: Tue, 24 Aug 2010 12:06:33 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Freebsd questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: sendmail rdns question 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: Tue, 24 Aug 2010 11:06:53 -0000 Hi, Sorry for posting on a bsd list but i figure there's more than a few sendmail experts here. I would like to run reverse dns checks on one of my boxes but the check_rnds macro looks a bit overkill to me. I want to reject the mail if there's no reverse dns, but not if there is rdns but the PTR loop isn't closed (which is very common). So accepting these types: reject=451 4.1.8 Possibly forged hostname for but rejecting these types reject=550 5.7.1 <........>... Fix reverse DNS for ....................... In sendmail, FEATURE(`require_rdns')dnl seems to do both. many thanks Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA -------------------------