Changing $imap to "ssl/novalidate-cert” fixed it. Would be nice if the script tried this setting if the “notls” setting fails. -- John Wilkes john@wilkes.com “Learn the rules like a pro, so you can break them like an artist.” -- Pablo Picasso > On Mar 18, 2018, at 1:55 PM, Surgemail Support (Marijn) <surgemail-support@netwinsite.com> wrote: > > X-SpamDetect-Info: ------------- Start ASpam results --------------- > X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information > X-SpamDetect: ********: 8.5 sd=8.5 0.99(X-PhraseHits:scam) 0.20(X-myrbl:Color=yellow) 0.68(X-Verify-Helo:-ERR) [nnot=1,ng=0,nsum=1,nb=1,nw=0,6.26] > X-SpamDetect-Info: ------------- End ASpam results ----------------- > > > That sounds like it should work and there is very little to "get in the way" to go wrong if you are testing by logging in directo to the > https://myserver.mydomain/cal > > You are including your full username@domain as part of the login? This is necessary. It is worth checking mail.log (search for lines with "auth" text I think should do it) as you attempt to login to see if that is showing login is attemted and whether it succeeds / fails at that level > > Marijn > > On Wednesday 14/03/2018 at 7:00 pm, John Wilkes wrote: > I am having trouble getting calendar sync working; I can’t authenticate. > > I had calendar sync working previously on an old OpenSuSE system, but that hardware died. I tried Ubuntu 16.04 Server, but I could not get calendar sync working there. If I recall correctly, the version of the available php package was not compatible (too new), and I did not want to build it from source. I recently moved my SurgeMail server to Centos 7, and I am seeing the same problem. My understanding is that calendar sync is known to work with php 5.3 and php 5.6. > > SurgeMail Version 7.3c3-3, Built Jun 7 2017 > > I’ve installed the various pieces. The netwin script reports: > PHP version = 5.4.16 > IMAP module = INSTALLED > PDO database module = INSTALLED > PDO_SQLITE database module = INSTALLED > MBSTRING module = INSTALLED > XML (DOM) module = INSTALLED > When I try to login at https//myserver.mydomain/cal my username/password is not accepted. I know it is correct. > > If I login to SurgeWeb and click “Calendar” a box appears at the top: > > Cal Request Failed: 401 Unauthorized > > I can telnet to 127.0.0.1:143 > > # telnet 127.0.0.1 143 > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > * OK IMAP (C) myserver.mydomain (Version 7.3c3-3) > > I have tried both $type=1 and $type=2 in Nwauth_sabre.php > > -- > John Wilkes > john@wilkes.com > > One of the advantages of being disorderly is that > I am constantly making interesting discoveries. > > > > >
Last Message | Next Message