Hi,
I am not familiar with curl, but downloaded and tested it (7.14.0
win32 build). Here's what I got after Ethereal'ing the traffic: it
appears that curl -F uses multipart/form-data posting, which is not
supported by ASP's Request.Form collection ($_POST for PHP guys) and
can be read in binary format only. The curl FAQ "3.3 Why doesn't my
posting using -F work?" tells that -F may not work in all cases and
then -d (which posts with application/x-www-form-urlencoded) should be
used. In fact...
curl -d
"ip=1.1.1.1&snd=test(_at_)test13(_dot_)spam(_dot_)co(_dot_)nz&helo=&c=c"
http://www.vamsoft.com/orf/spft/spfcheck.asp
...works without any problems. I know that URL encoding the parameters
is painful, but it is an ASP problem. At least I have learned
something new.
Peter
On 8/27/05, Craig Whitmore <lennon(_at_)orcon(_dot_)net(_dot_)nz> wrote:
Also is there any easy way to run this thru say curl. I've tried.
curl -F
"ip=1.1.1.1;snd=test(_at_)test13(_dot_)spam(_dot_)co(_dot_)nz;helo=;c=c"
http://www.vamsoft.com/orf/spft/spfcheck.asp
but only get back the default page. (To try and automate it against my list
of broken SPF records)
But cannot get it to give any proper results.
Thanks
Craig
-------
Sender Policy Framework: http://spf.pobox.com/
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/?listname=spf-discuss(_at_)v2(_dot_)listbox(_dot_)com
-------
Sender Policy Framework: http://spf.pobox.com/
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/?listname=spf-discuss(_at_)v2(_dot_)listbox(_dot_)com