IAjapanロゴ
有害情報対策ポータルサイト
−迷惑メール対策編−
■ トップ > メール管理者の皆様へ > 技術情報 > RFC翻訳 > RFC4408 (p.46)
サイト紹介 | 新着情報 | 一般利用者の皆様へ | メール管理者の皆様へ | 活動・関連情報
RFC4405
RFC4406
RFC4407
RFC4408
RFC4409
B.3.  DNSBL Style Example
Imagine that, in addition to the domain records listed above, there
are these:

$ORIGIN _spf.example.com. mary.mobile-users A
127.0.0.2 fred.mobile-users A 127.0.0.2
15.15.168.192.joel.remote-users A 127.0.0.2
16.15.168.192.joel.remote-users A 127.0.0.2

B.3. DNSBL様式の例

以上に挙げられたドメインレコードに加え、以下のものがあるとしよう:

$ORIGIN _spf.example.com.  mary.mobile-users                   A
127.0.0.2 fred.mobile-users                   A 127.0.0.2
15.15.168.192.joel.remote-users     A 127.0.0.2
16.15.168.192.joel.remote-users     A 127.0.0.2
The following records describe users at example.com who mail from
arbitrary servers, or who mail from personal servers.

次のレコードは、example.comに、任意のサーバからメールを出すユーザや、個人サーバからメールを出すユーザがいることを記述している。

example.com:

v=spf1 mx
include:mobile-users._spf.%{d}
include:remote-users._spf.%{d}
-all

mobile-users._spf.example.com:

v=spf1 exists:%{l1r+}.%{d}

remote-users._spf.example.com:

v=spf1 exists:%{ir}.%{l1r+}.%{d}
example.com:

v=spf1 mx
include:mobile-users._spf.%{d}
include:remote-users._spf.%{d}
-all

mobile-users._spf.example.com:

v=spf1 exists:%{l1r+}.%{d}

remote-users._spf.example.com:

v=spf1 exists:%{ir}.%{l1r+}.%{d}
B.4.  Multiple Requirements Example
Say that your sender policy requires both that the IP address is
within a certain range and that the reverse DNS for the IP matches.
This can be done several ways, including the following:

example.com. SPF ( "v=spf1 "
"-include:ip4._spf.%{d} "
"-include:ptr._spf.%{d} "
"+all" )
ip4._spf.example.com. SPF "v=spf1 -ip4:192.0.2.0/24 +all"
ptr._spf.example.com. SPF "v=spf1 -ptr +all"

B.4. 複数の要求がある例

自ドメインの送信者ポリシによって、IPアドレスがある範囲内にあることと、そのIPアドレスへのリバースDNSが合致することの両方が要求されるとしよう。これは、以下の例を含む、いくつかの方法で記述できる。

example.com.           SPF  ( "v=spf1 "
"-include:ip4._spf.%{d} "
"-include:ptr._spf.%{d} "
"+all" )
ip4._spf.example.com. SPF "v=spf1 -ip4:192.0.2.0/24 +all"
ptr._spf.example.com. SPF "v=spf1 -ptr +all"

This example shows how the "-include" mechanism can be useful, how an
SPF record that ends in "+all" can be very restrictive, and the use
of De Morgan's Law.

この例では、“-include”機構が非常に便利に使えること、“+all”で終わるSPFレコードが非常に限定的になること、De Morganの法則の使用が見てとれる。

 

[Page 46]

 

《PREV》
1  4  5  9  12  16  22  25  27  31  35  38  39  42  44
《NEXT》
IAjapanについて | 連絡先 | リンク・転載・引用・ロゴ使用について | プライバシーポリシー
 (c) 2001-2009 Internet Association Japan