"Fossies" - the Fresh Open Source Software Archive

Member "Mail-SPF-Query-1.999.1/t/test.dat" (9 Jan 2006, 22437 Bytes) of package /linux/privat/old/Mail-SPF-Query-1.999.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) AMPL source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # this file is read by test.pl
    2 # 
    3 # it can be used as a common test configurator for all SPF client libraries.
    4 # meng will keep it up to date to match spf1-test.mailzone.com.
    5 # 
    6 # tab-separated format:
    7 # 
    8 #  test_number        i know this starts at 2; test 1 is for loading the test.txt itself
    9 #  sender             where no username@ is provided, substitute droid for the localpart, but postmaster for %{l}
   10 #  client_ip          the IP of the pretend client
   11 #  result             expected result
   12 # [smtp_comment]      optional smtp comment
   13 # [header_comment]    optional header comment (not counting the local "domain name: " prefix)
   14 #
   15 # The sender field can have a ':' in it. In this case the part of the field after the colon
   16 # contains a local policy to be used just before the terminating 'all'.
   17 # 
   18 # most tests have no smtp_comment / header_comment.
   19 # to execute a test, feed the SPF client library the sender / client_ip input tuple,
   20 # and see if you get back the expected result.
   21 # 
   22 # keep the numbers straight with perl -ple 'BEGIN { $num = 1 } s/(?:^|\G)(\d+)(,)?/++$num . "$2"/eg;'
   23 
   24 2  localhost.localdomain      127.0.0.1           pass
   25 
   26 # '01.spf1-test.mailzone.com:v=spf1                                                             :60
   27 # '02.spf1-test.mailzone.com:v=spf1                                             -all       :60
   28 # '03.spf1-test.mailzone.com:v=spf1                                             ~all:60
   29 # '05.spf1-test.mailzone.com:v=spf1                                             default=deny   :60
   30 # '06.spf1-test.mailzone.com:v=spf1                                             ?all :60
   31 # '07.spf1-test.mailzone.com:v=spf2                                             default=bogus   :60
   32 # '08.spf1-test.mailzone.com:v=spf1                       -all      ?all  :60
   33 
   34 3  01.spf1-test.mailzone.com  192.0.2.1           neutral
   35 4  02.spf1-test.mailzone.com  192.0.2.1           fail
   36 5  03.spf1-test.mailzone.com  192.0.2.1           softfail
   37 6  05.spf1-test.mailzone.com  192.0.2.1           fail
   38 7,8,9   06.spf1-test.mailzone.com   192.0.2.1   neutral /./ 192.0.2.1 is neither permitted nor denied by domain of 06.spf1-test.mailzone.com
   39 10  07.spf1-test.mailzone.com  192.0.2.1           none
   40 11  08.spf1-test.mailzone.com  192.0.2.1           fail
   41 
   42 # '10.spf1-test.mailzone.com:v=spf1 mx                                          -all:60
   43 12  10.spf1-test.mailzone.com  192.0.2.1           fail
   44 13  10.spf1-test.mailzone.com  192.0.2.10          pass
   45 14  10.spf1-test.mailzone.com  192.0.2.11          pass
   46 15  10.spf1-test.mailzone.com  192.0.2.12          pass
   47 16   10.spf1-test.mailzone.com  192.0.2.13          pass
   48 17   10.spf1-test.mailzone.com  192.0.2.20          pass
   49 18   10.spf1-test.mailzone.com  192.0.2.21          pass
   50 19   10.spf1-test.mailzone.com  192.0.2.22          pass
   51 20   10.spf1-test.mailzone.com  192.0.2.23          pass
   52 21   10.spf1-test.mailzone.com  192.0.2.30          pass
   53 22   10.spf1-test.mailzone.com  192.0.2.31          pass
   54 23   10.spf1-test.mailzone.com  192.0.2.32          pass
   55 24   10.spf1-test.mailzone.com  192.0.2.33          pass
   56 25   10.spf1-test.mailzone.com  192.0.2.34          fail
   57 
   58 # @10.spf1-test.mailzone.com::mx01.spf1-test.mailzone.com:10:60
   59 # @10.spf1-test.mailzone.com::mx02.spf1-test.mailzone.com:10:60
   60 # @10.spf1-test.mailzone.com::mx03.spf1-test.mailzone.com:20:60
   61 # 
   62 # @12.spf1-test.mailzone.com::mx01.spf1-test.mailzone.com:10:60
   63 # @12.spf1-test.mailzone.com::mx02.spf1-test.mailzone.com:10:60
   64 # @12.spf1-test.mailzone.com::mx03.spf1-test.mailzone.com:20:60
   65 # 
   66 # @14.spf1-test.mailzone.com::mx01.spf1-test.mailzone.com:10:60
   67 # @14.spf1-test.mailzone.com::mx02.spf1-test.mailzone.com:10:60
   68 # @14.spf1-test.mailzone.com::mx03.spf1-test.mailzone.com:20:60
   69  
   70 # '11.spf1-test.mailzone.com:v=spf1    mx\072spf1-test.mailzone.com                          -all:60
   71 26   11.spf1-test.mailzone.com  192.0.2.1           fail
   72 27   11.spf1-test.mailzone.com  192.0.2.10          pass
   73 28   11.spf1-test.mailzone.com  192.0.2.33          pass
   74  
   75 # '12.spf1-test.mailzone.com:v=spf1 mx mx\072spf1-test.mailzone.com                          -all:60
   76 29   12.spf1-test.mailzone.com  192.0.2.1           fail
   77 30   12.spf1-test.mailzone.com  192.0.2.10          pass
   78 31   12.spf1-test.mailzone.com  192.0.2.33          pass
   79 32   12.spf1-test.mailzone.com  208.210.124.192     fail
   80  
   81 # '13.spf1-test.mailzone.com:v=spf1    mx\072spf1-test.mailzone.com mx\072fallback-relay.spf1-test.mailzone.com -all:60
   82 33   13.spf1-test.mailzone.com  192.0.2.1           fail
   83 34   13.spf1-test.mailzone.com  192.0.2.10          pass
   84 35   13.spf1-test.mailzone.com  192.0.2.33          pass
   85 36   13.spf1-test.mailzone.com  208.210.124.192     fail
   86 37   13.spf1-test.mailzone.com  192.0.2.40          pass
   87  
   88 # '14.spf1-test.mailzone.com:v=spf1 mx mx\072spf1-test.mailzone.com mx\072fallback-relay.spf1-test.mailzone.com -all:60
   89 38   14.spf1-test.mailzone.com  192.0.2.1           fail
   90 39   14.spf1-test.mailzone.com  192.0.2.10          pass
   91 40   14.spf1-test.mailzone.com  192.0.2.33          pass
   92 41   14.spf1-test.mailzone.com  208.210.124.192     fail
   93 42   14.spf1-test.mailzone.com  192.0.2.40          pass
   94 
   95 # # the spf1-test.mailzone.com domain has two A records and three MX records.
   96 # # the first A record has no PTR.  the second does.  it's real.
   97 # @spf1-test.mailzone.com::mx01.spf1-test.mailzone.com:10:60
   98 # @spf1-test.mailzone.com::mx02.spf1-test.mailzone.com:10:60
   99 # @spf1-test.mailzone.com::mx03.spf1-test.mailzone.com:20:60
  100 # 
  101 # +spf1-test.mailzone.com:192.0.2.200:60
  102 # =spf1-test.mailzone.com:208.210.124.192:60
  103 # 
  104 # @fallback-relay.spf1-test.mailzone.com::mx04.spf1-test.mailzone.com:10:60
  105 # 
  106 # +mx01.spf1-test.mailzone.com:192.0.2.10:60
  107 # +mx01.spf1-test.mailzone.com:192.0.2.11:60
  108 # +mx01.spf1-test.mailzone.com:192.0.2.12:60
  109 # +mx01.spf1-test.mailzone.com:192.0.2.13:60
  110 # 
  111 # +mx02.spf1-test.mailzone.com:192.0.2.20:60
  112 # +mx02.spf1-test.mailzone.com:192.0.2.21:60
  113 # +mx02.spf1-test.mailzone.com:192.0.2.22:60
  114 # +mx02.spf1-test.mailzone.com:192.0.2.23:60
  115 # 
  116 # +mx03.spf1-test.mailzone.com:192.0.2.30:60
  117 # +mx03.spf1-test.mailzone.com:192.0.2.31:60
  118 # +mx03.spf1-test.mailzone.com:192.0.2.32:60
  119 # +mx03.spf1-test.mailzone.com:192.0.2.33:60
  120 # 
  121 # +mx04.spf1-test.mailzone.com:192.0.2.40:60
  122 # +mx04.spf1-test.mailzone.com:192.0.2.41:60
  123 # +mx04.spf1-test.mailzone.com:192.0.2.42:60
  124 # +mx04.spf1-test.mailzone.com:192.0.2.43:60
  125 # 
  126 
  127 # '20.spf1-test.mailzone.com:v=spf1 a                                           -all:60
  128 43 20.spf1-test.mailzone.com    192.0.2.1           fail
  129 44 20.spf1-test.mailzone.com    192.0.2.120         pass
  130 
  131 # '21.spf1-test.mailzone.com:v=spf1   a\072spf1-test.mailzone.com                            -all:60
  132 45 21.spf1-test.mailzone.com    192.0.2.1           fail
  133 46 21.spf1-test.mailzone.com    192.0.2.121         fail
  134 47 21.spf1-test.mailzone.com    192.0.2.200         pass
  135 
  136 # '22.spf1-test.mailzone.com:v=spf1 a a\072spf1-test.mailzone.com                            -all:60
  137 48 22.spf1-test.mailzone.com    192.0.2.1           fail
  138 49 22.spf1-test.mailzone.com    192.0.2.122         pass
  139 50 22.spf1-test.mailzone.com    192.0.2.200         pass
  140 
  141 # 
  142 # +20.spf1-test.mailzone.com:192.0.2.120:60
  143 # +21.spf1-test.mailzone.com:192.0.2.121:60
  144 # +22.spf1-test.mailzone.com:192.0.2.122:60
  145 # 
  146 
  147 # '30.spf1-test.mailzone.com:v=spf1 ptr                                         -all:60
  148 # '30.spf1-test.mailzone.com:v=spf1 ptr                                         default=softdeny:60
  149 51 30.spf1-test.mailzone.com    64.236.24.4         fail
  150 52 30.spf1-test.mailzone.com    208.210.124.130     pass
  151 
  152 # '31.spf1-test.mailzone.com:v=spf1     ptr\072spf1-test.mailzone.com                        -all:60
  153 53 31.spf1-test.mailzone.com    64.236.24.4         fail
  154 54 31.spf1-test.mailzone.com    208.210.124.130     pass
  155 55 31.spf1-test.mailzone.com    208.210.124.192     pass
  156 
  157 # '32.spf1-test.mailzone.com:v=spf1 ptr ptr\072spf1-test.mailzone.com                        -all:60
  158 56 32.spf1-test.mailzone.com    64.236.24.4         fail
  159 57 32.spf1-test.mailzone.com    208.210.124.130     pass
  160 58 32.spf1-test.mailzone.com    208.210.124.131     pass
  161 59 32.spf1-test.mailzone.com    208.210.124.192     pass
  162 
  163 # =30.spf1-test.mailzone.com:208.210.124.130:60
  164 # =31.spf1-test.mailzone.com:208.210.124.131:60
  165 # =32.spf1-test.mailzone.com:208.210.124.132:60
  166 
  167 # '40.spf1-test.mailzone.com:v=spf1 exists\072%{ir}.%{v}._spf.%{d}                    -all:60
  168 60 40.spf1-test.mailzone.com    192.0.2.100         pass
  169 61 40.spf1-test.mailzone.com    192.0.2.101         pass
  170 62 40.spf1-test.mailzone.com    192.0.2.102         fail
  171 
  172 # '41.spf1-test.mailzone.com:v=spf1 exists\072%{ir}.%{v}._spf.spf1-test.mailzone.com            -all:60
  173 63 41.spf1-test.mailzone.com    192.0.2.100         fail
  174 64 41.spf1-test.mailzone.com    192.0.2.110         pass
  175 65 41.spf1-test.mailzone.com    192.0.2.111         pass
  176 
  177 # '42.spf1-test.mailzone.com:v=spf1 exists\072%{ir}.%{v}._spf.%{d} exists\072%{ir}.%{v}._spf.%{d3} -all:60
  178 66 42.spf1-test.mailzone.com    192.0.2.100         fail
  179 67 42.spf1-test.mailzone.com    192.0.2.110         pass
  180 68 42.spf1-test.mailzone.com    192.0.2.130    pass
  181 69 42.spf1-test.mailzone.com    192.0.2.131    pass
  182 
  183 
  184 # 
  185 # +100.2.0.192.in-addr._spf.40.spf1-test.mailzone.com:127.0.0.2:60
  186 # +101.2.0.192.in-addr._spf.40.spf1-test.mailzone.com:127.0.0.2:60
  187 # 
  188 # +110.2.0.192.in-addr._spf.spf1-test.mailzone.com:127.0.0.2:60
  189 # +111.2.0.192.in-addr._spf.spf1-test.mailzone.com:127.0.0.2:60
  190 # 
  191 # +120.2.0.192.spf1-test.mailzone.com:127.0.0.2:60
  192 # +121.2.0.192.spf1-test.mailzone.com:127.0.0.2:60
  193 # 
  194 # +130.2.0.192.in-addr._spf.42.spf1-test.mailzone.com:127.0.0.2:60
  195 # +131.2.0.192.in-addr._spf.42.spf1-test.mailzone.com:127.0.0.2:60
  196 # 
  197 
  198 # '45.spf1-test.mailzone.com:v=spf1 -a a\072spf1-test.mailzone.com                           -all:60
  199 70 45.spf1-test.mailzone.com    192.0.2.140    fail
  200 71 45.spf1-test.mailzone.com    192.0.2.145    fail
  201 72 45.spf1-test.mailzone.com    192.0.2.146    fail
  202 73 45.spf1-test.mailzone.com    192.0.2.147    fail
  203 74 45.spf1-test.mailzone.com    192.0.2.148    fail
  204 75 45.spf1-test.mailzone.com    208.210.124.192    pass
  205 76 45.spf1-test.mailzone.com    192.0.2.200    pass
  206 
  207 # 
  208 # +45.spf1-test.mailzone.com:192.0.2.145:60
  209 # +45.spf1-test.mailzone.com:192.0.2.146:60
  210 # +45.spf1-test.mailzone.com:192.0.2.147:60
  211 # 
  212 
  213 # '50.spf1-test.mailzone.com:v=spf1 include                                     -all:60
  214 77 50.spf1-test.mailzone.com    192.0.2.200    unknown
  215 
  216 # '51.spf1-test.mailzone.com:v=spf1 include\07242.spf1-test.mailzone.com                  -all:60
  217 78 51.spf1-test.mailzone.com    192.0.2.200       fail
  218 79 51.spf1-test.mailzone.com    192.0.2.130       pass
  219 
  220 # '52.spf1-test.mailzone.com:v=spf1 include\07253.spf1-test.mailzone.com                  -all:60
  221 # C53.spf1-test.mailzone.com:54.spf1-test.mailzone.com
  222 # '54.spf1-test.mailzone.com:v=spf1 include\07242.spf1-test.mailzone.com                  -all:60
  223 80 52.spf1-test.mailzone.com    192.0.2.200       fail
  224 81 52.spf1-test.mailzone.com    192.0.2.130       pass
  225 
  226 # '55.spf1-test.mailzone.com:v=spf1 include\07256.spf1-test.mailzone.com                  -all:60
  227 82  55.spf1-test.mailzone.com   192.0.2.200 unknown
  228 83  55.spf1-test.mailzone.com   192.0.2.130 unknown
  229 
  230 # 56.spf1-test.mailzone.com deliberately left blank
  231 84 56.spf1-test.mailzone.com    192.0.2.200       unknown
  232 
  233 # TODO: none and fail are both acceptable.  we need a way to indicate that multiple result codes are OK.
  234 
  235 # include something that doesn't have SPF records
  236 # '57.spf1-test.mailzone.com:v=spf1 include\072spf1-test.mailzone.com         -all:60
  237 85  57.spf1-test.mailzone.com   192.0.2.200 unknown
  238 86  57.spf1-test.mailzone.com   192.0.2.130 unknown
  239 
  240 # loop detection
  241 # '58.spf1-test.mailzone.com:v=spf1 include\07259.spf1-test.mailzone.com                  -all:60
  242 # '59.spf1-test.mailzone.com:v=spf1 include\07258.spf1-test.mailzone.com                  -all:60
  243 87  58.spf1-test.mailzone.com   192.0.2.200 unknown
  244 88  59.spf1-test.mailzone.com   192.0.2.130 unknown
  245 
  246 # '70.spf1-test.mailzone.com:v=spf1 exists\072%{lr+=}.lp._spf.spf1-test.mailzone.com -all:60
  247 # 
  248 # +*.bob.lp._spf.spf1-test.mailzone.com:127.0.0.2:60
  249 # +bob.lp._spf.spf1-test.mailzone.com:127.0.0.2:60
  250 # 
  251 # # no entries for joe.
  252 
  253 # '70.spf1-test.mailzone.com:v=spf1 exists\072%{lr+=}.lp._spf.spf1-test.mailzone.com -all:60
  254 89 droid@70.spf1-test.mailzone.com  192.0.2.103          fail
  255 
  256 90 bob+1@70.spf1-test.mailzone.com  192.0.2.103          pass
  257 91 bob+2@70.spf1-test.mailzone.com  192.0.2.103          pass
  258 92   bob@70.spf1-test.mailzone.com  192.0.2.103          pass
  259 93 joe+1@70.spf1-test.mailzone.com  192.0.2.103          fail
  260 94 joe-2@70.spf1-test.mailzone.com  192.0.2.103          fail
  261 95 moe-1@70.spf1-test.mailzone.com  192.0.2.103          fail
  262 # client should substitute postmaster when no localpart.
  263 96 70.spf1-test.mailzone.com  192.0.2.103                pass
  264 
  265 # '80.spf1-test.mailzone.com:v=spf1 a mx exists\072%{ir}.%{v}._spf.80.spf1-test.mailzone.com ptr -all:60
  266 # =80.spf1-test.mailzone.com:208.210.124.180:60
  267 # +80.2.0.192.in-addr._spf.80.spf1-test.mailzone.com:127.0.0.2:60
  268 97 80.spf1-test.mailzone.com    64.236.24.4       fail
  269 98 80.spf1-test.mailzone.com    208.210.124.180       pass
  270 99 80.spf1-test.mailzone.com    192.0.2.80       pass
  271 
  272 # '90.spf1-test.mailzone.com:v=spf1  ip4\072192.0.2.128/25 -all:60
  273 100 90.spf1-test.mailzone.com    192.0.2.1       fail
  274 101 90.spf1-test.mailzone.com    192.0.2.127       fail
  275 102 90.spf1-test.mailzone.com    192.0.2.129       pass
  276 
  277 # '91.spf1-test.mailzone.com:v=spf1 -ip4\072192.0.2.128/25 ip4\072192.0.2.0/24 -all:60
  278 103 91.spf1-test.mailzone.com    192.168.1.1       fail
  279 104 91.spf1-test.mailzone.com    192.0.2.127       pass
  280 105 91.spf1-test.mailzone.com    192.0.2.129       fail
  281 
  282 # '92.spf1-test.mailzone.com:v=spf1 ?ip4\072192.0.2.192/26 ip4\072192.0.2.128/25 -ip4\072192.0.2.0/24 -all:60
  283 106 92.spf1-test.mailzone.com    192.168.2.1       fail
  284 107 92.spf1-test.mailzone.com    192.0.2.1       fail
  285 108 92.spf1-test.mailzone.com    192.0.2.129       pass
  286 109 92.spf1-test.mailzone.com    192.0.2.193       neutral
  287 
  288 # '95.spf1-test.mailzone.com:v=spf1 exists\072%{p}.whitelist.spf1-test.mailzone.com -all:60
  289 # '96.spf1-test.mailzone.com:v=spf1 -exists\072%{d}.blacklist.spf1-test.mailzone.com -all:60
  290 # '97.spf1-test.mailzone.com:v=spf1 exists\072%{p}.whitelist.spf1-test.mailzone.com -exists\072%{d}.blacklist.spf1-test.mailzone.com -all:60
  291 110 95.spf1-test.mailzone.com  208.210.124.180       pass
  292 111 95.spf1-test.mailzone.com  208.210.124.1       fail
  293 112 96.spf1-test.mailzone.com  192.0.2.193       fail
  294 113 97.spf1-test.mailzone.com  208.210.124.180       pass
  295 
  296 # +*.spf1-test.mailzone.com.blacklist.spf1-test.mailzone.com:127.0.0.2:60
  297 # +*.spf1-test.mailzone.com.whitelist.spf1-test.mailzone.com:127.0.0.2:60
  298 
  299 # '98.spf1-test.mailzone.com:v=spf1 a/26 mx/26 -all:60
  300 # +98.spf1-test.mailzone.com:192.0.2.98:60
  301 # @98.spf1-test.mailzone.com::80.spf1-test.mailzone.com:10:60
  302 114 98.spf1-test.mailzone.com  192.0.2.1          fail
  303 115 98.spf1-test.mailzone.com  192.0.2.98         pass
  304 116 98.spf1-test.mailzone.com  192.0.2.99         pass
  305 117 98.spf1-test.mailzone.com  208.210.124.180    pass
  306 118 98.spf1-test.mailzone.com  208.210.124.1      fail
  307 119 98.spf1-test.mailzone.com  208.210.124.181    pass
  308 
  309 # '08.spf1-test.mailzone.com:v=spf1                       default=softdeny      default=deny  :60
  310 # '09.spf1-test.mailzone.com:v=spf1    scope=header-from scope=envelope         -all  :60
  311 120 08.spf1-test.mailzone.com  192.0.2.1     fail
  312 121 09.spf1-test.mailzone.com  192.0.2.1     fail
  313 
  314 # '99.spf1-test.mailzone.com:v=spf1 -all exp=99txt.spf1-test.mailzone.com moo:60
  315 # '99txt.spf1-test.mailzone.com:%u %s %d %t %h %i %% %U %S %D %T %H %I %% moo:60
  316 122 99.spf1-test.mailzone.com  192.0.2.1     fail
  317 
  318 # testing redirection
  319 # '100.spf1-test.mailzone.com:v=spf1      redirect=98.spf1-test.mailzone.com:60
  320 123 100.spf1-test.mailzone.com  192.0.2.1     fail
  321 124 100.spf1-test.mailzone.com  192.0.2.98    pass
  322 
  323 # '101.spf1-test.mailzone.com:v=spf1 -all redirect=98.spf1-test.mailzone.com:60
  324 125 101.spf1-test.mailzone.com  192.0.2.98    fail
  325 
  326 # '102.spf1-test.mailzone.com:v=spf1 ?all redirect=98.spf1-test.mailzone.com:60
  327 126 102.spf1-test.mailzone.com  192.0.2.98    neutral 
  328 
  329 # '103.spf1-test.mailzone.com:v=spf1      redirect=98.%{d3}:60
  330 127 103.spf1-test.mailzone.com  192.0.2.98    pass
  331 
  332 # '104.spf1-test.mailzone.com:v=spf1      redirect=105.%{d3}:60
  333 # '105.spf1-test.mailzone.com:v=spf1      redirect=106.%{d3}:60
  334 # '106.spf1-test.mailzone.com:v=spf1      redirect=107.%{d3}:60
  335 # '107.spf1-test.mailzone.com:v=spf1       include\072104.%{d3}:60
  336 128,129,130 droid@104.spf1-test.mailzone.com    192.0.2.98  unknown SPF record error: loop encountered: 104.spf1-test.mailzone.com redirects to 105.spf1-test.mailzone.com redirects to 106.spf1-test.mailzone.com redirects to 107.spf1-test.mailzone.com includes 104.spf1-test.mailzone.com  error in processing during lookup of droid@104.spf1-test.mailzone.com
  337 
  338 131,132,133 droid@110.spf1-test.mailzone.com    192.0.2.98  unknown some:unrecognized=mechanism SPF record error: unrecognized mechanism some:unrecognized=mechanism    encountered unrecognized mechanism during SPF processing of domain of droid@110.spf1-test.mailzone.com
  339 
  340 # the following tests are for Mail::SPF::Query's result2 and message_result2 methods only.
  341 
  342 134,135,136   20.spf1-test.mailzone.com  192.0.2.33          foo@bar.com=fail,foo@spf1-test.mailzone.com=fail,fail
  343 137,138,139,140 20.spf1-test.mailzone.com   192.0.2.33  foo@spf1-test.mailzone.com=pass,foo@bar.com=fail,fail   .   domain of 20.spf1-test.mailzone.com does not designate 192.0.2.33 as permitted sender
  344 141,142,143 20.spf1-test.mailzone.com   192.0.2.33  foo@spf1-test.mailzone.com=pass,pass    .   message received from 192.0.2.33 which is an MX secondary for foo@spf1-test.mailzone.com
  345 144,145   20.spf1-test.mailzone.com  192.0.2.33          foo@bar.com=fail,fail
  346 146,147,148   20.spf1-test.mailzone.com  192.0.2.34          foo@spf1-test.mailzone.com=fail,foo@bar.com=fail,fail
  347 149,150,151 20.spf1-test.mailzone.com       192.0.2.120     dog@cat.com=pass,foo@bar.com=pass,pass
  348 152,153 20.spf1-test.mailzone.com       192.0.2.120     dog@cat.com;foo@bar.com=pass,pass
  349 154,155,156 20.spf1-test.mailzone.com   192.0.2.33  foo@spf1-test.mailzone.com;foo@bar.com=fail,fail    .   domain of 20.spf1-test.mailzone.com does not designate 192.0.2.33 as permitted sender
  350 157,158,159 20.spf1-test.mailzone.com   192.0.2.33  foo@bar.com;foo@spf1-test.mailzone.com=fail,fail    .   domain of 20.spf1-test.mailzone.com does not designate 192.0.2.33 as permitted sender
  351 
  352 # tests for localpolicy overrides
  353 
  354 160 103.spf1-test.mailzone.com:-all  192.0.2.98    pass 
  355 
  356 161,162,163 20.spf1-test.mailzone.com:+all  192.0.2.1   pass    /./ local policy
  357 164,165,166 20.spf1-test.mailzone.com:+ip4:192.0.2.1    192.0.2.1   pass    /./ local policy
  358 167 20.spf1-test.mailzone.com:+ip4:192.0.2.2    192.0.2.1           fail 
  359 
  360 # '91.spf1-test.mailzone.com:v=spf1 -ip4\072192.0.2.128/25 ip4\072192.0.2.0/24 -all:60
  361 168 91.spf1-test.mailzone.com:ip4:192.168.1.0/24    192.168.1.1       pass
  362 169 91.spf1-test.mailzone.com:-ip4:192.0.0.0/8    192.0.2.127       pass
  363 170 91.spf1-test.mailzone.com:ip4:192.0.0.0/8    192.0.2.129       fail
  364 
  365 # '92.spf1-test.mailzone.com:v=spf1 ?ip4\072192.0.2.192/26 ip4\072192.0.2.128/25 -ip4\072192.0.2.0/24 -all:60
  366 171 92.spf1-test.mailzone.com:+all    192.168.2.1       pass
  367 172 92.spf1-test.mailzone.com:+all    192.0.2.1       pass
  368 173 92.spf1-test.mailzone.com:-all    192.0.2.129       pass
  369 174 92.spf1-test.mailzone.com:-all    192.0.2.193       neutral
  370 
  371 # '100.spf1-test.mailzone.com:v=spf1      redirect=98.spf1-test.mailzone.com:60
  372 175 100.spf1-test.mailzone.com:+all  192.0.2.1     pass
  373 176 100.spf1-test.mailzone.com:-all  192.0.2.98    pass
  374 
  375 # '101.spf1-test.mailzone.com:v=spf1 -all redirect=98.spf1-test.mailzone.com:60
  376 177 101.spf1-test.mailzone.com:+all  192.0.2.98    fail
  377 
  378 # '102.spf1-test.mailzone.com:v=spf1 ?all redirect=98.spf1-test.mailzone.com:60
  379 178 102.spf1-test.mailzone.com:+all  192.0.2.98    neutral
  380 
  381 # '10.spf1-test.mailzone.com:v=spf1 mx                                          -all:60
  382 179,180,181 10.spf1-test.mailzone.com:include:42.%{d3}  192.0.2.200 fail    explanation domain of 10.spf1-test.mailzone.com does not designate 192.0.2.200 as permitted sender
  383 182,183,184 10.spf1-test.mailzone.com:include:42.%{d3} +all 192.0.2.200 pass    /./ local policy
  384 185,186,187 10.spf1-test.mailzone.com:include:42.%{d3} +all 192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  385 
  386 188,189,190 42-27@10.spf1-test.mailzone.com:include:%{l1r-}.%{d3} +all  192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  387 191,192,193 42-27@10.spf1-test.mailzone.com:include:%{l1r0-9}.%{d3} +all    192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  388 194,195,196 42-27@10.spf1-test.mailzone.com:include:%{l1r^-}.%{d3} +all 192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  389 197,198,199 42di27@10.spf1-test.mailzone.com:include:%{l1r:digit:}.%{d3} +all   192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  390 200,201,202 42\07227@10.spf1-test.mailzone.com:include:%{l1r:digit:}.%{d3} +all 192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  391 203,204,205 42\07227@10.spf1-test.mailzone.com:include:%{l1r$foo:}.%{d3} +all   192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  392 206,207,208 42\27@10.spf1-test.mailzone.com:include:%{l1r$fo\o:}.%{d3} +all 192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  393 209,210,211 42-27@10.spf1-test.mailzone.com:include:%{l1r-[]}.%{d3} +all    192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  394 212,213,214 42327@10.spf1-test.mailzone.com:include:%{l1r-[]3}.%{d3} +all   192.0.2.110 pass    /./ local policy includes SPF record at 42.spf1-test.mailzone.com
  395 215,216,217 10.spf1-test.mailzone.com:include:01.%{d3} include:02.%{d3} include:06.%{d3} +all   192.0.2.110 pass    /./ local policy
  396 
  397 218,219,220 10.spf1-test.mailzone.com:include:servfail.%{d3}    192.0.2.200 error   explanation: DNS error while looking up servfail.spf1-test.mailzone.com TXT: SERVFAIL   encountered temporary error during SPF processing of domain of 10.spf1-test.mailzone.com
  398 
  399 221,222,223 10.spf1-test.mailzone.com:~all  192.0.2.200 softfail    explanation local policy