heupink schreef op 9-4-2014 13:53:
Hi Henry,

primaryConnectToAddress:]): couldn't setup SSL connection on socket

I can connect to the server using Thunderbird IMAP
I'm guessing your mean Thunderbird with imapS, above..?

Perhaps it's an idea to test without SSL/TLS, and complicate things (add SSL 
etc) once plain imap works.

Goodluck!

MJ

I disabled SSL/TLS on the server and set SOGoSMTPServer = mail.procura.nl;
Looking at the settings for my IMAP Account in SOGo it says
Servername mail.procura.nl, port 143, Encryption None

When I go to the e-mail in SOGo I get the following message:
Wrong gateway!
The proxy server received an invalid answer
The proxy server could not handle the request GET /SOGo/so/henry/Mail/view.
Reason: Error reading from remote server
Error 502

The sogod.log says:
46.144.236.233 - - [10/Apr/2014:12:27:59 GMT] "GET /SOGo/so/henry/Mail 
HTTP/1.1" 302 0/0 0.002 - - 0
2014-04-10 12:27:59.689 sogod[11317] WARNING: IMAP4 connection pooling is 
disabled!
2014-04-10 12:27:59.902 sogod[11317] Note(NGImap4Connection): using '/' as the 
IMAP4 folder separator.
EXCEPTION: <NSException: 0x7f5b05d71d08> NAME:NSInvalidArgumentException 
REASON:[GSMutableString -rangeOfString:options:range:] nil string argument INFO:(null)
Apr 10 12:28:00 sogod [11316]: [ERROR] <0x0x7f5b05952b28[WOWatchDog]> No child 
available to handle incoming request!
Apr 10 12:28:00 sogod [11316]: <0x0x7f5b0582b838[WOWatchDogChild]> child 11317 
exited
Apr 10 12:28:00 sogod [11316]: <0x0x7f5b0582b838[WOWatchDogChild]>  (terminated 
due to signal 6)
Apr 10 12:28:00 sogod [11316]: <0x0x7f5b05952b28[WOWatchDog]> child spawned 
with pid 11389
2014-04-10 12:28:00.646 sogod[11389] Note: Using UTF-8 as URL encoding in 
NGExtensions.
Apr 10 12:28:00 sogod [11389]: <0x0x7f5b05a9d5a8[SOGoCache]> Cache cleanup 
interval set every 300.000000 seconds
Apr 10 12:28:00 sogod [11389]: <0x0x7f5b05a9d5a8[SOGoCache]> Using host(s) 
'localhost' as server(s)
2014-04-10 12:28:00.649 sogod[11389] Note(SoObject): SoDebugKeyLookup is 
enabled!
2014-04-10 12:28:00.649 sogod[11389] Note(SoObject): SoDebugBaseURL is enabled!
2014-04-10 12:28:00.649 sogod[11389] Note(SoObject): relative base URLs are 
enabled.
2014-04-10 12:28:00.665 sogod[11389] WOxElemBuilder: could not locate builders: 
WOxExtElemBuilder,WOxExtElemBuilder
2014-04-10 12:28:00.689 sogod[11389] WARNING: IMAP4 connection pooling is 
disabled!
2014-04-10 12:28:00.898 sogod[11389] Note(NGImap4Connection): using '/' as the 
IMAP4 folder separator.
EXCEPTION: <NSException: 0x7f5b05cc0848> NAME:NSInvalidArgumentException 
REASON:[GSMutableString -rangeOfString:options:range:] nil string argument INFO:(null)
Apr 10 12:28:01 sogod [11316]: [ERROR] <0x0x7f5b05952b28[WOWatchDog]> No child 
available to handle incoming request!
Apr 10 12:28:01 sogod [11316]: <0x0x7f5b0582b838[WOWatchDogChild]> child 11389 
exited
Apr 10 12:28:01 sogod [11316]: <0x0x7f5b0582b838[WOWatchDogChild]>  (terminated 
due to signal 6)
Apr 10 12:28:01 sogod [11316]: <0x0x7f5b0582b838[WOWatchDogChild]> avoiding to 
respawn child before 2014-04-10 12:28:05 +0200
Apr 10 12:28:02 sogod [11316]: [ERROR] <0x0x7f5b05952b28[WOWatchDog]> No child 
available to handle incoming request!
Apr 10 12:28:04 sogod [11316]: [ERROR] <0x0x7f5b05952b28[WOWatchDog]> No child 
available to handle incoming request!

And the apache error log:
[error] [client 46.144.236.233] (20014)Internal error: proxy: error reading 
status line from remote server 127.0.0.1:20000, referer: 
http://sogo.procura.nl/SOGo/so/henry/Calendar/view
[client 46.144.236.233] proxy: Error reading from remote server returned by 
/SOGo/so/henry/Mail/view, referer: 
http://sogo.procura.nl/SOGo/so/henry/Calendar/view

I can see in the mailserver log that the login succeeds but is closed right 
away.

--
Kind Regards,
Henry

--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to