Integration with sawin32

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
sasabna
New user
New user
Posts: 26
Joined: 2010-06-17 15:10

Integration with sawin32

Postby sasabna » 2010-06-17 15:16

Hi, I have a problem with SAwin32 integration with hmailserver, I have installed first sawin32 and after hmailserver but when I try test I have this error:
unable to connect to the specified SpamAssassin server

In 'Use Spamassassin configuration' I have used:
Hostname -> localhost
Port -> 783

and also in sawin32 installation I have used 'localhost'.
Sorry for my banal question but for me is the first time that I use hmailserver.
Thanks.

-
Salvatore.

Bill48105
Developer
Developer
Posts: 6171
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: Integration with sawin32

Postby Bill48105 » 2010-06-17 15:32

Hi,
Is sawin32 daemon/server or just command line exe? The hmail spamassassin section is for daemon/server version only otherwise you need to run as "External virus scanner" or in script to call the EXE command-line. There are some posts of how people have done it but I don't have links handy right now.
Bill
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
hMailServer build LIVE on my servers: 5.4-B2014050402
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420

sasabna
New user
New user
Posts: 26
Joined: 2010-06-17 15:10

Re: Integration with sawin32

Postby sasabna » 2010-06-17 15:47

Is sawin32 daemon/server and in log file I have:

"DEBUG" 3484 "2010-06-17 15:32:49.039" "Creating session 2"
"TCPIP" 3484 "2010-06-17 15:32:49.039" "Connecting to localhost..."
"DEBUG" 844 "2010-06-17 15:32:50.133" "Sending message to SpamAssassin. Session 2, File: C:\Program Files\hMailServer\Temp\{B7DA159E-6FA7-411B-8526-888E527BBC52}.tmp"
"DEBUG" 844 "2010-06-17 15:33:20.133" "The client has timed out. Session: 2"
"DEBUG" 844 "2010-06-17 15:33:20.133" "Closing TCP/IP socket"
"ERROR" 580 "2010-06-17 15:33:20.133" "Severity: 3 (Medium), Code: HM5157, Source: SpamAssassinClient::OnReadError, Description: There was a communication error with SpamAssassin. hMailServer tried to retrieve data from SpamAssassin but the connection to SpamAssassin was lost. The WinSock error code is 995. Enable debug logging to retrieve more information regarding this problem. The problem could be that SpamAssassin is malfunctioning."
"DEBUG" 580 "2010-06-17 15:33:20.179" "The read operation failed. Bytes transferred: 0 Remote IP: , Session: 2, Code: 995, Message: Operazione di I/O terminata a causa dell'uscita dal thread oppure della richiesta di un'applicazione"
"DEBUG" 3484 "2010-06-17 15:33:20.179" "Ending session 2"

and then:


"ERROR" 3624 "2010-06-17 15:26:50.999" "Severity: 3 (Medium), Code: HM5157, Source: SpamAssassinClient::OnReadError, Description: There was a communication error with SpamAssassin. hMailServer tried to retrieve data from SpamAssassin but the connection to SpamAssassin was lost. The WinSock error code is 995. Enable debug logging to retrieve more information regarding this problem. The problem could be that SpamAssassin is malfunctioning."
"ERROR" 580 "2010-06-17 15:33:20.133" "Severity: 3 (Medium), Code: HM5157, Source: SpamAssassinClient::OnReadError, Description: There was a communication error with SpamAssassin. hMailServer tried to retrieve data from SpamAssassin but the connection to SpamAssassin was lost. The WinSock error code is 995. Enable debug logging to retrieve more information regarding this problem. The problem could be that SpamAssassin is malfunctioning."

In sawin config I have:

783 = localhost:783

this's correct ?
My hmailserver installation is on Microsoft Windows 2008 Server Standard Edition 32bit.

Thanks.

-
Salvatore.


Return to “General discussions”



Who is online

Users browsing this forum: No registered users and 2 guests