[twsocket] SPF records

2011-05-02 Thread Wilfried Mestdagh
Hello, I have an SMTP server receiving mail to be send by SMS. I have to implement SPF record verification. I think with this information I can at least verify that the SMTP client who connect is the one who he claims to be. But where and how can I grab SPF records? Did somebody already written s

[twsocket] SSL Certificates check

2011-05-02 Thread marius gabi
Currently I'm facing an issue in a Server application that uses TSSLWSocketServer. I'm setting to the SSLContext a server certificate identified in code as SSLContext.SslCertFile, with the correct private key file identified as SSLContext.SslPrivKeyFile and a password. Also I'm adding a CAFile

[twsocket] Very Strange PHP Proxying Issue

2011-05-02 Thread Fastream Technologies
Hello, When we proxy our PHP home page at http://www.iqproxyserver.com, only with GZip compression on proxy, after 1 or 2 days of running it starts to produce pages with 7 copies of the same HTML! The original page size is 23829 Bytes. When compressed correctly it outputs 6356 Bytes. When this is

Re: [twsocket] Very Strange PHP Proxying Issue

2011-05-02 Thread Fastream Technologies
This is my function: void __fastcall ReverseProxyClientClass::prepareCompressedStream(void) { if(!compressedStream) compressedStream = new TMemoryStream(); else compressedStream->Clear(); } //--- unsigned int __fastcall

Re: [twsocket] SPF records

2011-05-02 Thread Angus Robertson - Magenta Systems Ltd
> I have to implement SPF record verification. It would be useful addition for ICS, particularly for POP3. > But where and how can I grab SPF records? Using OverbyteIcsDnsQuery with DnsQueryTXT to get DNS text strings. Text Query for bbc.co.uk: v=spf1 ip4:212.58.224.0/19 ip4:132.185.0.0/16

Re: [twsocket] SSL Certificates check

2011-05-02 Thread Arno Garrels
marius gabi wrote: > I'm receiving the following message > in the SSLVerifyPeer event: Error = 7 (certificate signature > failure). In the OnSslVerifyPeer event please do the following logging and post the result: Log('Received certificate'#13#10 + 'Subject: "' + Cert.Subje

Re: [twsocket] Very Strange PHP Proxying Issue

2011-05-02 Thread Fastream Technologies
Hello, I noticed contentlength is not taken into consideration in the compressFullStream() function. We want to sponsor a new function in ICS Zlib... for this for $50. I can pay with Paypal. I have spoken with Francois and we will donate the code to ICS. I suspect there may be another issue with o

Re: [twsocket] SPF records

2011-05-02 Thread Wilfried Mestdagh
Hi Angus, Thank you for reply and usefull information. I'm in the stage of price for customer but if I get my hands into it there sure will be ICS example :) -- mvg, Wilfried http://www.mestdagh.biz http://www.comfortsoftware.be http://www.expertsoftware.be > -Oorspronkelijk bericht- >

Re: [twsocket] SSL Certificates check

2011-05-02 Thread Arno Garrels
Arno Garrels wrote: > marius gabi wrote: > >> I'm receiving the following message >> in the SSLVerifyPeer event: Error = 7 (certificate signature >> failure). > > In the OnSslVerifyPeer event please do the following logging and > post the result: > > Log('Received certificate'#13#10 + >

[twsocket] SSL Certificates check

2011-05-02 Thread marius gabi
Hello!  Here is what the log is showing:Received certificateSubject: "/C=FR/L=Rennes/ST=Brittany/O=IHE/OU=IHE/CN=Poiseau Eric/emailAddress=eric.pois...@inria.fr"Issuer:   "/C=FR/L=Rennes/ST=Brittany/O=IHE/OU=IHE/CN=Poiseau Eric/emailAddress=eric.pois...@inria.fr"Verify result: certificate signat

Re: [twsocket] SSL Certificates check

2011-05-02 Thread Arno Garrels
marius gabi wrote: > Hello! > Here is what the log is showing:Received certificateSubject: > "/C=FR/L=Rennes/ST=Brittany/O=IHE/OU=IHE/CN=Poiseau > Eric/emailAddress=eric.pois...@inria.fr"Issuer: > "/C=FR/L=Rennes/ST=Brittany/O=IHE/OU=IHE/CN=Poiseau > Eric/emailAddress=eric.pois...@inria.fr"Verify r