Re: [twsocket] abnormal winsock behaviour by firewall

2005-09-19 Thread Piotr Dałek
Hello!

> Hello,

> Just information because I think this is interesting to know:

> Normally when I want to know if there is a server on a machine I try to
> connect on the port where it should listen and check Error argument in
> OnSessionConnected.

> If you do this on a machine where Norton antivirus is running, and you
> try to connect on port 'smtp' and there is _no_ server and 'mail
> checking' is checked in the antivirus thing then OnSessionConnected will
> fire without error and a while later OnsessionClose will fire with a
> 10053.

There were other cases of abnormal behavior - AFAIR one of Outpost versions
were breaking connection (without informing client about this) when one
of data lines in POP3 connection exceeded 1024 bytes. Mail apps without
any internal timeouts and manual connection breaking capabilities were
mostly affected by this.

-- 
Piotr "Hellrayzer" Dalek
[EMAIL PROTECTED]

--
O kobietach, dla kobiet... >>> http://link.interia.pl/f18b4

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email toExchange2000server

2005-09-19 Thread Pete Williams
Hi

No, it is *not* using IMAP4 - it's Outlook Express (not Outlook) we're 
using. They have the same name but are quite different.

However, we will get a non-MS email client like pheonix tried out tomorrow. 
I'll post on my findings.

Pete.
- Original Message - 
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, September 19, 2005 7:07 PM
Subject: Re: [twsocket] [tsyncsmtpcli] Problem sending email 
toExchange2000server


> Yes, IMAP4 does it all.
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
> - Original Message - 
> From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
> To: "ICS support mailing" 
> Sent: Monday, September 19, 2005 8:05 PM
> Subject: Re: [twsocket] [tsyncsmtpcli] Problem sending email to
> Exchange2000server
>
>
>> Hello Francois,
>>
>>> Verify that OE use SMTP and don't use IMAP4.
>>
>> Is IMAP also used to send emails ? I have the problem that M$ Echange
>> complains it will not relay, but sending with outlook to same
>> destination it works. So probably this is the reason...
>>
>> ---
>> Rgds, Wilfried
>> http://www.mestdagh.biz
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
> 


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000server

2005-09-19 Thread Francois PIETTE
Yes, IMAP4 does it all.
--
[EMAIL PROTECTED]
http://www.overbyte.be

- Original Message - 
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, September 19, 2005 8:05 PM
Subject: Re: [twsocket] [tsyncsmtpcli] Problem sending email to 
Exchange2000server


> Hello Francois,
>
>> Verify that OE use SMTP and don't use IMAP4.
>
> Is IMAP also used to send emails ? I have the problem that M$ Echange
> complains it will not relay, but sending with outlook to same
> destination it works. So probably this is the reason...
>
> ---
> Rgds, Wilfried
> http://www.mestdagh.biz
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange 2000server

2005-09-19 Thread Wilfried Mestdagh
Hello Francois,

> Verify that OE use SMTP and don't use IMAP4.

Is IMAP also used to send emails ? I have the problem that M$ Echange
complains it will not relay, but sending with outlook to same
destination it works. So probably this is the reason...

---
Rgds, Wilfried
http://www.mestdagh.biz

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000server

2005-09-19 Thread Pete Williams
Hi

>Are you absolutely sure? We get customers emailing us all the time
saying
> "Outlook works fine

We get that too from our customers. Outlook Express and Outlook are
quite different. We are using OE as the tester.

>Exchange is a beast with way to many stupid settings.

I'll second that!

>Maybe
> Outlook is using one type of authentication while your SMTP client
is using
> a less secure method (or no authentication at all).

Our client is not using SMTP authentication, but neither is OE.

I'm going to give SocketSpy a try to see what could be up.

Thanks to everyone for their help.

Petew.
- Original Message - 
From: "Jake Traynham" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, September 19, 2005 4:58 PM
Subject: Re: [twsocket] [tsyncsmtpcli] Problem sending email to
Exchange2000server


> Hello,
>
> At 10:16 AM 9/19/2005, you wrote:
> >Hi
> >
> > >> Verify that OE use SMTP and don't use IMAP4.
> >
> >It definately uses SMTP.
>
> Are you absolutely sure?  We get customers emailing us all the time
saying
> "Outlook works fine, but your [SMTP based program] won't send emails
> outside of our domain!"  It's always that Outlook is connecting to
the
> server using IMAP and the settings on the server are set to allow
those
> emails to "relay" or whatever.  I would double- and triple-check the
> settings on Exchange to make sure that emails coming in over SMTP
can send
> out to the internet.  Exchange is a beast with way to many stupid
settings.
>
> The only other thing I can think of still has to do with the server
side:
> see if there's some settings in Exchange that limit who can relay
emails
> based on what type of authentication they use to access the server.
Maybe
> Outlook is using one type of authentication while your SMTP client
is using
> a less secure method (or no authentication at all).
>
> I hope this helps,
> Jake
>
>
> --
> Jake Traynham
> Comm-Unity Networking Systems
> FSA Associate Level Members
> http://www.cnsplug-ins.com/
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
>
> __ NOD32 1.1220 (20050919) Information __
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000server

2005-09-19 Thread Jake Traynham
Hello,

At 10:16 AM 9/19/2005, you wrote:
>Hi
>
> >> Verify that OE use SMTP and don't use IMAP4.
>
>It definately uses SMTP.

Are you absolutely sure?  We get customers emailing us all the time saying 
"Outlook works fine, but your [SMTP based program] won't send emails 
outside of our domain!"  It's always that Outlook is connecting to the 
server using IMAP and the settings on the server are set to allow those 
emails to "relay" or whatever.  I would double- and triple-check the 
settings on Exchange to make sure that emails coming in over SMTP can send 
out to the internet.  Exchange is a beast with way to many stupid settings.

The only other thing I can think of still has to do with the server side: 
see if there's some settings in Exchange that limit who can relay emails 
based on what type of authentication they use to access the server.  Maybe 
Outlook is using one type of authentication while your SMTP client is using 
a less secure method (or no authentication at all).

I hope this helps,
Jake


--
Jake Traynham
Comm-Unity Networking Systems
FSA Associate Level Members
http://www.cnsplug-ins.com/

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email toExchange 2000server

2005-09-19 Thread Arno Garrels
DZ-Jay wrote:
> Francois Piette wrote:
>> Verify that OE use SMTP and don't use IMAP4.
>> Use a netwrok sniffer to see exactly what OE does and what your program
>> does (you can simply log what your program does).
> 
> You can try Wilfried's SocketSpy proxy from the UserMade section of the
> ICS Home Page.

I think it also can be any SPAM/content-filtering on the server-side, hard
to debug anyway, make sure to send the same context, using the same encoding
type as with OE, if that failes as well, it's probably something in the headers.

Arno Garrels

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange 2000server

2005-09-19 Thread DZ-Jay
Francois Piette wrote:
> Verify that OE use SMTP and don't use IMAP4.
> Use a netwrok sniffer to see exactly what OE does and what your program does 
> (you can simply log
> what your program does).

You can try Wilfried's SocketSpy proxy from the UserMade section of the 
ICS Home Page.

dZ.
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000server

2005-09-19 Thread Pete Williams
Hi

>> Verify that OE use SMTP and don't use IMAP4.

It definately uses SMTP.

Pete

- Original Message - 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, September 19, 2005 4:03 PM
Subject: Re: [twsocket] [tsyncsmtpcli] Problem sending email to
Exchange2000server


> Verify that OE use SMTP and don't use IMAP4.
> Use a netwrok sniffer to see exactly what OE does and what your
program does (you can simply log
> what your program does).
>
> --
> Contribute to the SSL Effort. Visit
> http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
>
> - Original Message - 
> From: "Pete Williams" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, September 19, 2005 12:23 PM
> Subject: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange
2000server
>
>
> > Hi
> >
> > (Before saying this is a server problem, read the whole message,
as
> > it's got us confused)
> >
> > Our ICS-based email app (using TSnycSMTPCli) work fine most of the
> > time. We have once instance though where when sending external
emails
> > (i.e., emails that require to be sent over the internet, not
> > internally) the application using ICS thinks it's sent, but the
email
> > just disappears. Internal emails go fine.
> >
> > Now, the strange thing is that Outlook Express (connected as a
> > SMTP/POP3 client) on the same machine as ICS *can* send external
> > emails with no problem.
> >
> > Does anyone have any ideas as to why OE might be able to send, and
> > TSyncSMTPCli might not? There are no errors reported by ICS.
> >
> > If anyone can help I'd be grateful.
> >
> > Pete Williams.
> >
> >
> > -- 
> > To unsubscribe or change your settings for TWSocket mailing list
> > please goto http://www.elists.org/mailman/listinfo/twsocket
> > Visit our website at http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
>
> __ NOD32 1.1219 (20050916) Information __
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange 2000server

2005-09-19 Thread Francois Piette
Verify that OE use SMTP and don't use IMAP4.
Use a netwrok sniffer to see exactly what OE does and what your program does 
(you can simply log
what your program does).

--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


- Original Message - 
From: "Pete Williams" <[EMAIL PROTECTED]>
To: 
Sent: Monday, September 19, 2005 12:23 PM
Subject: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange 2000server


> Hi
>
> (Before saying this is a server problem, read the whole message, as
> it's got us confused)
>
> Our ICS-based email app (using TSnycSMTPCli) work fine most of the
> time. We have once instance though where when sending external emails
> (i.e., emails that require to be sent over the internet, not
> internally) the application using ICS thinks it's sent, but the email
> just disappears. Internal emails go fine.
>
> Now, the strange thing is that Outlook Express (connected as a
> SMTP/POP3 client) on the same machine as ICS *can* send external
> emails with no problem.
>
> Does anyone have any ideas as to why OE might be able to send, and
> TSyncSMTPCli might not? There are no errors reported by ICS.
>
> If anyone can help I'd be grateful.
>
> Pete Williams.
>
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000 server

2005-09-19 Thread DZ-Jay
DZ-Jay wrote:
> Another thing to consider is the source IP: the Exchange server might be 
> rejecting messages from your client's IP address.

Nevermind that comment.  I just re-read your original post, and you are 
testing both clients from the same machine.

dZ.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000 server

2005-09-19 Thread DZ-Jay
Pete Williams wrote:
>>First, what kind of SMTP Server is receiving the e-mails on the
> 
> other end?
> 
> Exchange 2000 server.

Well, that says something:  OE (from MS, maker of Exchange) is being 
accepted, but not your custom client.  There might be some special 
header that it is looking for that is not reproduced on your ICS client.

>>Second, are you positive that your ICS application is  sending a QUIT
> command at the end of the transaction?
> 
> I believe so. The function QuitSync is called, and the return code
> tested.

Then that's not it.

>>And third, the server might be rejecting messages from your
>>ICS client because it does not recognize the MUA as a "valid" one,
>>while it recognizes OE as a legitimate mailer.
> 
> That's an interesting one. What is MUA and how do I set it? Sorry for
> what is probably a dumb question.

MUA is Mail User Agent (mail client), your ICS client.  It is usually 
specified in a header line such as "X-Mailer:".  I suggest first to 
compare the headers of the outgoing OE messages to the ones of your ICS 
client and see if you can mimic Outlook Express by reproducing the same 
types of headers.

Another thing to consider is the source IP: the Exchange server might be 
rejecting messages from your client's IP address.

dZ.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000 server

2005-09-19 Thread Pete Williams
Wow thanks for your quick reply.

I'll reply between the lines.

> First, what kind of SMTP Server is receiving the e-mails on the
other end?

Exchange 2000 server.

>Second, are you positive that your ICS application is  sending a QUIT
command at the end of the transaction?

I believe so. The function QuitSync is called, and the return code
tested.

>And third, the server might be rejecting messages from your
> ICS client because it does not recognize the MUA as a "valid" one,
> while it recognizes OE as a legitimate mailer.

That's an interesting one. What is MUA and how do I set it? Sorry for
what is probably a dumb question.

Pete.

- Original Message - 
From: "DZ-Jay" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Monday, September 19, 2005 11:29 AM
Subject: Re: [twsocket] [tsyncsmtpcli] Problem sending email to
Exchange2000 server


> A few things come to mind.  First, what kind of SMTP Server is
> receiving the e-mails on the other end?  This might be important, as
> some servers have some weird, non-standard requirements or modus
> operandi.  Second, are you positive that your ICS application is
> sending a QUIT command at the end of the transaction? Some servers
> require this in order to queue a message, and if the connection is
> closed without receiving the QUIT command, they might dismiss the
> message.  And third, the server might be rejecting messages from
your
> ICS client because it does not recognize the MUA as a "valid" one,
> while it recognizes OE as a legitimate mailer.
>
> Can you post, or send by private message, a verbose log of a
complete
> SMTP transaction between your ICS client and the server, from one of
> those messages that is "lost"?  Also, you might want to compare the
> headers sent by your ICS client and those sent by OE.  Try mimicking
OE
> by forging the message's headers to look like Outlook Express' and
see
> if that helps.
>
> dZ.
>
> On Sep 19, 2005, at 06:23, Pete Williams wrote:
>
> > Hi
> >
> > (Before saying this is a server problem, read the whole message,
as
> > it's got us confused)
> >
> > Our ICS-based email app (using TSnycSMTPCli) work fine most of the
> > time. We have once instance though where when sending external
emails
> > (i.e., emails that require to be sent over the internet, not
> > internally) the application using ICS thinks it's sent, but the
email
> > just disappears. Internal emails go fine.
> >
> > Now, the strange thing is that Outlook Express (connected as a
> > SMTP/POP3 client) on the same machine as ICS *can* send external
> > emails with no problem.
> >
> > Does anyone have any ideas as to why OE might be able to send, and
> > TSyncSMTPCli might not? There are no errors reported by ICS.
> >
> > If anyone can help I'd be grateful.
> >
> > Pete Williams.
> >
> >
> > -- 
> > To unsubscribe or change your settings for TWSocket mailing list
> > please goto http://www.elists.org/mailman/listinfo/twsocket
> > Visit our website at http://www.overbyte.be
> >
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
>
> __ NOD32 1.1219 (20050916) Information __
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange 2000 server

2005-09-19 Thread DZ-Jay
A few things come to mind.  First, what kind of SMTP Server is 
receiving the e-mails on the other end?  This might be important, as 
some servers have some weird, non-standard requirements or modus 
operandi.  Second, are you positive that your ICS application is 
sending a QUIT command at the end of the transaction? Some servers 
require this in order to queue a message, and if the connection is 
closed without receiving the QUIT command, they might dismiss the 
message.  And third, the server might be rejecting messages from your 
ICS client because it does not recognize the MUA as a "valid" one, 
while it recognizes OE as a legitimate mailer.

Can you post, or send by private message, a verbose log of a complete 
SMTP transaction between your ICS client and the server, from one of 
those messages that is "lost"?  Also, you might want to compare the 
headers sent by your ICS client and those sent by OE.  Try mimicking OE 
by forging the message's headers to look like Outlook Express' and see 
if that helps.

dZ.

On Sep 19, 2005, at 06:23, Pete Williams wrote:

> Hi
>
> (Before saying this is a server problem, read the whole message, as
> it's got us confused)
>
> Our ICS-based email app (using TSnycSMTPCli) work fine most of the
> time. We have once instance though where when sending external emails
> (i.e., emails that require to be sent over the internet, not
> internally) the application using ICS thinks it's sent, but the email
> just disappears. Internal emails go fine.
>
> Now, the strange thing is that Outlook Express (connected as a
> SMTP/POP3 client) on the same machine as ICS *can* send external
> emails with no problem.
>
> Does anyone have any ideas as to why OE might be able to send, and
> TSyncSMTPCli might not? There are no errors reported by ICS.
>
> If anyone can help I'd be grateful.
>
> Pete Williams.
>
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] [tsyncsmtpcli] Problem sending email to Exchange 2000 server

2005-09-19 Thread Pete Williams
Hi

(Before saying this is a server problem, read the whole message, as
it's got us confused)

Our ICS-based email app (using TSnycSMTPCli) work fine most of the
time. We have once instance though where when sending external emails
(i.e., emails that require to be sent over the internet, not
internally) the application using ICS thinks it's sent, but the email
just disappears. Internal emails go fine.

Now, the strange thing is that Outlook Express (connected as a
SMTP/POP3 client) on the same machine as ICS *can* send external
emails with no problem.

Does anyone have any ideas as to why OE might be able to send, and
TSyncSMTPCli might not? There are no errors reported by ICS.

If anyone can help I'd be grateful.

Pete Williams.


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be