Enabling ActiveSync in Evolution

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Enabling ActiveSync in Evolution

Gnome Evolution - General mailing list
Hi,

I have successfully compiled and installed evolution-activesync on Arch
Linux (build script here: http://ix.io/1BSH , source is gitlab master)
but can not find any information online on how to activate it in the
Evolution Client on Arch Linux. I have checked that the data-server
files are in the right place but when I try to add an inbox that I know
needs EAS support, the wizzard tries autodiscovery for a while and
fails. Afterwards, I am offered the following choices only:

- IMAP
- POP
- None
- USENET News
- MH Format
- Maildir Format
- local delivery
- mbox spool file / folder

What are the steps that I need to take to activate ActiveSync on the
client or to make it available when adding new inboxes, please?

My Evolution version is 3.30.5.

Kind regards.

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Enabling ActiveSync in Evolution

Gnome Evolution - General mailing list
On Mon, 2019-03-25 at 02:24 +0100, Robert Maerz via evolution-list
wrote:
>
> ... but can not find any information online on how to activate it in
> the Evolution Client on Arch Linux. I have checked that the data-
> server files are in the right place but when I try to add an inbox
> that I know needs EAS support...

        Hi,
there are several different files and directories involved here. Most
of them are under $PREFIX/lib/evolution-data-server/, like the
addressbook-backends, calendar-backends, camel-providers and eventually
registry-modules directories may or may not contain the ActiveSync
modules (the actual path can differ in your system).

To have ActiveSync shown in the Server Type when creating a new mail
account a corresponding files (there are two) should be saved in the
camel-providers directory.

I'd begin with starting evolution from a terminal and check whether any
runtime warning is shown there, which mentions "eas" (but not
necessarily only that). Maybe evolution failed to load the Camel
provider module for some reason.

Even your 3.30.5 is capable to recognize new module install and can
load them on the fly, I'd also try to restart evolution-data-server
background processes, just in case, thus it loads the eas modules as
well.
        Bye,
        Milan

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Enabling ActiveSync in Evolution

Gnome Evolution - General mailing list
Hi,

Thank you very much for the pointer to check via terminal. In doing so
I spotted the issue which prevented me from seeing ActiveSync in the
right place. HOWEVER:

Now I am facing another issue which boils down to the fact that when
adding mailboxes, Evolution never asks for credentials to be used with
the inbox. This leads to z-push, which I am trying to connect Evolution
to, refusing the connection due to missing authentication. When used
via mobile or web, z-push should log something like this:


"
25/03/2019 20:46:03 [22799] [ INFO] [user] User-agent: 'Mozilla/5.0
(X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/72.0.3626.121 Safari/537.36'
25/03/2019 20:46:03 [22799] [ INFO] [user] cmd='' memory='1.72 MiB/2.00
MiB' time='0.07s' devType='' devId='' getUser='user' from='<IP
Address>' idle='0s' version='' method='GET' httpcode='200'
"

But Evolution's call results in this:

"
25/03/2019 20:45:58 [ 6638] [ INFO] [#unknown]
AuthenticationRequiredException: Access denied. Please send
authorisation information - code: 0 - file: /usr/share/webapps/z-
push/index.php:56
25/03/2019 20:45:58 [ 6638] [ INFO] [#unknown] User-agent: 'unknown'
25/03/2019 20:45:58 [ 6638] [FATAL] [#unknown] Exception:
(AuthenticationRequiredException) - Access denied. Please send
authorisation information
25/03/2019 20:45:58 [ 6638] [ INFO] [#unknown] cmd='' memory='1.60
MiB/2.00 MiB' time='0.07s' devType='' devId='' getUser='unknown'
from='<IP Address>' idle='0s' version='' method='GET' httpcode='401'
"

Evolution itself then shows this error:

"
GDBus.Error:org.meego.activesyncd.Error.Failed: HTTP response type was
not WBXML.
"

I haven't yet found a way to tell Evolution it should ask me for a
username and password. If you can provide any hints I'd really
appreciate it!



Am Montag, den 25.03.2019, 11:03 +0100 schrieb Milan Crha via
evolution-list:

> On Mon, 2019-03-25 at 02:24 +0100, Robert Maerz via evolution-list
> wrote:
> > ... but can not find any information online on how to activate it
> > in
> > the Evolution Client on Arch Linux. I have checked that the data-
> > server files are in the right place but when I try to add an inbox
> > that I know needs EAS support...
>
> Hi,
> there are several different files and directories involved here. Most
> of them are under $PREFIX/lib/evolution-data-server/, like the
> addressbook-backends, calendar-backends, camel-providers and
> eventually
> registry-modules directories may or may not contain the ActiveSync
> modules (the actual path can differ in your system).
>
> To have ActiveSync shown in the Server Type when creating a new mail
> account a corresponding files (there are two) should be saved in the
> camel-providers directory.
>
> I'd begin with starting evolution from a terminal and check whether
> any
> runtime warning is shown there, which mentions "eas" (but not
> necessarily only that). Maybe evolution failed to load the Camel
> provider module for some reason.
>
> Even your 3.30.5 is capable to recognize new module install and can
> load them on the fly, I'd also try to restart evolution-data-server
> background processes, just in case, thus it loads the eas modules as
> well.
> Bye,
> Milan
>
> _______________________________________________
> evolution-list mailing list
> [hidden email]
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Enabling ActiveSync in Evolution

Gnome Evolution - General mailing list
On Mon, 2019-03-25 at 21:36 +0100, Robert Maerz via evolution-list
wrote:
> I haven't yet found a way to tell Evolution it should ask me for a
> username and password. If you can provide any hints I'd really
> appreciate it!

        Hi,
I do not know how it is supposed to work in Evolution ActiveSync (EAS),
I'm sorry. The developers of it should know.

After a brief code search it seems the account information is stored in
DConf, at /org/meego/activesyncd/account/<uid>/ path. I guess it's
filled automatically when you use "Auto Detect" button during the
account creation, but I can be wrong.

In any case, you can enable plenty of EAS debugging with:

   $ export G_MESSAGES_DEBUG=all

and eventually also with:

   $ export EAS_DEBUG=5

before you run evolution from the same terminal. Hope it helps.
        Bye,
        Milan

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Enabling ActiveSync in Evolution

Gnome Evolution - General mailing list
Hi,

I still can not connect via ActiveSync because I am never asked for a
password and the relevant DConf key never gets created. When compared
to the schema, only a few keys are present like the one for email
address and the server; password however is missing. Both configuration
tools that are part of the git source for EAS do not compile (one not
ported to QT5.6, the MLITE one erroring out during make) so I am left
with no way to intervene manually. Running Evolution with DEBUG flags
as below produces the following relevant output. Google seems to be of
no use here, so I am hoping someone on this list knows how to solve
this.

Kind regards,
Robert

*****************************************************************

(evolution:14681): libeasclient-DEBUG: 02:15:07.522:
eas_mail_handler_new++ : account_uid[[hidden email]]
(evolution:14681): libeasclient-DEBUG: 02:15:07.522:
eas_mail_handler_class_init++
(evolution:14681): libeasclient-DEBUG: 02:15:07.522:
eas_mail_handler_class_init--
(evolution:14681): libeasclient-DEBUG: 02:15:07.522:
eas_mail_handler_init++
(evolution:14681): libeasclient-DEBUG: 02:15:07.522:
eas_mail_handler_init--
(evolution:14681): libeasclient-DEBUG: 02:15:07.522:
eas_mail_handler_new--
(evolution:14681): libeasclient-DEBUG: 02:15:07.522:
eas_mail_handler_get_folder_list++ : account_uid[[hidden email]]
(evolution:14681): libeasclient-DEBUG: 02:15:07.522:
eas_folder_get_folder_list++ : account_uid[[hidden email]]
(evolution:14681): libeasclient-DEBUG: 02:15:07.523:
eas_folder_get_folder_list--
(evolution:14681): libeasclient-DEBUG: 02:15:07.523:
eas_mail_handler_get_folder_list--

(evolution:14681): camel-eas-provider-WARNING **: 02:15:07.523: Unable
to fetch the folder hierarchy:
GDBus.Error:org.meego.activesyncd.Error.SoupError: soup_message_new
returned NULL :5

(evolution:14681): libeasclient-DEBUG: 02:15:07.550:
eas_mail_handler_get_folder_list++ : account_uid[[hidden email]]
(evolution:14681): libeasclient-DEBUG: 02:15:07.550:
eas_folder_get_folder_list++ : account_uid[[hidden email]]
(evolution:14681): libeasclient-DEBUG: 02:15:07.551:
eas_folder_get_folder_list--
(evolution:14681): libeasclient-DEBUG: 02:15:07.551:
eas_mail_handler_get_folder_list--

(evolution:14681): camel-eas-provider-WARNING **: 02:15:07.551: Unable
to fetch the folder hierarchy:
GDBus.Error:org.meego.activesyncd.Error.SoupError: soup_message_new
returned NULL :5


Am Dienstag, den 26.03.2019, 08:17 +0100 schrieb Milan Crha via
evolution-list:

> On Mon, 2019-03-25 at 21:36 +0100, Robert Maerz via evolution-list
> wrote:
> > I haven't yet found a way to tell Evolution it should ask me for a
> > username and password. If you can provide any hints I'd really
> > appreciate it!
>
> Hi,
> I do not know how it is supposed to work in Evolution ActiveSync
> (EAS),
> I'm sorry. The developers of it should know.
>
> After a brief code search it seems the account information is stored
> in
> DConf, at /org/meego/activesyncd/account/<uid>/ path. I guess it's
> filled automatically when you use "Auto Detect" button during the
> account creation, but I can be wrong.
>
> In any case, you can enable plenty of EAS debugging with:
>
>    $ export G_MESSAGES_DEBUG=all
>
> and eventually also with:
>
>    $ export EAS_DEBUG=5
>
> before you run evolution from the same terminal. Hope it helps.
> Bye,
> Milan
>
> _______________________________________________
> evolution-list mailing list
> [hidden email]
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Enabling ActiveSync in Evolution

Gnome Evolution - General mailing list
On Wed, 2019-04-03 at 02:30 +0200, Robert Maerz via evolution-list
wrote:
> I still can not connect via ActiveSync because I am never asked for a
> password and the relevant DConf key never gets created.

        Hi,
I see, it's very tricky to make it work. Depending on the way you
compiled the evolution-activesync you may or may not need to start the
activesyncd manually. It was needed here, thus I run:

   $ ${PREFIX}/libexec/activesyncd

which might be in your case probably: /usr/libexec/activesyncd

This might be done only after you set the password, which can be done
with this command:

   $ gsettings set org.meego.activesyncd.account:/org/meego/activesyncd/account/<account-id>/ password 'secret'

where the <account-id> is shown in the dconf-editor and looks like the
entered email address in evolution for me. If you cannot write the
password on the command line, then keep there only the 'secret' word
and correct it in the dconf-editor, which will show the password key
now.

With the password set run the activesyncd, then run evolution and
things should start working, as long as your ActiveSync URL is correct.
Make sure the activesyncd is running after login/before you run
evolution, in case it won't start automatically for you.

Any password change requires the activesyncd restart, to not have it
use the old passwords and/or stale connections.
        Bye,
        Milan

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list