spf-discuss
[Top] [All Lists]

[spf-discuss] Received-SPF errata

2006-12-18 18:51:55
In RFC4408, key-value-pair is defined as:

  key-value-pair   = key [CFWS] "=" ( dot-atom / quoted-string )

However, the examples look like this:

Received-SPF: Pass (mybox.example.org: domain of
 myname(_at_)example(_dot_)com designates 192.0.2.1 as permitted sender)
    receiver=mybox.example.org; client-ip=192.0.2.1;
    envelope-from=<myname(_at_)example(_dot_)com>; helo=foo.example.com;

Received-SPF: Fail (mybox.example.org: domain of
                  myname(_at_)example(_dot_)com does not designate
                  192.0.2.1 as permitted sender)
                  identity=mailfrom; client-ip=192.0.2.1;
                  envelope-from=<myname(_at_)example(_dot_)com>;

Notice that envelope-from in both cases is NOT a dot-atom or quoted-string.
None of '<','>','@' are legal chars for dot-atom:

  atext           =       ALPHA / DIGIT / ; Any character except controls,
                          "!" / "#" /     ;  SP, and specials.
                          "$" / "%" /     ;  Used for atoms
                          "&" / "'" /
                          "*" / "+" /
                          "-" / "/" /
                          "=" / "?" /
                          "^" / "_" /
                          "`" / "{" /
                          "|" / "}" /
                          "~"

  atom            =       [CFWS] 1*atext [CFWS]

  dot-atom        =       [CFWS] dot-atom-text [CFWS]

  dot-atom-text   =       1*atext *("." 1*atext)

The examples should look like this:

Received-SPF: Pass (mybox.example.org: domain of
 myname(_at_)example(_dot_)com designates 192.0.2.1 as permitted sender)
    receiver=mybox.example.org; client-ip=192.0.2.1;
    envelope-from="myname(_at_)example(_dot_)com"; helo=foo.example.com;

Received-SPF: Fail (mybox.example.org: domain of
                  myname(_at_)example(_dot_)com does not designate
                  192.0.2.1 as permitted sender)
                  identity=mailfrom; client-ip=192.0.2.1;
                  envelope-from="myname(_at_)example(_dot_)com";

-- 
              Stuart D. Gathman <stuart(_at_)bmsi(_dot_)com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

-------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to http://v2.listbox.com/member/?list_id=735

<Prev in Thread] Current Thread [Next in Thread>