HmailServer & SpamAssassin : The WinSock error code is 2.
- jimimaseye
- Moderator
- Posts: 10060
- Joined: 2011-09-08 17:48
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
HArdly. No one really knows what the probkem is (although there have recently been some promising suggestions). But that is for a winsock 2 problem that most people get. You say you are not getting that which makes your problem unique. So who knows what your problem is?!
Darth? DARTH?! Where are you?? (Jeez, he is never around when you need him. He must be hiding in the shadowy half ).
Darth? DARTH?! Where are you?? (Jeez, he is never around when you need him. He must be hiding in the shadowy half ).
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
See this post:
viewtopic.php?f=22&t=28227#p175811
I'm getting this one: HM5508, not new
Edit, checked 6-3-2016 logs: 3 HM5157's (winsock errors) there... so on the same page with this.
viewtopic.php?f=22&t=28227#p175811
I'm getting this one: HM5508, not new
Edit, checked 6-3-2016 logs: 3 HM5157's (winsock errors) there... so on the same page with this.
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
Severity: 2 (High), Code: HM5032, Source: DALConnection::Execute, Description: MySQL: Incorrect string value.......... ---> goes on for awhile
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
Looks like 4 byte UTF emoji's... MySQL have an issue with UTF8... Search forum, I'm on via Tapatalk on phone..
SørenR.
Woke is Marxism advancing through Maoist cultural revolution.
Woke is Marxism advancing through Maoist cultural revolution.
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
Ok, yes I've seen talk about it & just ignore that error-- was just fyi, seemed close on the timestamps to the spamass errors.
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
If you enabled message indexing that error is going to haunt you till u fix it
SørenR.
Woke is Marxism advancing through Maoist cultural revolution.
Woke is Marxism advancing through Maoist cultural revolution.
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
https://www.jam-software.com/spamassassin/changes.shtml
FYI: jam software just released sa fixing the DNS Blacklist lookups not happening... was wondering why those were not showing up in the tests!
FYI: jam software just released sa fixing the DNS Blacklist lookups not happening... was wondering why those were not showing up in the tests!
- jimimaseye
- Moderator
- Posts: 10060
- Joined: 2011-09-08 17:48
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
FYI: It was all known about in part due to our testing here on this forum. viewtopic.php?p=184590#p184590 (page 2 is specific to this particular issue)sckramer2 wrote:https://www.jam-software.com/spamassassin/changes.shtml
FYI: jam software just released sa fixing the DNS Blacklist lookups not happening... was wondering why those were not showing up in the tests!
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
- jimimaseye
- Moderator
- Posts: 10060
- Joined: 2011-09-08 17:48
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
superman20 wrote: After digging through hMailServer's source for a limited amount of time, I see it uses the boost library for asynchronous IO. Error code 2 is the boost EOF (End Of File) error. Unfortunately, I'm not a boost user and I'm not familiar with it. My limited research finds this in the boost docs (http://www.boost.org/doc/libs/1_60_0/do ... reams.html) which says:The end of a stream can cause read, async_read, read_until or async_read_until functions to violate their contract. E.g. a read of N bytes may finish early due to EOF.
Martin recompiled HMS and used the latest BOOST - maybe this version of boost no longer has the problem? Look for HMS minimum build 2399 (5.6.7 - Build 2399 currently available in beta).binkle wrote:hm.. you answered before I edited
Digging a bit in the code of hMailServer shows that the error code is provided as comming from boost::system::error_code.
So the error code actually is no socket error, it's the windows system error 2: no_such_file_or_directory (see: http://stackoverflow.com/questions/2978 ... e-number-2)
For sure, this has noting to do with SpamAssassin. It must be an hMailServer internal issue.
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
No difference with latest BOOST compiled version (5.6.7 - Build 2407)
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup
-
- New user
- Posts: 8
- Joined: 2017-11-29 20:09
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
I'm bumping this, because I have to roll back, or try a beta.
Since upgrading to 5.6.6-B2383 (just for TLS support, too. Was on 5.6.4, I believe), I've had this happen at least once a day - sometimes more. I'll get up to 20+ duplicated emails (per email coming in), and sometimes the person sending will even get a bounce back stating that their mail server was unable to send the message.
I can live without TLS support, but can't have 20+ duplicated emails in my inbox, and senders thinking their email didn't get through.
Since upgrading to 5.6.6-B2383 (just for TLS support, too. Was on 5.6.4, I believe), I've had this happen at least once a day - sometimes more. I'll get up to 20+ duplicated emails (per email coming in), and sometimes the person sending will even get a bounce back stating that their mail server was unable to send the message.
I can live without TLS support, but can't have 20+ duplicated emails in my inbox, and senders thinking their email didn't get through.
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
I've never gotten a duplicate email because of the spamAssassin connection drop out, and never had a message be partially rejected / dropped due to this issue.
Are you sure that this is caused by the link to SpamAssassin dropping out?
Are you sure that this is caused by the link to SpamAssassin dropping out?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
Has there been any updates to this issue? It's been a couple years and I'm still getting this.
Has your proxy that delays closing the socket fixed the issue superman20? Is there any chance we can get a copy of your proxy?
Has your proxy that delays closing the socket fixed the issue superman20? Is there any chance we can get a copy of your proxy?
Re: HmailServer & SpamAssassin : The WinSock error code is 2.
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup