X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=122-61-41-128-vdsl.bb.spark.co.nz;
X-Received: from mail1 (122-61-41-128-vdsl.bb.spark.co.nz [122.61.41.128])
by netwin.co.nz (SurgeMail 7.3h) with ESMTP (TLS) id 600973-1391920
for <surgemail-list@netwin.co.nz>; Sun, 18 Mar 2018 20:55:01 +0000
X-Return-Path: surgemail-support
From: Surgemail Support (Marijn)
To: <surgemail-list@netwin.co.nz>
Subject: Re: [SurgeMail List] calendar sync: authorization fails
Date: Sun, 18 Mar 2018 20:55:01 +0000
Message-ID: <5aaed225.1fa5.43432700.739bd8b9@netwin.co.nz>
MIME-Version: 1.0
X-Originating-IP: 122.61.41.128
X-Mailer: SurgeWeb - Ajax Webmail Client
X-Authenticated-User: surgemail-support
X-Rcpt-To: <surgemail-list@netwin.co.nz>
X-SpamDetect: : 0.000000
X-Info: aspam skipped due to (g_smite_skip_relay)
X-Encryption: SSL encrypted
X-IP-stats: Incoming Last 0, First 5, in=127, out=0, spam=0 ip=122.61.41.128
List-Unsubscribe: <mailto:surgemail-list-leave@netwin.co.nz?subject=unsubscribe>
X-Mailing-List: surgemail-list@netwin.co.nz
List-ID: <surgemail-list@netwin.co.nz>
Precedence: bulk
Reply-To: surgemail-list@netwin.co.nz
Content-Transfer-Encoding: quoted-printable
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.