# @(#)11 1.2 src/bos/usr/samples/tcpip/sendmail/feature/badmx.m4, tcpsamp, bos720 7/15/11 05:23:35 # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos720 src/bos/usr/samples/tcpip/sendmail/feature/badmx.m4 1.2 # # Licensed Materials - Property of IBM # # Restricted Materials of IBM # # COPYRIGHT International Business Machines Corp. 2010,2011 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG divert(-1) # # Copyright (c) 2006 Sendmail, Inc. and its suppliers. # All rights reserved. # # By using this file, you agree to the terms and conditions set # forth in the LICENSE file which can be found at the top level of # the sendmail distribution. # # divert(0) VERSIONID(`$Id: badmx.m4,v 1.1 2006/12/16 00:56:32 ca Exp $') divert(-1) define(`_BADMX_CHK_', 1) LOCAL_CONFIG Kmxlist bestmx -z: -T Kbadmx regex -a ^(([0-9]{1,3}\.){3}[0-9]){0,1}\.$ KdnsA dns -R A -a. -T KBadMXIP regex -a ifelse(defn(`_ARG_'), `', `^(127\.|10\.|0\.0\.0\.0)', `_ARG_')