Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Integration with sawin32
PostPosted: 2010-06-17 15:16 
New user
New user

Joined: 2010-06-17 15:10
Posts: 26
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.


Top
 Profile  
 
 Post subject: Re: Integration with sawin32
PostPosted: 2010-06-17 15:32 
Developer
Developer

Joined: 2010-04-24 23:16
Posts: 6165
Location: Michigan, USA
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

_________________
hMailServer build LIVE on my servers: 5.4-B2014050402
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420
Urgent? Bored? JOIN US ON IRC!
DOGE ME: DSqtEcqP3Qv6Tj2XrGNpDmEUkSBcpBsuWk


Top
 Profile  
 
 Post subject: Re: Integration with sawin32
PostPosted: 2010-06-17 15:47 
New user
New user

Joined: 2010-06-17 15:10
Posts: 26
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 16 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group