spf-discuss
[Top] [All Lists]

Re: considering XML

2004-01-21 23:54:09
On Thu, Jan 22, 2004 at 12:45:26AM -0600, Phil Howard asserted:
On Wed, Jan 21, 2004 at 01:34:02PM -0600, wayne wrote:

| In <20040121184304(_dot_)GC6875(_at_)dumbo(_dot_)pobox(_dot_)com> Meng Weng 
Wong <mengwong(_at_)dumbo(_dot_)pobox(_dot_)com> writes:
| 
| > In DNS, it would be
| >
| >   "<ep 
xmlns='http://spf.info/1'><out><m><a>192.0.2.0</a></m><m/></out></ep>"
| 
| Correctly parsing SPF macros is a pain in many languages.  I could see
| advantages to using XML for that kind of parsing.

Which languages would those be?  Those which can call functions in C would
not have the problem as a parser can be done in C rather easily.  I do know
Perl and PHP (as if any MTA or validator would be in PHP, but you never know)
can call functions in C, and perhaps Python and Java can as well.


| Could you translate something like the following SPF record for me?
| 
|       TXT   "v=spf1 exists:%{ir}.%{l1r+}.%{d} exp=error"
| error TXT   "See http://%{d}/badmail?s=%{S}&i=%{I}&h=%{H}";

Are you talking about syntax or about semantics?


How about Farsi?  I've always liked Farsi.

Bob Greene
Public key available at 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC9C7841C
Or, you can just pull my finger

-------
Sender Permitted From: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Latest draft at http://spf.pobox.com/draft-mengwong-spf-02.9.4.txt
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname(_at_)©#«Mo\¯HÝÜîU;±¤Ö¤Íµø?¡


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