Hi,
The request is denied simply because the user you are trying to use with
EAS has insufficient access.
https://github.com/inverse-inc/sogo/blob/45db044a63707cb64dbd0f8521a52322e0774d95/ActiveSync/SOGoActiveSyncDispatcher.m#L4292
The issue is in your configuration, check that the user column for
active sync `c_activesync` is set to `y`. Never trust the scripts just
check in the database.
Also remember to restart memcached, SOGo stores info for the users and
configuration to speed things up.
On 20/04/2022 21.37, FF (fusionf...@gmail.com) wrote:
Thanks for your response!
I already have these two fields enabled with no additional logging
info in sogo.log:
SOGoDebugRequests = YES;
SOGoEASDebugEnabled = YES;
The Iredmail provisions are already activesync=1 for all users.
So I'm at an impasse with this.
What will generate a 403 for this EAS request in SOGO?
Thanks!
On Wed, Apr 20, 2022 at 12:56 PM Christian Munch Jensen
<users@sogo.nu> wrote:
Hi FF.
If you are using iRedMail, then you may need to allow EAS from the
database as the default iRedMail configuration uses, user
constraint for Mail, Calendar and Active Sync. in the columns
(c_**, ... c_activesync). That is something for the iRedMail
forum/Support, this is SOGo.
If every thing seams in order with the above mentioned, and
password is correct, i think `SOGoEASDebugEnabled` will yield more
info than `MySQL4DebugEnabled`.
Regards.
Christian Jensen.
On 18/04/2022 22.35, FF (fusionf...@gmail.com) wrote:
I've read through all of the google-found references to this and
they do not apply or do not help.
I'm running the latest SOGO nightly build including activesync.
I've tried several different builds over the past several weeks.
I've reached out to Iredmail as well, but still the problem persists.
I turned on mysql debugging and didn't get any output around this
request.
Apr 18 16:29:12 sogod [1637868]: |SOGo| starting method 'OPTIONS'
on uri '/SOGo/Microsoft-Server-ActiveSync'
Apr 18 16:29:12 sogod [1637868]: |SOGo| request took 0.002510
seconds to execute
Apr 18 16:29:12 sogod [1637868]: mailserver.yyy.com
<http://mailserver.yyy.com> "OPTIONS
/SOGo/Microsoft-Server-ActiveSync HTTP/1.0" 200 0/0 0.006 - - 0 - 13
Apr 18 16:29:12 sogod [1637868]: |SOGo| starting method 'POST' on
uri
'/SOGo/Microsoft-Server-ActiveSync?Cmd=FolderSync&User=x...@yyy.com&DeviceId=C235039772D84EAF8784ABF59A506311&DeviceType=WindowsOutlook15'
Apr 18 16:29:12 sogod [1637868]:
<0x0x56110b1a1a90[SOGoActiveSyncDispatcher]> EAS - Forbidden
access for user x...@yyy.com
Apr 18 16:29:12 sogod [1637868]: |SOGo| request took 0.002162
seconds to execute
Apr 18 16:29:12 sogod [1637868]: mailserver.yyy.com
<http://mailserver.yyy.com> "POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=FolderSync&User=x...@yyy.com&DeviceId=C235039772D84EAF8784ABF59A506311&DeviceType=WindowsOutlook15
HTTP/1.0" 403 0/45 0.004 - - 0 - 13
Apr 18 16:29:14 sogod [1637868]: |SOGo| starting method 'POST' on
uri
'/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=x...@yyy.com&DeviceId=C235039772D84EAF8784ABF59A506311&DeviceType=WindowsOutlook15'
Apr 18 16:29:14 sogod [1637868]:
<0x0x56110b4632a0[SOGoActiveSyncDispatcher]> EAS - Forbidden
access for user x...@yyy.com
Apr 18 16:29:14 sogod [1637868]: |SOGo| request took 0.002165
seconds to execute
Apr 18 16:29:14 sogod [1637868]: mailserver.yyy.com
<http://mailserver.yyy.com> "POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=x...@yyy.com&DeviceId=C235039772D84EAF8784ABF59A506311&DeviceType=WindowsOutlook15
HTTP/1.0" 403 0/897 0.004 - - 0 - 13
I'm verifying with Outlook 2016 and iPhone Exchange client, same
issue.
Sogo is running on ubuntu:
sogo/unknown,now 5.5.1.20220418-1 amd64 [installed]
a modern and scalable groupware
sogo-activesync/unknown,now 5.5.1.20220418-1 amd64 [installed]
a modern and scalable groupware - ActiveSync module
sogo-common/focal 4.3.0-1 all
Scalable groupware server - common files
sogo-dbg/unknown,now 5.5.1.20220418-1 amd64 [installed]
a modern and scalable groupware - debugging symbols
sogo-dev/unknown,now 5.5.1.20220418-1 amd64 [installed]
a modern and scalable groupware - development files
sope is 4.9:
sope4.9-gdl1-mysql/unknown 4.9.r1664.20220409 amd64 [upgradable
from: 4.9.r1664.20220304]
MySQL connector for SOPE's fork of the GNUstep database environment
sope4.9-libxmlsaxdriver/unknown 4.9.r1664.20220409 amd64
[upgradable from: 4.9.r1664.20220304]
XML Parser for SOPE's SAX engine
Any help would be appreciated! thanks!
--
FF
--
users@sogo.nu
https://inverse.ca/sogo/lists
--
users@sogo.nu
https://inverse.ca/sogo/lists
--
FF
--
users@sogo.nu
https://inverse.ca/sogo/lists
--
Hilsen / Regards
Christian M. Jensen
--
users@sogo.nu
https://inverse.ca/sogo/lists