Re: [Evolution] evolution-ews not showing new mail

2021-10-12 Thread Andre Klapper via evolution-list
On Tue, 2021-10-12 at 11:43 -0400, Joseph Ervin wrote:
> I've no idea how this happened, but yesterday evolution stopped
> showing new mail. 

Have you checked the user docs? Help  Contents  Common Mail
Questions and Problems  I cannot see some emails, where are they?

andre
--
Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews not showing new mail

2021-10-12 Thread Joseph Ervin via evolution-list
That was it!  Thank you so much!

Joe

On Tue, 2021-10-12 at 09:20 -0700, Alex Doll wrote:
> -Original Message-
> From: Joseph Ervin via evolution-list 
> Subject: [Evolution] evolution-ews not showing new mail
> Date: Tue, 12 Oct 2021 11:43:46 -0400
> 
> > Is there some setting that I've inadvertently turned on to *not*
> > show
> > unread new mail? 
> 
> Sometimes I find that the "Show:" drop-down menu has switched from
> its
> default "All Messages" to some other value, like "Important Messages"
> (of which there aren't any).  Another thing to check is that the
> search
> bar is empty (even empty of whitespace for doubly redundant
> redundancy).
> 
> -AD
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews not showing new mail

2021-10-12 Thread Joseph Ervin via evolution-list
Version 3.40.4 (3.40.4-1.fc34) 

On Tue, 2021-10-12 at 17:03 +0100, Patrick O'Callaghan wrote:
> On Tue, 2021-10-12 at 11:43 -0400, Joseph Ervin via evolution-list
> wrote:
> > Hi folks,
> > 
> > I've no idea how this happened, but yesterday evolution stopped
> > showing new
> > mail.  The odd thing is that when a message arrives, I get the
> > gnome
> > notification of the arrival of the mail, but it won't show up in my
> > inbox.
> > Here's the odd part.if I log into my exchange account directly
> > over the
> > web and *read* the new mail, then it magically shows up in the
> > evolution
> > inbox.
> > 
> > Is there some setting that I've inadvertently turned on to *not*
> > show
> > unread new mail?
> 
> Please *always* indicate your version of Evolution when asking
> questions on this list. See Help->About.
> 
> poc
> 
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews not showing new mail

2021-10-12 Thread Alex Doll
-Original Message-
From: Joseph Ervin via evolution-list 
Subject: [Evolution] evolution-ews not showing new mail
Date: Tue, 12 Oct 2021 11:43:46 -0400

>Is there some setting that I've inadvertently turned on to *not* show
>unread new mail? 

Sometimes I find that the "Show:" drop-down menu has switched from its
default "All Messages" to some other value, like "Important Messages"
(of which there aren't any).  Another thing to check is that the search
bar is empty (even empty of whitespace for doubly redundant
redundancy).

-AD
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews not showing new mail

2021-10-12 Thread Patrick O'Callaghan
On Tue, 2021-10-12 at 11:43 -0400, Joseph Ervin via evolution-list
wrote:
> Hi folks,
> 
> I've no idea how this happened, but yesterday evolution stopped
> showing new
> mail.  The odd thing is that when a message arrives, I get the gnome
> notification of the arrival of the mail, but it won't show up in my
> inbox.
> Here's the odd part.if I log into my exchange account directly
> over the
> web and *read* the new mail, then it magically shows up in the
> evolution
> inbox.
> 
> Is there some setting that I've inadvertently turned on to *not* show
> unread new mail?

Please *always* indicate your version of Evolution when asking
questions on this list. See Help->About.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution (ews) :: contacts :: category

2021-10-12 Thread Milan Crha via evolution-list
On Mon, 2021-10-11 at 14:24 +0200, Matthias Kuntze wrote:
> Where can I change the configuration so that the contact category is
> shown, editable and searchable?

Hi,
as far as I can tell, the EWS address books do not support the category
field, thus you cannot change it in the contact editor.

Feel free to file a feature request at:
https://gitlab.gnome.org/GNOME/evolution-ews/-/issues

Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews error "Connection terminated unexpectedly"

2020-08-05 Thread Dan Kortschak via evolution-list
On Wed, 2020-08-05 at 10:30 +0200, Andre Klapper wrote:
> On Wed, 2020-08-05 at 07:50 +, Dan Kortschak wrote:
> > Is this something that is known?
> 
> Yes. See the mailing list archives, e.g.
> 
https://mail.gnome.org/archives/evolution-list/2016-November/msg00013.html

Thanks. That makes sense.

Dan


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews error "Connection terminated unexpectedly"

2020-08-05 Thread Andre Klapper
On Wed, 2020-08-05 at 07:50 +, Dan Kortschak wrote:
> Is this something that is known?

Yes. See the mailing list archives, e.g.
https://mail.gnome.org/archives/evolution-list/2016-November/msg00013.html

Cheers,
andre
--
Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-ews and VPN-connection

2020-01-22 Thread Patrick O'Callaghan
On Wed, 2020-01-22 at 09:51 +, Wiethoff, Helge via evolution-list
wrote:
> Hi,
> 
> I found the problem.

What problem?

Please remember to quote the relevant part of any message you are
commenting on. It should not be necessary to look for earlier messages
in the thread in order to understand the context of your reply.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-ews and VPN-connection

2020-01-22 Thread Wiethoff, Helge via evolution-list
Hi,

I found the problem. It wasn't evolution. A firewall terminated the
connection. We have now published the Exchange via HAProxy and the
connection problems are solved :-)

The switch between VPN and non-VPN still doesn't work but I don't find
that dramatic.

regards
Helge

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-ews and VPN-connection

2020-01-17 Thread Christophe ROCHET
UNSUBSCRIBE

⁣Télécharger BlueMail pour Android ​

Le 16 janv. 2020 à 13:18, à 13:18, "Wiethoff, Helge via evolution-list" 
 a écrit:
>Hi,
>
>Am Mittwoch, den 15.01.2020, 09:56 +0100 schrieb Milan Crha via
>evolution-list:
>> Maybe there could be a workaround, to keep the connection alive you
>> might need to set "Check for new messages" interval to a value, which
>> is lower than "automatic disconnect timeout due to inactivity" set on
>> the server.
>
>your suggested workaround worked in part: I no longer get an error
>message when sending mails. However, the calendar and contacts (also
>GOA) do not seem to benefit from this.
>
>> The
>> thing is that you see this error when using Mail, but other parts
>> (calendars/books) are/can-be affected as well.
>Yupp. Thats the case...
>
>> By the way, are you really able to reproduce this reliably when you
>> connect or disconnect VPN? If only with the disconnect of the VPN,
>> then
>> it can be that evo-ews connected to the server through the VPN, thus
>> the VPN disconnect invalidated that connection, similarly as the
>> inactivity timeout, though not exactly the same.
>
>Maybe you are right, yes... I try to write a bug report with as much
>information as possible.
>
>Regards
>Helge
>___
>evolution-list mailing list
>evolution-list@gnome.org
>To change your list options or unsubscribe, visit ...
>https://mail.gnome.org/mailman/listinfo/evolution-list
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-ews and VPN-connection

2020-01-16 Thread Wiethoff, Helge via evolution-list
Hi,

Am Mittwoch, den 15.01.2020, 09:56 +0100 schrieb Milan Crha via
evolution-list:
> Maybe there could be a workaround, to keep the connection alive you
> might need to set "Check for new messages" interval to a value, which
> is lower than "automatic disconnect timeout due to inactivity" set on
> the server.

your suggested workaround worked in part: I no longer get an error
message when sending mails. However, the calendar and contacts (also
GOA) do not seem to benefit from this.

> The
> thing is that you see this error when using Mail, but other parts
> (calendars/books) are/can-be affected as well.
Yupp. Thats the case...

> By the way, are you really able to reproduce this reliably when you
> connect or disconnect VPN? If only with the disconnect of the VPN,
> then
> it can be that evo-ews connected to the server through the VPN, thus
> the VPN disconnect invalidated that connection, similarly as the
> inactivity timeout, though not exactly the same.

Maybe you are right, yes... I try to write a bug report with as much
information as possible.

Regards
Helge
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-ews and VPN-connection

2020-01-15 Thread Milan Crha via evolution-list
On Wed, 2020-01-15 at 08:48 +0100, Wiethoff, Helge via evolution-list
wrote:
> "Source 'helge...@...' doesn't support prompt for credentials"

Hi,
the error usually means that the provider wants to connect to the
server, but the server rejects connection and asks for credentials.
That makes sense for accounts configured in GNOME Online Accounts
(GOA), because GOA is responsible to provide the credentials.

I'm only guessing here, but I'd think that the running connection to
the Exchange server terminated, possible due to inactivity, when the
server disconnects. Later on, when you sent the message, evo-ews tries
to use this stale connection and it failed. It didn't try to reconnect
silently, it possible looked like an issue with credentials, thus evo
wanted to ask for the credentials, but it failed. The failure
invalidated the connection also on the evo-ews side. The new attempt to
send the message resulted in a clean connect, just like right after
start (which tries stored password first).

I do not know which part is faulty here. It can be evolution-data-
server or evolution-ews itself. Or maybe evolution. Hard to guess. That
would need more testing.

Maybe there could be a workaround, to keep the connection alive you
might need to set "Check for new messages" interval to a value, which
is lower than "automatic disconnect timeout due to inactivity" set on
the server.

> Should i try to find this error with EWS_DEBUG=2 or CAMEL_DEBUG=all ?

Definitely do *not* use CAMEL_DEBUG=all. I do not know anyone wanting
to read all of that output. I'm not sure whether it would be shown in
the EWS_DEBUG=2 log.

In any case, I agree that this is a bug and should be fixed. Would you
mind to file it, please? I'd start in evolution-ews [1] and move it to
the right place once it'll be known where the actual error is. The
thing is that you see this error when using Mail, but other parts
(calendars/books) are/can-be affected as well.

By the way, are you really able to reproduce this reliably when you
connect or disconnect VPN? If only with the disconnect of the VPN, then
it can be that evo-ews connected to the server through the VPN, thus
the VPN disconnect invalidated that connection, similarly as the
inactivity timeout, though not exactly the same.

Bye,
Milan

[1] https://gitlab.gnome.org/GNOME/evolution-ews/issues/new


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-ews and VPN-connection

2020-01-14 Thread Wiethoff, Helge via evolution-list
Hi Milan,

thanks for your message. I'm "just" a normal user but maybe I can find
the problem with your suggestions for debugging.

But maybe the problem has another cause? When I start Evolution, I can
send/receive mails without problems. If I do something else for a
certain time and afterwards want to send a mail I get this error:

"Source 'helge...@...' doesn't support prompt for credentials"

In the dialog I can click "repeat" and the mail is sent directly.

Should i try to find this error with EWS_DEBUG=2 or CAMEL_DEBUG=all ?

Thanks again :-)
Helge

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-ews and VPN-connection

2020-01-13 Thread Milan Crha via evolution-list
On Sun, 2020-01-12 at 15:13 +, Wiethoff, Helge via evolution-list
wrote:
> My problem is: evolution doesn't seem to recognize if a VPN
> connection exists or not: If I change the VPN connection status while
> using the mail client, the connection to the Exchange server seems to
> be lost.

Hi,
is the Exchange server accessible only with VPN on, or it can be
accessed anytime, with or without it? You wrote that you change the VPN
status, but it's unclear to me whether you turn VPN on or off.

> When I restart evolution, everything works. Only if I change the vpn-
> connection status, the connection to the exchange-server drops.

If it drops, you might see the account with a "disconnected" icon on
the right of the folder tree in the Mail view. How do you know the
connection dropped? It there any error message in the GUI or elsewhere?

> The Exchange share is for both internal and external access =
> outlook.example.com.

I see, thus the VPN is not needed and it doesn't matter whether you
connect it or disconnect (that's what you call the change on the VPN
connection), evolution-ews stops talking to the server, right?

> ... The connection icon in Evolution shows an "online" status.
> 
> I have also tried GIO_USE_NETWORK_MONITOR=base without success.

I see. The Network Monitor is there to recognize whether the server (or
a network connection) is accessible (available), or not. The "base"
network monitor basically claims that the connection and network are
always available, regardless the actual state.

The issue might be somewhere between gnutls, glib-networking, glib2 and
libsoup. The evolution-ews uses libsoup to connect to the server, it
doesn't open its own connection to it, and libsoup uses ... just read
backwards the listing up to gnutls.

Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-EWS: OAuth2 with PIV SmartCard

2019-08-02 Thread Milan Crha via evolution-list
On Mon, 2019-07-22 at 15:20 +, Sindlinger, Randall A. (GSFC-
619.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] via evolution-list wrote:
> Is there anyway to coax Evolution to open the OAuth2 URI in Firefox
> instead?

Hi,
unfortunately not. The OAuth2 authentication extracts needed data from
the web page, thus it talks to the WebKitGTK+ and relies on it.

There is some hope though:
https://gitlab.gnome.org/GNOME/glib-networking/merge_requests/65

Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution ews cannot follow our autodiscovery

2019-07-04 Thread Milan Crha via evolution-list
On Tue, 2019-07-02 at 13:20 +, Joakim Tjernlund wrote:
> > This looks like a very specific case, but if you are willing to
> > help to test any changes, then feel free to open a new bug against
> > evolution-ews at [3] and we can follow there.
> 
> Will do 

Hi,
just for the record, this is filled as this now:
https://gitlab.gnome.org/GNOME/evolution-ews/issues/53

Thanks and bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution ews cannot follow our autodiscovery

2019-07-02 Thread Joakim Tjernlund via evolution-list
On Tue, 2019-07-02 at 14:07 +0200, Milan Crha via evolution-list wrote:
> CAUTION: This email originated from outside of the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
> 
> 
> On Tue, 2019-07-02 at 11:16 +, Joakim Tjernlund wrote:
> > Does this redirectAddr address make sense
> > to Evolution?
> 
> Hi,
> no, evolution-ews doesn't know about it. It would work fine if a
> standard redirect response had been made by the server, the one through
> the HTTP response code and such. It seems it might not be possible in
> this case, as it changes the user name too. The RedirectAddr element
> does that at least, according to [1]. And this [2] link shows what the
> Action values can be.

Right, seems this RedirectAddr is something new one have to deal with.

> 
> You can rerun your script with
> autodiscover.infinera.mail.onmicrosoft.com
> host name and user as returned by the server, which should give you the
> desired settings. You can copy the ASUrl content into the Host URL and
> the OABUrl content into the OAB URL in Evolution, if they are present.
> You can get multiple addresses for each, some may work only from the
> company network, some can be accessible also from the public addresses.

Yes, I can make autodisovery work by injecting onmicrosoft and 
https://outlook.office365.com/EWS/ 
in the right paces but that is really tedious 
> 
> On Tue, 2019-07-02 at 11:30 +, Joakim Tjernlund wrote:
> > futhermore I notice that
> > - plain http requests are just redirected to https
> > - I never get an user/passwd prompt when I do fetch URL in Evo
> 
> It looks like the credentials had been read from the libsecret/gnome-
> keyring. I see a request for "SoupMessage 1 (0x7fd8c86c1e50)", but not
> its response (after the 401 response, which means that the server asked
> for the credentials). It looks like you didn't receive the
> "redirectAddr" within evolution-ews for some reason, or you didn't wait
> long enough to have it included in the log. The next time, try to not
> expose the whole log, remove the private information and the
> information you cannot decipher (like the encoded bits).

If I change Auth to Basic I get prompted for my creds.

> This looks like a very specific case, but if you are willing to help to
> test any changes, then feel free to open a new bug against evolution-ews
> at [3] and we can follow there.

Will do 

> Thanks and bye,
> Milan
> 
> [1] 
> https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fredirectaddr-poxdata=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C607c081c9ab94ab7bc0208d6fee58651%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C636976659084606933sdata=GSW1SJzjreBlEPyak5RZuiGzYQSleTgAzLKzSJOek%2FU%3Dreserved=0
> [2] 
> https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Faction-poxdata=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C607c081c9ab94ab7bc0208d6fee58651%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C636976659084606933sdata=gqd3jyEB7%2FjE%2BXe2nG4jxbmCHoKvIzsNiFbBOYTvkEc%3Dreserved=0
> [3] 
> https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.gnome.org%2FGNOME%2Fevolution-ews%2Fissues%2Fnewdata=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C607c081c9ab94ab7bc0208d6fee58651%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C636976659084606933sdata=MIPKEYecOOV6zcsvWUEkKHes4q%2FHvnKZ0vHs8jfEMQE%3Dreserved=0
> 
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.gnome.org%2Fmailman%2Flistinfo%2Fevolution-listdata=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C607c081c9ab94ab7bc0208d6fee58651%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C636976659084606933sdata=J%2FVnMq6h9EYcGIPP1iz4M3qH8QT%2FbYC%2FfE%2BBPCpHBpc%3Dreserved=0

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution ews cannot follow our autodiscovery

2019-07-02 Thread Milan Crha via evolution-list
On Tue, 2019-07-02 at 11:16 +, Joakim Tjernlund wrote:
> Does this redirectAddr address make sense
> to Evolution?

Hi,
no, evolution-ews doesn't know about it. It would work fine if a
standard redirect response had been made by the server, the one through
the HTTP response code and such. It seems it might not be possible in
this case, as it changes the user name too. The RedirectAddr element
does that at least, according to [1]. And this [2] link shows what the
Action values can be.

You can rerun your script with
autodiscover.infinera.mail.onmicrosoft.com
host name and user as returned by the server, which should give you the
desired settings. You can copy the ASUrl content into the Host URL and
the OABUrl content into the OAB URL in Evolution, if they are present.
You can get multiple addresses for each, some may work only from the
company network, some can be accessible also from the public addresses.

On Tue, 2019-07-02 at 11:30 +, Joakim Tjernlund wrote:
> futhermore I notice that
> - plain http requests are just redirected to https
> - I never get an user/passwd prompt when I do fetch URL in Evo

It looks like the credentials had been read from the libsecret/gnome-
keyring. I see a request for "SoupMessage 1 (0x7fd8c86c1e50)", but not
its response (after the 401 response, which means that the server asked
for the credentials). It looks like you didn't receive the
"redirectAddr" within evolution-ews for some reason, or you didn't wait
long enough to have it included in the log. The next time, try to not
expose the whole log, remove the private information and the
information you cannot decipher (like the encoded bits).

This looks like a very specific case, but if you are willing to help to
test any changes, then feel free to open a new bug against evolution-ews
at [3] and we can follow there.
Thanks and bye,
Milan

[1] 
https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/redirectaddr-pox
[2] 
https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/action-pox
[3] https://gitlab.gnome.org/GNOME/evolution-ews/issues/new

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution ews cannot follow our autodiscovery

2019-07-02 Thread Joakim Tjernlund via evolution-list
On Tue, 2019-07-02 at 08:39 +0200, Milan Crha via evolution-list wrote:
> CAUTION: This email originated from outside of the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
> 
> 
> On Mon, 2019-07-01 at 16:35 +, Joakim Tjernlund via evolution-list
> wrote:
> > Any idea why?
> 
> Hi,
> not really, as it can be a server configuration thing too. You can try
> to run evolution from a terminal with EWS debugging on:
> 
>$ EWS_DEBUG=2 evolution
> 
> then open the EWS account Properties (or add a new user) and when you
> click "Fetch URL" at the Receiving Email tab, then you'll see what
> evolution-ews tried to use and what the server returned. You should be
> asked for credentials, if not stored anywhere already.
> 
> The actual autodiscover URL is derived from the email address domain
> and from the current Host URL.

EWS_DEBUG=2 evolution autodiscovery yields:

< HTTP/1.1 2 Error resolving “autodiscover.exchange.infinera.com”: Name or 
service not known
< Soup-Debug-Timestamp: 1562059608
< Soup-Debug: SoupMessage 0 (0x55b373a13460)
  
< HTTP/1.1 4 Could not connect: Connection refused
< Soup-Debug-Timestamp: 1562059608
< Soup-Debug: SoupMessage 0 (0x7fd8c8a160d0)
  
> POST /autodiscover/autodiscover.xml HTTP/1.1
> Soup-Debug-Timestamp: 1562059608
> Soup-Debug: SoupSessionAsync 1 (0x7fd820003220), SoupMessage 1 
> (0x7fd8c86c1e50), SoupSocket 1 (0x7fd81000bb60)
> Host: autodiscover.infinera.com
> User-Agent: Evolution/3.32.2
> Content-Type: text/xml; charset=utf-8
> Connection: Keep-Alive
> Authorization: NTLM 
> TlRMTVNTUAABBYIIMAAw
> 
>  xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006;>
>   
> joakim.tjernl...@infinera.com
> 
> http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a
>   
> 
  
< HTTP/1.1 401 Unauthorized
< Soup-Debug-Timestamp: 1562059609
< Soup-Debug: SoupMessage 1 (0x7fd8c86c1e50)
< Server: Microsoft-IIS/8.0
< request-id: bf2ff059-d0e6-423e-afba-af08d93583aa
< Set-Cookie: ClientId=0PFBYHUURYZLMLGM9W; expires=Wed, 01-Jul-2020 09:26:49 
GMT; path=/; HttpOnly
< WWW-Authenticate: NTLM
TlRMTVNTUAACEAAQADgFgokC0gVpwh6RHloAAK4ArgBIBgLwIw9JAE4ARgBJAE4ARQBSAEEAAgAQAEkATgBGAEkATgBFAFIAQQABABgAUwBWAC0ARQBYADEAMwAtAFAAUgBEADEABAAYAGkAbgBmAGkAbg
BlAHIAYQAuAGMAbwBtAAMAMgBzAHYALQBlAHgAMQAzAC0AcAByAGQAMQAuAGkAbgBmAGkAbgBlAHIAYQAuAGMAbwBtAAUAGABpAG4AZgBpAG4AZQByAGEALgBjAG8AbQAHAAgAroBjRrgw1QEA
< WWW-Authenticate: Negotiate
< WWW-Authenticate: Basic realm="autodiscover.infinera.com"
< X-Powered-By: ASP.NET
< X-FEServer: SV-EX13-PRD1
< Date: Tue, 02 Jul 2019 09:26:48 GMT
< Content-Length: 0
< 
  
> POST /autodiscover/autodiscover.xml HTTP/1.1
> Soup-Debug-Timestamp: 1562059609
> Soup-Debug: SoupSessionAsync 1 (0x7fd820003220), SoupMessage 1 
> (0x7fd8c86c1e50), SoupSocket 1 (0x7fd81000bb60), restarted
> Host: autodiscover.infinera.com
> User-Agent: Evolution/3.32.2
> Content-Type: text/xml; charset=utf-8
> Connection: Keep-Alive
> Content-Length: 341
> Authorization: NTLM
TlRMTVNTUAADGAAYAHIYABgAigBAJAAkAEAOAA4AZYIIAGoAbwBjAGsAZQBAAGkAbgBmAGkAbgBlAHIAYQAuAGMAbwBtAFUATgBLAE4ATwBXAE4AwOrz3JwnYGgAAA
AA8oQ9RIcr5dkWFMk8X5BgqpD4CoZA58AF
> 
>  xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006;>
>   
> joakim.tjernl...@infinera.com
> 
> http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a
>   
> 
  
 The response code: 200
 The response headers for message 0x55b373e7f920
 =
Cache-Control: private
Transfer-Encoding: chunked
Server: Microsoft-IIS/10.0
request-id: a0a5c293-f2bb-45b9-9ccb-04eae6b1a0fc
X-CalculatedFETarget: BN6PR04CU002.internal.outlook.com
X-BackEndHttpStatus: 200
Set-Cookie: exchangecookie=73f062e1e0534919be4bdfcbfb409a1e; path=/; secure
X-FEProxyInfo: BN6PR04CA0041.NAMPRD04.PROD.OUTLOOK.COM
X-CalculatedBETarget: BN8PR10MB3540.namprd10.prod.outlook.com
X-BackEndHttpStatus: 200
X-RUM-Validated: 1
X-NoBuffering: 1
X-AspNet-Version: 4.0.30319
X-BeSku: WCS5
X-DiagInfo: BN8PR10MB3540
X-BEServer: BN8PR10MB3540
X-FEServer: BN6PR04CA0041
X-Powered-By: ASP.NET
X-FEServer: HE1PR05CA0154
Date: Tue, 02 Jul 2019 09:24:14 GMT


http://schemas.xmlsoap.org/soap/envelope/;>
  http://schemas.xmlsoap.org/soap/envelope/;>
http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns="
http://schemas.microsoft.com/exchange/services/2006/types; MajorVersion="15" 
MinorVersion="20" MajorBuildNumber="2032" MinorBuildNumber="20" 
Version="V2018_01_08"/>
  
  http://schemas.xmlsoap.org/soap/envelope/;>
http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:t="
http://schemas.microsoft.com/exchange/services/2006/types; 

Re: [Evolution] evolution ews cannot follow our autodiscovery

2019-07-02 Thread Joakim Tjernlund via evolution-list
On Tue, 2019-07-02 at 08:39 +0200, Milan Crha via evolution-list wrote:
> CAUTION: This email originated from outside of the organization. Do not click 
> links or open attachments unless you recognize the sender and know the 
> content is safe.
> 
> 
> On Mon, 2019-07-01 at 16:35 +, Joakim Tjernlund via evolution-list
> wrote:
> > Any idea why?
> 
> Hi,
> not really, as it can be a server configuration thing too. You can try
> to run evolution from a terminal with EWS debugging on:
> 
>$ EWS_DEBUG=2 evolution
> 
> then open the EWS account Properties (or add a new user) and when you
> click "Fetch URL" at the Receiving Email tab, then you'll see what
> evolution-ews tried to use and what the server returned. You should be
> asked for credentials, if not stored anywhere already.
> 
> The actual autodiscover URL is derived from the email address domain
> and from the current Host URL.

Did a manual autodisovery req using curl:

#! /bin/bash
function print_usage()
{
 echo "Usage: `basename $0` [options]"
 echo "Options:"
 echo "  -e  Autodiscover Endpoint URL"
 echo "  -a  SMTP address of account to perform autodiscover"
 echo "  -u  user ID used when logging into the specified Autodiscover Endpoint"
 exit 2
}
function parse_args()
{
 args=`getopt u:e:a: $*`
 if [ $? != 0 ]; then
  print_usage
 fi
 autod_url="https://autodiscover.infinera.com/autodiscover/autodiscover.xml;
 autod_email="joakim.tjernl...@infinera.com"
 set -- $args
 for i
 do
  case "$1" in
   -e)
autod_url="$2"; shift
shift
;;
   -a)
autod_email="$2"; shift
shift
;;
   -u)
autod_id="$2"; shift
shift
;;
   --)
shift
break
;;
  esac
 done
 if [ -z "$autod_url" ] || [ -z "$autod_email" ]; then
  print_usage
 fi
}
function generate_autod_request_xml()
{
 _email_address=$1
 autod_xml=""
 autod_xml+=''
 autod_xml+='http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006;>'
 autod_xml+='   '
 autod_xml+='  '$_email_address''
 autod_xml+='  
http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a'
 autod_xml+='   '
 autod_xml+=''
}
parse_args $*
generate_autod_request_xml $autod_email
xml="$autod_xml"
curl --silent -v -k --header 'Content-Type: text/xml' --user "$autod_id" 
"$autod_url" --data "$xml"

where $auto_id is my domain user, I get this answer:


> POST /autodiscover/autodiscover.xml HTTP/1.1
> Host: autodiscover.infinera.com
> Authorization: Basic am9ja2VAaW5maW5lcmEuY29tOkt1cnRhbjgu
> User-Agent: curl/7.65.0
> Accept: */*
> Content-Type: text/xml
> Content-Length: 380
> 
* upload completely sent off: 380 out of 380 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Cache-Control: private
< Content-Type: text/xml; charset=utf-8
< Server: Microsoft-IIS/8.0
< request-id: e9a4d88f-7e0d-405d-8767-eefae6cadbca
< Set-Cookie: ClientId=GLSJLS0BYUUHVVZQYCBQ; expires=Wed, 01-Jul-2020 11:07:38 
GMT; path=/; HttpOnly
< X-CalculatedBETarget: sv-ex13-prd1.infinera.com
< X-DiagInfo: SV-EX13-PRD1
< X-BEServer: SV-EX13-PRD1
< X-AspNet-Version: 4.0.30319
< Set-Cookie: 
X-BackEndCookie=S-1-5-21-1757981266-1085031214-682003330-51010=u56Lnp2ejJqBm5nKyp7NxsjSmZzOz9LLypvL0p3JmczSxsrJm8nGzsaey82cgYHNz87G0s/H0s/Oq87Oxc/IxczH;
 expires=Thu, 01-Aug-2019 11:07:38 GMT; path=/autodiscover; secure; HttpOnly
< X-Powered-By: ASP.NET
< X-FEServer: SV-EX13-PRD1
< Date: Tue, 02 Jul 2019 11:07:38 GMT
< Content-Length: 407
< 

http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006;>
  http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a;>

  redirectAddr
  my_user...@infinera.mail.onmicrosoft.com

  
* Connection #0 to host autodiscover.infinera.com left intact

Does this redirectAddr address make sense to Evolution?

 Jocke
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution ews cannot follow our autodiscovery

2019-07-02 Thread Milan Crha via evolution-list
On Mon, 2019-07-01 at 16:35 +, Joakim Tjernlund via evolution-list
wrote:
> Any idea why?

Hi,
not really, as it can be a server configuration thing too. You can try
to run evolution from a terminal with EWS debugging on:

   $ EWS_DEBUG=2 evolution

then open the EWS account Properties (or add a new user) and when you
click "Fetch URL" at the Receiving Email tab, then you'll see what
evolution-ews tried to use and what the server returned. You should be
asked for credentials, if not stored anywhere already.

The actual autodiscover URL is derived from the email address domain
and from the current Host URL.

Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS calender edit issue

2019-05-28 Thread Jimmy G via evolution-list
Hello Karl,

Thank you. I just tested it and it seems to work. Thank you very much
for sharing the fix.

Regards,
Jimmy

-Original Message-
From: Karl Leo 
To: evolution-list@gnome.org
Subject: Re: [Evolution] Evolution EWS calender edit issue
Date: Fri, 24 May 2019 11:17:44 -0500 (CDT)

Dear Jimmy,I had exactly this issue with Evolution 3.28.5 using the
groupware SOGo. Thecause was that I had used two different email
identities on the mail serverand had configured Evolution mail with one
of them, while the calender partused the other. I remedied the problem
by using only one email identity bothin writing appointments and in the
email configuration of Evolution. Hopethis helps.RegardsKarl


--Sent from: http://gnome-evolution-general.1774414.n4.nabble.com/
___evolution-list mailing 
listevolution-l...@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS calender edit issue

2019-05-24 Thread Karl Leo
Dear Jimmy,
I had exactly this issue with Evolution 3.28.5 using the groupware SOGo. The
cause was that I had used two different email identities on the mail server
and had configured Evolution mail with one of them, while the calender part
used the other. I remedied the problem by using only one email identity both
in writing appointments and in the email configuration of Evolution. Hope
this helps.
Regards
Karl



--
Sent from: http://gnome-evolution-general.1774414.n4.nabble.com/
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS calender edit issue

2019-05-24 Thread Jimmy G via evolution-list
I apologize...it was a typo...I actually use 3.32.1-2; EWS 3.32.1-1

Jimmy

-Original Message-
From: Andre Klapper 
To: evolution-list@gnome.org
Subject: Re: [Evolution] Evolution EWS calender edit issue
Date: Fri, 24 May 2019 17:52:42 +0200

On Fri, 2019-05-24 at 09:14 -0500, Jimmy G via evolution-list wrote:
> I use Evo 3.21.1-2 with EWS 3.21.1-1.

Why do you use an unstable development version (3.21.x) which has
neverbeen meant for production and is several years old?
andre--Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/


___evolution-list mailing 
listevolution-l...@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS calender edit issue

2019-05-24 Thread Andre Klapper
On Fri, 2019-05-24 at 09:14 -0500, Jimmy G via evolution-list wrote:
> I use Evo 3.21.1-2 with EWS 3.21.1-1.

Why do you use an unstable development version (3.21.x) which has never
been meant for production and is several years old?

andre
--
Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews-3.28.3 unable to update calendar meetings

2018-06-25 Thread Jiri Hofman via evolution-list

Thank you very much, Milan, it works like a charm!

Best regards,
Jiri

-Original Message-
From: Milan Crha via evolution-list 
Reply-To: Milan Crha 
To: evolution-list@gnome.org
Subject: Re: [Evolution] evolution-ews-3.28.3 unable to update calendar
meetings
Date: Mon, 25 Jun 2018 12:26:40 +0200

On Mon, 2018-06-25 at 11:09 +0200, Milan Crha via evolution-list wrote:
create an update for Fedora when the fix is available.
Hi,the fix is part of this update:https://bodhi.fedoraproject.o
rg/updates/evolution-ews-3.28.3-2.fc28It requires logout, because the
change is on the evolution-calendar-factory side. Restarting that
process is enough, but the logout (orrestart) is usually easier.
Bye,Milan___evoluti
on-list mailing listevolution-list@gnome.orgTo change your list options
or unsubscribe, visit ...https://mail.gnome.org/mailman/listinfo/evolut
ion-list
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews-3.28.3 unable to update calendar meetings

2018-06-25 Thread Milan Crha via evolution-list
On Mon, 2018-06-25 at 11:09 +0200, Milan Crha via evolution-list wrote:
> create an update for Fedora when the fix is available.

Hi,
the fix is part of this update:
https://bodhi.fedoraproject.org/updates/evolution-ews-3.28.3-2.fc28
It requires logout, because the change is on the evolution-calendar-
factory side. Restarting that process is enough, but the logout (or
restart) is usually easier.
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews-3.28.3 unable to update calendar meetings

2018-06-25 Thread Milan Crha via evolution-list
On Mon, 2018-06-25 at 10:21 +0200, Jiri Hofman via evolution-list
wrote:
> "Cannot modify calendar object: The request failed schema validation:
> The element 'Updates' in namespace 'http://schemas.microsoft.com/exch
> ange/services/2006/types' has invalid child element
> 'IsResponseRequested' in namespace 'http://schemas.microsoft.com/exch
> ange/services/2006/types'. List of possible elements expected:
> 'AppendToItemField, SetItemField, DeleteItemField' in namespace 'http
> ://schemas.microsoft.com/exchange/services/2006/types'."

Hi,
thanks for the notice. This is after [1] and I'd bet I tested that code
path too, but I see I didn't. My fault, I'm sorry about that. I'll
update [1] with a follow up change and also create an update for Fedora
when the fix is available.
Thanks and bye,
Milan

[1] https://bugzilla.gnome.org/show_bug.cgi?id=796297
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews and exchange inplace archive

2018-05-17 Thread Milan Crha
On Thu, 2018-05-17 at 19:29 +0200, Oliver Paukstadt wrote:
> Looks like needs at least Exchange 2013
> https://msdn.microsoft.com/en-us/library/windows/desktop/dd979800(v=exchg.150).aspx
> https://msdn.microsoft.com/en-us/library/windows/desktop/jj651146(v=exchg.150).aspx

Hi,
thanks for the pointers. I did try it with Exchange 2013, but as I have
it disabled on the server the OWA didn't show anything for archiving. I
see it's a separate mailbox also on the server, which will make it
harder for evolution-ews (after only a brief reading of your links).

Would you mind to file a feature request in GNOME bugzilla for
evolution-ews [1], thus it won't be forgotten, please?

Thanks and bye,
Milan

[1] https://bugzilla.gnome.org/enter_bug.cgi?product=evolution-ews
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews and exchange inplace archive

2018-05-17 Thread Oliver Paukstadt
On Thu, 2018-05-17 at 18:46 +0200, Milan Crha wrote:
> 
> 
> I'm wondering whether there's a way to check whether showing the
> archive folder is required or not. I'd not do that by opening the
> folder and seeking for its non-emptiness, definitely because there
> can
> be deep levels of folders involved there. I do not know, does OWA
> show
> the Archive folder for you?
OWA shows the archive structure but it looks like a separate mailbox.
ActiveSync cannot access those structures.

>  I do not see it here (older Exchange server
> though, with disabled archiving on the server (I even do not know
> where
> to enable it, to be honest)).
Looks like needs at least Exchange 2013
https://msdn.microsoft.com/en-us/library/windows/desktop/dd979800(v=exc
hg.150).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/jj651146(v=exc
hg.150).aspx

Regards,
Oliver Paukstadt

-- 
Oliver Paukstadt 
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews and exchange inplace archive

2018-05-17 Thread Milan Crha
On Wed, 2018-05-16 at 17:42 +0200, Oliver Paukstadt wrote:
> https://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.wellknownfoldername(v=exchg.80).aspx
> 
> Is there any change to get this into the ews plugin?

Hi,
the evolution-ews relies on the server what folders it reports.
The EWS protocol has also the list of well-known folders:
https://msdn.microsoft.com/en-us/library/aa580808(v=exchg.150).aspx
but evolution-ews doesn't query for any usually-not-returned by the
server (it verifies which folder is Outbox, Inbox and so on only,
definitely not to add the folder into the list of "interesting"
folders).

I'm wondering whether there's a way to check whether showing the
archive folder is required or not. I'd not do that by opening the
folder and seeking for its non-emptiness, definitely because there can
be deep levels of folders involved there. I do not know, does OWA show
the Archive folder for you? I do not see it here (older Exchange server
though, with disabled archiving on the server (I even do not know where
to enable it, to be honest)).
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews and exchange inplace archive

2018-05-17 Thread Oliver Paukstadt
On Wed, 2018-05-16 at 20:12 +0200, Andre Klapper wrote:
> 
> Which exact evolution and evolution-ews versions is this about, on
> which of the Centos Seven versions that exist?

CentOS has this releases at the moment:
evolution-3.22.6-14.el7.x86_64
evolution-ews-3.22.6-6.el7.x86_64

Exchange is 2016 CU 9

You are asking for versions, so this means ews is expected to work with
inplace archive?

Regards,
Oliver
-- 
Oliver Paukstadt 
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews and exchange inplace archive

2018-05-16 Thread Andre Klapper
Hi Oliver,

On Wed, 2018-05-16 at 17:42 +0200, Oliver Paukstadt wrote:
> they just activated inplace archiving in our exchange with automatic
> rules.
> 
> Using the evolution ews plugin from Centos 7 I do not see any folder
> from the inplace archive.

Which exact evolution and evolution-ews versions is this about, on
which of the Centos Seven versions that exist?

andre
-- 
Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews & public folders via Exchange 2013

2018-03-28 Thread Mark Riede
Thank you. We were just blind. :)

-Original Message-
From: evolution-list [mailto:evolution-list-boun...@gnome.org] On Behalf Of 
Milan Crha
Sent: Mittwoch, 28. März 2018 15:44
To: evolution-list@gnome.org
Subject: Re: [Evolution] evolution-ews & public folders via Exchange 2013

On Wed, 2018-03-28 at 10:16 +, Mark Riede wrote:
> is it possible to work with public folders in evolution-ews (3.18.5-
> 1ubuntu1) via Exchange 2013?

Hi,
public Exchange folders are managed in Folder->Subscriptions in Evolution. How 
much reliable yours 3.18.5 is I cannot tell you, it's very ancient version 
(current stable is 3.28.0).
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews & public folders via Exchange 2013

2018-03-28 Thread Milan Crha
On Wed, 2018-03-28 at 10:16 +, Mark Riede wrote:
> is it possible to work with public folders in evolution-ews (3.18.5-
> 1ubuntu1) via Exchange 2013?

Hi,
public Exchange folders are managed in Folder->Subscriptions in
Evolution. How much reliable yours 3.18.5 is I cannot tell you, it's
very ancient version (current stable is 3.28.0).
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews handling of recurring appointments got worse

2018-01-29 Thread Michael Hirmke
Hi again,

[...]
>>Note of the comment in the middle of the [1], about:

>>   Workaround Exchange 2016 error, which returns invalid iCalendar
>>   object (without 'END:VCALENDAR')

>>Maybe they broke it in some other way.

>Wouldn't be the first time 8-((

as it seems, this exactly was the case.
I updated Exchange Server 2016 from CU5 to CU8 - and the problem seems to
have gone.
Please ignore every comment in my bug report except for the last one.

[...]

>>  Thanks and bye,
>>  Milan

Bye.
Michael.
-- 
Michael Hirmke
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews handling of recurring appointments got worse

2018-01-29 Thread Milan Crha
On Mon, 2018-01-29 at 16:50 +0100, Michael Hirmke wrote:
> Please don't feel offended by my mails - this was and is not my
> intention.

Hi,
it's okay. I sometimes forget of bugs, thus some reminders of ongoing
investigations are welcome (I do not mean with it that everyone should
just write to the list "and what about bug X"... I hope you know what I
mean). :)
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews handling of recurring appointments got worse

2018-01-29 Thread Michael Hirmke
Hi Milan,

[...]
>   Hi,
>evolution-ews itself didn't receive many changes, as can be seen here:
>https://git.gnome.org/browse/evolution-ews/tree/NEWS?h=gnome-3-26

>The change in 3.26.3 truly touches the calendar part [1], though it was
>mainly meant to avoid runtime warnings and or crashes in certain
>situations.

yeah, I read the change history and also didn't see any reason for my
problems 8-(
Please don't feel offended by my mails - this was and is not my
intention.

[...]
>Note of the comment in the middle of the [1], about:

>   Workaround Exchange 2016 error, which returns invalid iCalendar
>   object (without 'END:VCALENDAR')

>Maybe they broke it in some other way.

Wouldn't be the first time 8-((

>I'm going to follow on your bug report with an idea.

Thx a lot!


>   Thanks and bye,
>   Milan

Bye.
Michael.
-- 
Michael Hirmke
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews handling of recurring appointments got worse

2018-01-29 Thread Milan Crha
On Fri, 2018-01-26 at 21:53 +0100, Michael Hirmke wrote:
> since evolution-ews-3.26.3 handling of recurring appointments got
> even worse.
> 
> Before, I had problems when modifying a single appointment in a
> series from evolution calendar gui. This lead to a duplicate entry:
> https://bugzilla.gnome.org/show_bug.cgi?id=789899.

Hi,
evolution-ews itself didn't receive many changes, as can be seen here:
https://git.gnome.org/browse/evolution-ews/tree/NEWS?h=gnome-3-26

The change in 3.26.3 truly touches the calendar part [1], though it was
mainly meant to avoid runtime warnings and or crashes in certain
situations.

The bug us currently stuck, because I also was not able to reproduce
the issue here. I would expect that Office365 server will behave pretty
close to your Exchange instance, because they may use the latest
version (that's only my expectation, for which I do not have any
proof).

Note of the comment in the middle of the [1], about:

   Workaround Exchange 2016 error, which returns invalid iCalendar
   object (without 'END:VCALENDAR')

Maybe they broke it in some other way. I'm going to follow on your bug
report with an idea.

Thanks and bye,
Milan

[1] 
https://git.gnome.org/browse/evolution-ews/commit/?h=gnome-3-26=e7e4bfd22d3cbe3efc1f504cabab63fb8bc9aadd
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews handling of recurring appointments got worse

2018-01-28 Thread Michael Hirmke
Hi Greg,

[...]

thx for your answer.

>I am using 3.26.4, and we do not use Exchange, but office365 rather.  We
>also have a corporate WebEx server at my disposal to test.  I just created
>recurring meetings on both systems, and edited them several times.  Evo
>Calendar correctly updated the meeting every time and no duplicates
>occurred.

>Sounds like your Exchange Admin might have some settings causing this more
>than likely.  I have been using evo for a very long time and have never
>witnessed the symptoms you are seeing, and I am a very heavy
>calendar/meeting user.

I am the Exchange Admin 8-( This is my personal Exchange server. I have
about 20 years of experience administering Exchange environments, even
very large ones.
Sadly I am not aware of any setting, that would cause these problems,
especially because I don't see them with Outlook, Samsung mail on my
Smartphone or Touchdown on my Tablet.
If anyone can give any hint, what I might overlook, I'd be more than
happy.

>I just went through all of the tick boxes, and while I am not positive,
>none of the options under preferences seem like they could cause this
>either.

I also checked every single setting in evo more than once and couldn't
find one that may be the culprit.


Bye.
Michael.
-- 
Michael Hirmke
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews handling of recurring appointments got worse

2018-01-27 Thread Greg Oliver
On Fri, Jan 26, 2018 at 2:53 PM, Michael Hirmke 
wrote:

> Hi *,
>
> since evolution-ews-3.26.3 handling of recurring appointments got even
> worse.
>
> Before, I had problems when modifying a single appointment in a series
> from evolution calendar gui. This lead to a duplicate entry:
> https://bugzilla.gnome.org/show_bug.cgi?id=789899.
>
> Since 2.6.3 *every* modification of a recurring appointment leads to a
> duplicate entry, even modifications for meeting requests sent by the
> original organizator. The same entry shows correctly in Outlook -
> modified and without a bad brother 8-<
> Even worse: Deleting the duplicate entry in evolution removes both
> entries in evolution, the correct entry in outlook and sends out a
> decline message to the organizator.
>
> With this behaviour evo has become completely useless for me, because I
> need calendar and meetings requests more than even email.
>
> Does anyone have any hint?
>
> EWS is talking to an Exchange Server 2016 CU5.
>
> TIA.
> Bye.
> Michael.
> --
> Michael Hirmke
>

I am using 3.26.4, and we do not use Exchange, but office365 rather.  We
also have a corporate WebEx server at my disposal to test.  I just created
recurring meetings on both systems, and edited them several times.  Evo
Calendar correctly updated the meeting every time and no duplicates
occurred.

Sounds like your Exchange Admin might have some settings causing this more
than likely.  I have been using evo for a very long time and have never
witnessed the symptoms you are seeing, and I am a very heavy
calendar/meeting user.

I just went through all of the tick boxes, and while I am not positive,
none of the options under preferences seem like they could cause this
either.
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS Contact Photos Not Working Still

2018-01-10 Thread Paul Stejskal

Bug https://bugzilla.gnome.org/show_bug.cgi?id=792411 opened.

-Original Message-
From: Milan Crha <mc...@redhat.com>
Date: 01/10/2018 12:21 PM
To: evolution-list@gnome.org
Subject: Re: [Evolution] Evolution EWS Contact Photos Not Working Still

On Tue, 2018-01-09 at 18:01 -0600, Paul Stejskal wrote:
Hello. This is a revisit from a thread two years ago: https://mail.gn
ome.org/archives/evolution-list/2016-March/msg00138.html

It still isn't working, using the Evolution default version in Ubuntu
17.10: 3.26.1-1. Any ideas?

Hi,
you accidentally replied to an existing thread, instead of starting a
new message, thus it looks like you stole your own thread with a
different topic. You can click on an address in the message preview to
avoid it, instead of Ctrl+R or Ctrl+L or similar to start a message and
then change everything but the threading headers, which are preserved
for proper threading.

For the GetUserPhoto operations provided by EWS servers, no, it's not
implemented. It works differently, as I described in the message you
referenced. Thinking of it now, it could be possible to implement the
usage of GetUserPhoto() when searching only for the sender photo on any
EWS account.

Is there a bug for it, please? I didn't find any. Bugs are good for
reference and history, especially in cases when something goes wrong
after the change.
Thanks and bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS Contact Photos Not Working Still

2018-01-10 Thread Milan Crha
On Tue, 2018-01-09 at 18:01 -0600, Paul Stejskal wrote:
> Hello. This is a revisit from a thread two years ago: https://mail.gn
> ome.org/archives/evolution-list/2016-March/msg00138.html
> 
> It still isn't working, using the Evolution default version in Ubuntu
> 17.10: 3.26.1-1. Any ideas?

Hi,
you accidentally replied to an existing thread, instead of starting a
new message, thus it looks like you stole your own thread with a
different topic. You can click on an address in the message preview to
avoid it, instead of Ctrl+R or Ctrl+L or similar to start a message and
then change everything but the threading headers, which are preserved
for proper threading.

For the GetUserPhoto operations provided by EWS servers, no, it's not
implemented. It works differently, as I described in the message you
referenced. Thinking of it now, it could be possible to implement the
usage of GetUserPhoto() when searching only for the sender photo on any
EWS account.

Is there a bug for it, please? I didn't find any. Bugs are good for
reference and history, especially in cases when something goes wrong
after the change.
Thanks and bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS: Suddelny I cannot access EWS Calender

2017-02-03 Thread Joakim Tjernlund
On Fri, 2017-02-03 at 12:30 +0100, Milan Crha wrote:
> On Fri, 2017-02-03 at 10:03 +, Joakim Tjernlund wrote:
> > > Forgot: Evo version 3.22.3 
> > 
> > Anyone? How can I debug this?
> > I not I can add new calendar entries via owa but these are not seen
> > in Evo.
> 
>   Hi,
> I can be completely wrong here, but it happened to me from time to time
> that /usr/bin/ntlm_auth calls just got stuck, in the calendar factory,
> which resulted in a very similar behaviour you are facing. My
> workaround was to rename that /usr/bin/ntlm_auth to something else,
> then restart the whole machine (or at least evolution-calendar-
> factory). There was a related change in the evolution-data-server in
> version 3.22.4, called "camel-stream-process: Avoid call of g_debug()
> in the fork process".
> 
> If it's not it, then you can run the calendar factory with EWS
> debugging on, like this:
> 
>$ EWS_DEBUG=2 /usr/libexec/evolution-calendar-factory -w
> 
> then run evolution and try to open the EWS calendar, or just add/edit
> an appointment there. 

I did this(first I killed all evo processes) and now I can access my Calendar 
again :)

  Thanks, jocke
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS: Suddelny I cannot access EWS Calender

2017-02-03 Thread Milan Crha
On Fri, 2017-02-03 at 10:03 +, Joakim Tjernlund wrote:
> > Forgot: Evo version 3.22.3 
> 
> Anyone? How can I debug this?
> I not I can add new calendar entries via owa but these are not seen
> in Evo.

Hi,
I can be completely wrong here, but it happened to me from time to time
that /usr/bin/ntlm_auth calls just got stuck, in the calendar factory,
which resulted in a very similar behaviour you are facing. My
workaround was to rename that /usr/bin/ntlm_auth to something else,
then restart the whole machine (or at least evolution-calendar-
factory). There was a related change in the evolution-data-server in
version 3.22.4, called "camel-stream-process: Avoid call of g_debug()
in the fork process".

If it's not it, then you can run the calendar factory with EWS
debugging on, like this:

   $ EWS_DEBUG=2 /usr/libexec/evolution-calendar-factory -w

then run evolution and try to open the EWS calendar, or just add/edit
an appointment there. There should be some activity in the log. If not,
then catch a backtrace of an evolution-calendar-factory-subprocess
which has "--factory ews" as an argument. These can be seen for example
with `ps ax | grep evolution`. Get the process ID (PID) and replace it
in this command:

   $ gdb --batch --ex "t a a bt" -pid=PID &>bt.txt

Please check the bt.txt for any private information, like passwords,
email address, server addresses,... I usually search for "pass" at
least (quotes for clarity only). The backtrace will show what the EWS
calendar backend does.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS: Suddelny I cannot access EWS Calender

2017-02-03 Thread Joakim Tjernlund
On Thu, 2017-02-02 at 15:43 +0100, Joakim Tjernlund wrote:
> On Thu, 2017-02-02 at 14:40 +0100, Joakim Tjernlund wrote:
> > Just noted that adding a new Calendar entry in my exchange server comes 
> > back with:
> >   Unable to send item to calendar 'Calendar'. Cannot receive calendar 
> > objects: Authentication failed
> > 
> > I recently changed my domain/exchange password and I guess this problem 
> > arose then. I changed
> > my local exchange pw as well(in keyring) and I can access my mail and 
> > contacts just fine.
> > 
> > Any ideas?
> 
> Forgot: Evo version 3.22.3 

Anyone? How can I debug this?
I not I can add new calendar entries via owa but these are not seen in Evo.

 Jocke
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS: Suddelny I cannot access EWS Calender

2017-02-02 Thread Joakim Tjernlund
On Thu, 2017-02-02 at 14:40 +0100, Joakim Tjernlund wrote:
> Just noted that adding a new Calendar entry in my exchange server comes back 
> with:
>   Unable to send item to calendar 'Calendar'. Cannot receive calendar 
> objects: Authentication failed
> 
> I recently changed my domain/exchange password and I guess this problem arose 
> then. I changed
> my local exchange pw as well(in keyring) and I can access my mail and 
> contacts just fine.
> 
> Any ideas?

Forgot: Evo version 3.22.3 
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS stpped working after Exchange migration from 2013 to 2016

2016-12-27 Thread Ángel González
On 06-12-2016 Milan Crha wrote:
> > (evolution:21945): camel-ews-provider-WARNING **: Unable to fetch
> > the folder hierarchy: Authentication failed :289
> 
> I recall some oddity since updating samba to 4.5.0 or something
> around.
> It provides ntlm_auth (here at /usr/bin/ntlm_auth), which is used by
> libsoup, which evolution-ews uses to connect to the server. The file
> is
> a helper and the evolution-ews can work also without it. Try to rename
> it, whether anything changes. I would also verify that a correct
> authentication method is setup in the evolution-ews account
> (NTLM/Basic/Kerberos). 


I guess that was the upgrade for fixing the “badlock” vulnerability in
Samba, which changed the authentication code quite a lot.
FWIW, I found that such fix made evolution-ews unable to login with
non-ANSI passwords (which used to be possible when using NTLM
authentication), but I didn't investigate it.
Milan, I guess you won't have a basic cli program with an evolution-ews
stub which simply authenticates against Exchange, would you?

Best regards

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS stpped working after Exchange migration from 2013 to 2016

2016-12-06 Thread Milan Crha
On Mon, 2016-12-05 at 18:03 -0300, Eduardo Trápani wrote:
> $ rm -rf .config/evolution
> $ rm -rf .cache/evolution

Hi,
removing those files is not a good idea when background evolution-data-
server processes are running. Much easier is to open the evolution and
delete the account from there.

> $ CAMEL_DEBUG="all" LANG=en_US.UTF8 evolution

Using CAMEL_DEBUG=all is usually useless, because it gives too much
output from the database access.

Try the debugging for the evolution-ews itself, which is:

   $ EWS_DEBUG=2 evolution

> (evolution:21945): camel-ews-provider-WARNING **: Unable to fetch
> the folder hierarchy: Authentication failed :289

I recall some oddity since updating samba to 4.5.0 or something around.
It provides ntlm_auth (here at /usr/bin/ntlm_auth), which is used by
libsoup, which evolution-ews uses to connect to the server. The file is
a helper and the evolution-ews can work also without it. Try to rename
it, whether anything changes. I would also verify that a correct
authentication method is setup in the evolution-ews account
(NTLM/Basic/Kerberos). It depends which of them you use and which is
supported by the server. Some parts (for example address book part) can
require certain authentication types on its own. The server advertises
which authentication methods are supported, thus you can see it in the
EWS_DEBUG=2 log (search for WWW-Authenticate headers in the log).

Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS stpped working after Exchange migration from 2013 to 2016

2016-12-05 Thread Michael Hirmke
Hi Eduardo,

>Hi,

>I was using evolution-ews without problems, until the server was
>migrated to Exchange 2016.

I don't know where your problem may stem from, but in my environment
evolution ews has no problems connecting to an Exchange 2016 server.
I started using Evolution after migrating to Exchange 2016, though.

[...]

Evolution versions here are 3.20.5 and 3.22.5, but 3.18.x also worked.
Exchange version ist 2016 CU1.

Bye.
Michael.
-- 
Michael Hirmke
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews 3.16.5: stale folder

2016-10-13 Thread Michael Hirmke
Hi Milan,

>On Thu, 2016-10-13 at 09:59 +0200, Michael Hirmke wrote:
>> How can I get rid of these folders?

>   Hi,
>it should be automatic, but, well... Stop the evolution and delete
>~/.cache/evolution/mail//
>directory, where is a local copy of the server content. Then when you
>run the evolution again it'll fetch the folder information and such
>from scratch.

ok :)
I thought, I could perhaps delete it with a single sql command.
I didn't have the time to have a closer look to the database structure,
though.

>> And how can I configure evolution ews to deal with folder names like
>> this?

>That's pretty long time since a fix for:
>https://bugzilla.gnome.org/show_bug.cgi?id=738093
>When you're talking about it, I see it stopped working (this is 3.22.1
>here). I'll reopen the bug report.

Thx!

>   Bye,
>   Milan

Bye.
Michael.
-- 
Michael Hirmke
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews 3.16.5: stale folder

2016-10-13 Thread Milan Crha
On Thu, 2016-10-13 at 09:59 +0200, Michael Hirmke wrote:
> How can I get rid of these folders?

Hi,
it should be automatic, but, well... Stop the evolution and delete
~/.cache/evolution/mail//
directory, where is a local copy of the server content. Then when you
run the evolution again it'll fetch the folder information and such
from scratch.

> And how can I configure evolution ews to deal with folder names like
> this?

That's pretty long time since a fix for:
https://bugzilla.gnome.org/show_bug.cgi?id=738093
When you're talking about it, I see it stopped working (this is 3.22.1
here). I'll reopen the bug report.
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews: NTLM authentication fails while basic auth or ntlm with curl is working

2016-04-26 Thread Milan Crha
On Mon, 2016-04-25 at 15:30 +0200, Torsten Krah wrote:
> So is there already some fix for that so i can report an issue to
> ubuntus bugtracker to get this fixed there too?

Hi,
possibly yes. Just note that the fix comes to libsoup and evolution-
ews, not to samba, which provides that /usr/bin/ntlm_auth binary. Your
ancient evolution-ews might be fine, though, thus only libsoup would be
patched for your distribution. I think.

The reason why the virtual machine worked, but your real did not, would
be that you didn't have installed a package which provides the
/usr/bin/ntlm_auth file in the virtual machine. For example Fedora has
it packaged as part of the samba-winbind-clients, thus users whom do
not have that package installed are fine.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews: NTLM authentication fails while basic auth or ntlm with curl is working

2016-04-25 Thread Torsten Krah
Hi,

should have read the archives before posting, seems this is already
known. The workaround from:

Can not logon to Exchange account suddenly?

to rename ntlm_auth binary makes ntlm working again.

So is there already some fix for that so i can report an issue to
ubuntus bugtracker to get this fixed there too?

Cheers

Torsten

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-EWS GetUserPhoto?

2016-03-29 Thread Paul Stejskal
Awesome. Let me compile and see how it runs. Thank you.
On Mar 29, 2016 1:38 AM, "Milan Crha"  wrote:

> On Thu, 2016-03-24 at 14:49 +, Dan MacDonald wrote:
> > Is fetching user photos supposed to work for Evo Contacts with Office
> > 365?
>
> Hi,
> yes, it is. I do not expect them disabling any particular parts of the
> EWS protocol on that server.
>
> The latest related change landed for evolution-ews 3.20.0:
> https://git.gnome.org/browse/evolution-ews/commit/?id=a36e18ae1b
>
> Bye,
> Milan
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list
>
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-EWS GetUserPhoto?

2016-03-29 Thread Milan Crha
On Thu, 2016-03-24 at 14:49 +, Dan MacDonald wrote:
> Is fetching user photos supposed to work for Evo Contacts with Office
> 365?

Hi,
yes, it is. I do not expect them disabling any particular parts of the
EWS protocol on that server.

The latest related change landed for evolution-ews 3.20.0:
https://git.gnome.org/browse/evolution-ews/commit/?id=a36e18ae1b

Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-EWS GetUserPhoto?

2016-03-24 Thread Dan MacDonald
Is fetching user photos supposed to work for Evo Contacts with Office 365?

On Thu, Mar 24, 2016 at 11:53 AM, Paul Stejskal 
wrote:

> Exchange photos displaying in messages. Like Outlook.
> On Mar 24, 2016 3:16 AM, "Milan Crha"  wrote:
>
>> On Wed, 2016-03-23 at 12:44 -0500, Paul Stejskal wrote:
>> > Hello team. I was wondering how hard it would be to implement
>> > GetUserPhoto for Exchange 2013?
>>
>> Hello,
>> what part you'd like to use it for, please? [1]
>> Bye,
>> Milan
>>
>> [1]
>> https://msdn.microsoft.com/EN-US/library/jj190905%28v=exchg.150%29.aspx#bk_EWS
>> ___
>> evolution-list mailing list
>> evolution-list@gnome.org
>> To change your list options or unsubscribe, visit ...
>> https://mail.gnome.org/mailman/listinfo/evolution-list
>>
>
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list
>
>
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-EWS GetUserPhoto?

2016-03-24 Thread Paul Stejskal
Exchange photos displaying in messages. Like Outlook.
On Mar 24, 2016 3:16 AM, "Milan Crha"  wrote:

> On Wed, 2016-03-23 at 12:44 -0500, Paul Stejskal wrote:
> > Hello team. I was wondering how hard it would be to implement
> > GetUserPhoto for Exchange 2013?
>
> Hello,
> what part you'd like to use it for, please? [1]
> Bye,
> Milan
>
> [1]
> https://msdn.microsoft.com/EN-US/library/jj190905%28v=exchg.150%29.aspx#bk_EWS
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list
>
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution-EWS GetUserPhoto?

2016-03-24 Thread Milan Crha
On Wed, 2016-03-23 at 12:44 -0500, Paul Stejskal wrote:
> Hello team. I was wondering how hard it would be to implement
> GetUserPhoto for Exchange 2013?

Hello,
what part you'd like to use it for, please? [1]
Bye,
Milan

[1] 
https://msdn.microsoft.com/EN-US/library/jj190905%28v=exchg.150%29.aspx#bk_EWS
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews: custom SMTP server

2016-03-03 Thread Milan Crha
On Wed, 2016-03-02 at 22:37 +, Johnson, Brett E (HPE Linux
Enablement) wrote:
> It's a horrible kludge, but I've solved this problem by setting up a
> ghost IMAP/SMTP account connecting to exchange, and having the same email 
> address.

Hi,
you are right, this is the way to achieve it from UI. Maybe a slightly
better option would be to define the account as None/SMTP, not
IMAP/SMTP, thus having a send-only account.

Setting the EWS to use a SMTP server from UI is not possible, though it
could be done manually by playing with underlying files. If you check
the content of ~/.config/evolution/sources, then you can find there
several .source files which contain "[Mail Transport]" (quotes for
clarity only) strings/sections. If you have configured one EWS account
and one SMTP account, then there will be two of them, one with

   [Mail Transport]
   BackendName=ews

and the other with
   
   [Mail Transport]
   BackendName=smtp

This defines what backend is used for message sending. The EWS backend
doesn't have any other settings, thus the file is pretty small, while
the SMTP backend has additional [Authentication] and [Security]
sections, which define where to connect and so on.

If you change the BackendName from the "ews" to "smtp" and copy the
[Authentication] and [Security] sections to the EWS file (and keep the
rest of the EWS file as it is), then the UI might use SMTP for sending,
even you'd not be able to change any setting of the SMTP server from
the UI.

Please note that it's a workaround, you'd be playing with underlying
and private files of the evolution-data-server, and you should ideally
do that when no other evolution process is running (there are couple
background processes, see `ps ax | grep evolution`). If anything would
go wrong, then delete the account from UI and reconfigure it from
scratch. The steps above are also supposed to work, but it's untested.

Maybe an enhancement request to be able to define a SMTP server for
evolution-ews accounts filled in https://bugzilla.gnome.org would make
sense.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews: custom SMTP server

2016-03-02 Thread Johnson, Brett E (HPE Linux Enablement)
On Wed, 2016-03-02 at 21:38 +0100, Vidar Evenrud Seeberg wrote:
> Hi all!
> 
> Evolution 3.18.5.1 in Manjaro 16.02 Cinnamon
> 
> Is it possible to use/configure a custom SMTP server when connecting to 
> MS Exchange using evolution-ews?

It's a horrible kludge, but I've solved this problem by setting up a ghost
IMAP/SMTP account connecting to exchange, and having the same email address.
Then in Preferences/Composer Preferences/Send Account, I add all of my
msexchange folders to the "Use for Folders" list for that account.  That way,
whenever I reply to an email from any of those folders, the ghost/SMTP account
is selected, and the email gets sent via SMTP.  If you click "New", you have to
remember to select the ghost account in the "From" menu.

-- 
Brett Johnson
"Wise men talk because they have something to say; fools, because they have to
 say something."
   ~~ Plato

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews? message status problem

2015-10-29 Thread Milan Crha
On Tue, 2015-10-27 at 21:55 +0300, Danila Reznichuk wrote:
> For sure i performed clean install Ubuntu 14.04 server and compiled
> evolution 3.18.1

Hi,
looking into the SyncFolderItemsResponse messages, evolution-ews
received read/unread changes properly, like here:
  

  
  true

  
and later here:
  

  
  false

  
but didn't propagate it correctly to the UI. I tried with a slightly
older Exchange 2010 server than you have, but also with an Exchange
2013 server. I noticed that the server sometimes claims no change when
the evolution asks for the changes, but not always.

Would you mind to open a bug report against evolution-ews in the GNOME
bugzilla, please?
https://bugzilla.gnome.org/enter_bug.cgi?product=evolution-ews
We may continue there.

Thanks and bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews? message status problem

2015-10-26 Thread Milan Crha
On Fri, 2015-10-23 at 22:10 +0300, Danila Reznichuk wrote:
> This is not a shared mailbox, if you mean in ms exchange style
> This is user's mailbox. I have second ews account and i authorize as
> user of this mailbox

Hi,
okay, it's not that common, but it is available. I wasn't sure which
method you use.

> Any changes made by my colleagues, or by me in evolution 3.10 (from
> Ubuntu repositories) don't sync in 3.18.1
> If i move mail to subfolder, it appears there, but don't remove from
> inbox

Could you run evolution 3.18.1 from a terminal with the logging on:
   $ EWS_DEBUG=2 evolution &>log.txt

Then let it do its after-run duties and, once the log will stop
growing, try to reproduce the issue with the steps you gave? That is:
a) make a change in the account from another instance, if it's in
   the evolution, then move to a different folder there, thus it's
   ensured the changes will be saved to the server
b) move to a different folder and back in the evolution 3.18.1 as well,
   which will cause update of the folder content.

If you mark the place in the log.txt file before this test start, then
you should see what was added into the log, and eventually also see
that the evolution downloaded any changes, or that the server returned
no changes for this account/folder. The later might not be it,
especially if 3.10.x works as expected, because both are using the same
protocol (both are talking to the server the same way). That might mean
that there's an issue in the evolution-ews 3.18.1 version.
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews? message status problem

2015-10-25 Thread Ángel González
Danila Reznichuk wrote:
> Any changes made by my colleagues, or by me in evolution 3.10 (from
> Ubuntu repositories) don't sync in 3.18.1
> If i move mail to subfolder, it appears there, but don't remove from
> inbox
> 
> It seems like i was wrong about subfolder synchronization, because
> messages don't update too
> 
> The only thing i noticed, that when i read mail in my account in 3.10
> i have about 10 minutes delay before 3.18.1 mark this message unread
> I set check mail option for 2 minutes, but even f5 don't work, it
> just
> show new messages
> 

What are your colleagues using for reading the email? Your last message
remembered me the problem with evolution (3.10 I think) not saving the
status of IMAP messages immediately (you can use the trick of changing
to another folder). So it may not be a problem with 3.18 but with 3.10…


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews? message status problem

2015-10-23 Thread Danila Reznichuk
On Ср., 2015-10-21 at 11:51 +0200, Milan Crha wrote:
> On Tue, 2015-10-20 at 14:04 +, Danila Reznichuk wrote:
> > It's very interesting but in subfolders i see actual information
> 
>   Hi,
> the shared Inbox is not treated any differently, could it be that the
> server doesn't report the change there? What if you mark one message
> read, then move to another folder and back? It'll store the change to
> the server, and when you come back it'll update current status of the
> whole folder.
> 
> I know that the Exchange servers have an option to store read statuses
> per user, it's for public folders for sure. Shared folders might
> require proper Permissions for the users.
> 
> Could you ask one of your colleagues to do another change in the Inbox,
> not only changing the read/unread flag on one message, but set a label
> on it, or delete one message, or add a new message (copy to that folder
> a new test message) - to verify whether other changes are recognized by
> your Evolution?
>   Bye,
>   Milan
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

This is not a shared mailbox, if you mean in ms exchange style
This is user's mailbox. I have second ews account and i authorize as
user of this mailbox

Any changes made by my colleagues, or by me in evolution 3.10 (from
Ubuntu repositories) don't sync in 3.18.1
If i move mail to subfolder, it appears there, but don't remove from
inbox

It seems like i was wrong about subfolder synchronization, because
messages don't update too

The only thing i noticed, that when i read mail in my account in 3.10
i have about 10 minutes delay before 3.18.1 mark this message unread
I set check mail option for 2 minutes, but even f5 don't work, it just
show new messages



-- 
Danila Reznichuk 

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews? message status problem

2015-10-21 Thread Milan Crha
On Tue, 2015-10-20 at 14:04 +, Danila Reznichuk wrote:
> It's very interesting but in subfolders i see actual information

Hi,
the shared Inbox is not treated any differently, could it be that the
server doesn't report the change there? What if you mark one message
read, then move to another folder and back? It'll store the change to
the server, and when you come back it'll update current status of the
whole folder.

I know that the Exchange servers have an option to store read statuses
per user, it's for public folders for sure. Shared folders might
require proper Permissions for the users.

Could you ask one of your colleagues to do another change in the Inbox,
not only changing the read/unread flag on one message, but set a label
on it, or delete one message, or add a new message (copy to that folder
a new test message) - to verify whether other changes are recognized by
your Evolution?
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS not syncing calendar appointments

2015-10-09 Thread Andre Klapper
On Thu, 2015-10-08 at 14:35 -0500, Juan Gabriel Ossa wrote:
> I'm experiencing a weird behaviour in my Evolution + EWS set up.
> When I create an new appointment using the Evolution interface the
> appointment appears in the outlook web interface. But when I create
> the appointment using the outlook web interface the appointment
> doesn't appear in the evolution interface.

Please provide version information.

andre
-- 
Andre Klapper  |  ak...@gmx.net
http://blogs.gnome.org/aklapper/


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS not syncing calendar appointments

2015-10-09 Thread Milan Crha
On Thu, 2015-10-08 at 14:35 -0500, Juan Gabriel Ossa wrote:
> What can I do?

Hi,
please answer Andre's request first.

Then, it depends, because if your server supports notifications, and
the evolution version you have knows how to work with notifications,
and you have notifications enabled, then the event created in the
outlook can appear more or less instantly. Otherwise a manual refresh
of the calendar is required, which can be found in a context menu above
the respective calendar. Or wait until the refresh interval elapses.

If this is not working, then the issue is something else than I thought
of.
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution (EWS) complains that database disk image is malformed

2015-07-20 Thread Robert Munteanu
On Mon, Jul 20, 2015 at 12:56 PM, Milan Crha mc...@redhat.com wrote:
 On Mon, 2015-07-20 at 12:40 +0300, Robert Munteanu wrote:
 I have found that some people had this problem and fixed it by
 running

 sqlite3 $dbfile pragma integrity_check;

 for all the folder.db files belonging to evolution. That did not work
 for me.

 Hi,
 when you say for all the folders.db files, in which directories do
 you mean? The evolution-ews has its own stored in
 ~/.cache/evolution/mail/ews-account-uid/

Ah, I was looking under ~/.local/share/evolution, as I did find some
folder.db files there

robert@rombert:~/.local/share/evolution find -name '*.db'
./addressbook/system/contacts.db
./mail/local/folders.db
./mail/vfolder/folders.db

Running it for the files under ~/.cache/evolution/mail cleary
indicated the corrupt file

 On the other hand, UNIQUE constraint failed: folders.folder_name
 error looks like the problem here. If the fix with the pragma command
 will not work, then just delete the folders.db file and let the
 evolution-ews recreated it from scratch.

OK, did that, hopefully it will be a permanent fix.

Thanks,

Robert
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution (EWS) complains that database disk image is malformed

2015-07-20 Thread Milan Crha
On Mon, 2015-07-20 at 12:40 +0300, Robert Munteanu wrote:
 I have found that some people had this problem and fixed it by 
 running
 
 sqlite3 $dbfile pragma integrity_check;
 
 for all the folder.db files belonging to evolution. That did not work 
 for me.

Hi,
when you say for all the folders.db files, in which directories do
you mean? The evolution-ews has its own stored in
~/.cache/evolution/mail/ews-account-uid/

On the other hand, UNIQUE constraint failed: folders.folder_name
error looks like the problem here. If the fix with the pragma command
will not work, then just delete the folders.db file and let the
evolution-ews recreated it from scratch.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-03-10 Thread Jasper Van Der Westhuizen



I see, with 3.10.3, the secure HTTP is used for evolution-ews, because
when I fill it, I cannot connect to my Exchange server, but without it I
can. I also noticed that the 'Fetch URL' button doesn't use expected
addresses, thus try to skip that part and just continue in the wizard.
It doesn't use the right addresses at least to me. This might be
unrelated to your issue.
Bye,
Milan



Evoltion 3.11.91-236.6 with EWS 3.11.91-77.3 fixed my problem.

Regards
Jasper
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-17 Thread Milan Crha
On Fri, 2014-02-14 at 09:17 +0100, Patryk Benderz wrote:
 Can I assume this setting will let me reach exchange servers through
 RPC over HTTP?

Hi,
unfortunately not, RPC-over-HTTP is a protocol related to Samba, and
then OpenChange, and then finally evolution-mapi - it's not a proxy
related thing at all.

If I can suggest, if you've new-enough Exchange server (2007+), try to
switch to evolution-ews, which is actively developed, with compare of
evolution-mapi in a maintenance mode only, to have a replacement for
evolution-exchange, thus to be able to connect to Exchange 2003 servers.
Of course, it depends whether your admins also enabled EWS on the
server, but supposing that the latest Outlook may also use EWS protocol,
then they should have it enabled. The 2013 Exchange servers have MAPI
disabled by default, it works only with your-mentioned RPC-over-HTTP
(which might be probably the reason why you ask this).
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-17 Thread Patryk Benderz
[cut]
 If I can suggest, if you've new-enough Exchange server (2007+), try to
 switch to evolution-ews,
But I already use EWS, and I am behind a proxy. And my outlook 2010 is
using RPC Proxy to connect to Exchange 2010. So it seems to me that in
my case EWS is on RPC channel, right? How about that?
[cut]

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-17 Thread Milan Crha
On Mon, 2014-02-17 at 13:56 +0100, Patryk Benderz wrote:
 [cut]
  If I can suggest, if you've new-enough Exchange server (2007+), try to
  switch to evolution-ews,
 But I already use EWS, and I am behind a proxy. And my outlook 2010 is
 using RPC Proxy to connect to Exchange 2010. So it seems to me that in
 my case EWS is on RPC channel, right? How about that?
 [cut]

Hi,
nope, EWS stands for Exchange Web Services, it's a protocol which
deprecates MAPI with its RPC (Remote Procedure Call) API, and uses only
HTTPS calls (Web calls, if you prefer). Those two things are completely
different, in many ways.

RPC-over-HTTP (aka Outlook Anywhere) allows tunneling RPC calls through
HTTP(s) layer.

The evolution-ews works pretty good with Exchange 2010 servers.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-17 Thread Patryk Benderz
[cut]
 nope, EWS stands for Exchange Web Services, it's a protocol which
 deprecates MAPI with its RPC (Remote Procedure Call) API, and uses only
 HTTPS calls (Web calls, if you prefer). Those two things are completely
 different, in many ways.
 
 RPC-over-HTTP (aka Outlook Anywhere) allows tunneling RPC calls through
 HTTP(s) layer.
 The evolution-ews works pretty good with Exchange 2010 servers.
Hi Milan,
1) I know from my Exchange admins that we are connecting to Exchange
through EWS.

2) on my windows machine when I go to Control PanelMailemail
accountsselect Exchange ServerChangeMore settingsselect tab
Connectionsclick button Proxy settings...in the field with proxy
address i see string 'rpc': https://rpc.my.domain;. 

Thus, as a result of 1+2 I assumed my setup is EWS through
RPC_over_HTTP, via proxy. Is that possible?

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-17 Thread Milan Crha
On Mon, 2014-02-17 at 18:05 +0100, Patryk Benderz wrote:
 1) I know from my Exchange admins that we are connecting to Exchange
 through EWS.
 
 2) on my windows machine when I go to Control PanelMailemail
 accountsselect Exchange ServerChangeMore settingsselect tab
 Connectionsclick button Proxy settings...in the field with proxy
 address i see string 'rpc': https://rpc.my.domain;. 
 
 Thus, as a result of 1+2 I assumed my setup is EWS through
 RPC_over_HTTP, via proxy. Is that possible?

Hi,
well, my understanding of the thing is that RPC-over-HTTP [1] is for
MAPI protocol, not for EWS, because EWS uses SOAP, not RPC. I would not
be surprised if your Outlook uses MAPI in the background, not EWS [2].
Ask your admins on a connection point/address for EWS, and then try to
create an evolution-ews account in evolution with that address filled.
Do not be bothered with non-functional Fetch URL, the server can have
disabled autodiscovery.
Bye,
Milan

[1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa375384%
28v=vs.85%29.aspx

[2] I'm pretty sure that Outlook 2007 uses MAPI protocol exclusively,
while Outlook 2010 may have somewhere an option to switch between EWS
and MAPI, though I do not have available the Outlook 2010 version, to
guide you more precisely. On the other hand, the Outlook 2013 may use as
its primary protocol EWS.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-14 Thread David Woodhouse
On Thu, 2014-02-13 at 13:01 +0100, Patryk Benderz wrote:
 what about setups with multiple email accounts, where EWS email account
 needs proxy, but I have several other accounts (pop3, imap) which needs
 direct internet access?

You're describing it wrong.

What you actually have is a network environment where some servers need
a proxy to access them, and other servers do not.

This kind of thing is usually handled automatically by a PAC file, which
is a JavaScript file that basically answers the question what proxy do
I use for this URL?.

These PAC files (or any manual override) are a per-network-connection
thing. Often a DHCP server will hand you the location of a file. Or
you'll automatically 'discover' it by looking for http://wpad/wpad.dat
and finding it in your DNS search domain. Or a VPN server might hand you
one along with the IP configuration.

The correct answer here is for NetworkManager to handle this information
properly for the currently-connected networks, and hand it to the
PacRunner dæmon. Then processes like Evolution and *anything* else which
might need to use a proxy just send a DBus message to PacRunner, saying
what proxy do I use for this URL?. And the PAC file has already been
loaded into the JavaScript interpreter and you get a nice fast answer.
(Without the idiocy of doing the discovery and loading the JS
interpreter over and over again in the context of *ever* application
that wants to check if it needs a proxy, which is what the original
libproxy library did, and is why we have evil hacks in glib to avoid it)

Matthew, if you're looking at proxy stuff, please make sure you keep the
'correct' fix in mind, and you know how we get from here to there. I
appreciate that we might want local hacks in Evolution to work around
the fact that this still isn't working right in NetworkManager — but
let's make sure that it's easy to move to the correct fix when it's
possible to do so.

So perhaps we might want Evolution's default behaviour to be to *try*
sending the PacRunner request, assuming that things are working sanely,
and to have a manual override for the cases where that doesn't work.

-- 
David WoodhouseOpen Source Technology Centre
david.woodho...@intel.com  Intel Corporation


smime.p7s
Description: S/MIME cryptographic signature
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-14 Thread Matthew Barnes
On Fri, 2014-02-14 at 11:45 +, David Woodhouse wrote:
 Matthew, if you're looking at proxy stuff, please make sure you keep the
 'correct' fix in mind, and you know how we get from here to there. I
 appreciate that we might want local hacks in Evolution to work around
 the fact that this still isn't working right in NetworkManager — but
 let's make sure that it's easy to move to the correct fix when it's
 possible to do so.

PacRunner is supported as an alternative to manual configuration.

Matthew Barnes

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-13 Thread Jasper Van Der Westhuizen



On Wed, 2014-02-12 at 10:53 +0100, Milan Crha wrote:


On Tue, 2014-02-11 at 15:00 +, Jasper Van Der Westhuizen wrote:
 My question is has anyone ever come across this before? Should
 Evolution EWS not work perfectly via HTTPS proxy? Is this an Evolution
 EWS problem or a Proxy setup issue?

 I am running Evoltion 3.10.2-9.1 with Evolution-ews 3.10.2-10.1 on
 OpenSuSE 13.1.

Hello,
evolution-ews 3.10.x uses proxy settings from within Evolution, at
Edit-Preferences-Network Preferences. I do not know from your e-mail
where you entered the proxy settings, but trying to use a manual setup
in Evolution itself should help.
Bye,
Milan



Hi Milan

Yes, that is exactly where I set up the proxy settings. I am not able to access 
the URL outlook.office365.com cloud server via proxy. All the other users that 
make use of Outlook and the same proxy don't have any problems.

Regards
Jasper
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-13 Thread Patryk Benderz
[cut]
 evolution-ews 3.10.x uses proxy settings from within Evolution, at
 Edit-Preferences-Network Preferences. I do not know from your e-mail
 where you entered the proxy settings, but trying to use a manual setup
 in Evolution itself should help.
Hi Milan,
what about setups with multiple email accounts, where EWS email account
needs proxy, but I have several other accounts (pop3, imap) which needs
direct internet access?

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-13 Thread Milan Crha
On Thu, 2014-02-13 at 13:01 +0100, Patryk Benderz wrote:
 what about setups with multiple email accounts, where EWS email account
 needs proxy, but I have several other accounts (pop3, imap) which needs
 direct internet access?

Hi,
I think Matthew did some steps towards it for 3.12.0, but I do not know
in what extent. Maybe he can answer this better.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-13 Thread Milan Crha
On Wed, 2014-02-12 at 09:58 +, Jasper Van Der Westhuizen wrote:
 Yes, that is exactly where I set up the proxy settings. I am not able
 to access the URL outlook.office365.com cloud server via proxy. All
 the other users that make use of Outlook and the same proxy don't have
 any problems.

Hi,
OK, just in case, you setup a manual proxy, and fill some proxy server
for the secure HTTP protocol, and then try to connect to an EWS
account? That's how it should work (maybe after evolution's restart,
just in case).

When you run evolution from a terminal like this:
   $ EWS_DEBUG=2 evolution

then you'll see all the raw communication between evolution and the
exchange server, and possibly also the reason why it cannot connect and
whether it uses the proxy or not. There is still a chance that your
Outlook users doesn't use EWS protocol, but MAPI (I have no idea how
office365.com works, what protocols are enabled there and where the EWS
server-side listens, to be honest).

I see, with 3.10.3, the secure HTTP is used for evolution-ews, because
when I fill it, I cannot connect to my Exchange server, but without it I
can. I also noticed that the 'Fetch URL' button doesn't use expected
addresses, thus try to skip that part and just continue in the wizard.
It doesn't use the right addresses at least to me. This might be
unrelated to your issue.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-13 Thread Matthew Barnes
On Thu, 2014-02-13 at 20:41 +0100, Milan Crha wrote:
 On Thu, 2014-02-13 at 13:01 +0100, Patryk Benderz wrote:
  what about setups with multiple email accounts, where EWS email account
  needs proxy, but I have several other accounts (pop3, imap) which needs
  direct internet access?
 
   Hi,
 I think Matthew did some steps towards it for 3.12.0, but I do not know
 in what extent. Maybe he can answer this better.

Right, Evolution 3.12 will let you apply alternate proxy settings to
particular accounts.  I rewrote the Network Preferences page under
Edit - Preferences.

Matthew Barnes

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS and Squid proxy

2014-02-12 Thread Milan Crha
On Tue, 2014-02-11 at 15:00 +, Jasper Van Der Westhuizen wrote:
 My question is has anyone ever come across this before? Should
 Evolution EWS not work perfectly via HTTPS proxy? Is this an Evolution
 EWS problem or a Proxy setup issue?

 I am running Evoltion 3.10.2-9.1 with Evolution-ews 3.10.2-10.1 on
 OpenSuSE 13.1.

Hello,
evolution-ews 3.10.x uses proxy settings from within Evolution, at
Edit-Preferences-Network Preferences. I do not know from your e-mail
where you entered the proxy settings, but trying to use a manual setup
in Evolution itself should help.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews don't compile due to camel_store_noop_sync

2014-02-05 Thread erenoglu
On Tue, Feb 4, 2014 at 11:48 PM, Milan Crha [via Gnome Evolution - General]
ml-node+s1774414n465844...@n4.nabble.com wrote:

 On Tue, 2014-02-04 at 01:02 -0800, erenoglu wrote:

  This build was started with a fully cleaned up /opt/gnome and
  ~/checkout directories, so I don't know where is the issue.

 Hi,
 int that case you compile recent evolution-data-server with not recent
 enough evolution checkout. I do not use jhbuild at all, so I do not know
 how it does its checkouts, but if there is some misconfiguration what to
 download, then you might fix it there.

 By the way, simple `make uninstall`  `make clean`/`make distclean` in
 evolution* folders should do the trick too, without actually rebuilding
 everything.

 In any case, the error you face is often caused by linking different
 version of sources, while evolution* core projects highly depend on
 up-to-date checkouts.


Thanks a lot Milan for your comment. Actually this sheds the light, as I'm
checking out the webkit-composer branch of evolution, since this jhbuild
environment is to test the webkit composer and feedback the developer upon
a bug report discussion.

I'll wait for him to re-base his branch, then it shall work I hope.

In the meantime, if you would have any idea which patch removes this issue
in the normal evolution branch, I could try to manually apply it to the
webkit-composer.




--
View this message in context: 
http://gnome-evolution-general.1774414.n4.nabble.com/evolution-ews-don-t-compile-due-to-camel-store-noop-sync-tp4658411p4658451.html
Sent from the Gnome Evolution - General mailing list archive at Nabble.com.___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews don't compile due to camel_store_noop_sync

2014-02-05 Thread Milan Crha
On Tue, 2014-02-04 at 13:37 -0800, erenoglu wrote:

 Thanks a lot Milan for your comment. Actually this sheds the light, as
 I'm checking out the webkit-composer branch of evolution, since this
 jhbuild environment is to test the webkit composer and feedback the
 developer upon a bug report discussion. 

Hi,
aah, I see, then try this:
   $ cd .../git/checkout/of/evolution-data-server
   $ git clean -xfd
   $ git reset --hard e92f0fd7fb7fd67
 
which will switch eds to a commit which works with the webkit-composer
branch and then let jhbuild rebuild eds, evo and the others, only make
sure the jhbuild will not 'git pull' for you. There might be some
jhbuild foo to tell it to stay at that particular commit for
evolution-data-server. Do not forget to clean also the #$PREFIX, just in
case (`make uninstall` may do it for you, before calling `git clean
-xfd`).

Otherwise I agree, if it'll not work, or you cannot find how to do that,
then just wait for the rebase.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews don't compile due to camel_store_noop_sync

2014-02-04 Thread erenoglu
On Mon, Feb 3, 2014 at 11:49 AM, Milan Crha [via Gnome Evolution - General]
ml-node+s1774414n465843...@n4.nabble.com wrote:

 On Fri, 2014-01-31 at 20:54 +0400, Emre Erenoglu wrote:

  I'm trying to build master using jhbuild, but I'm hitting the below:
 

 Hi,
 usual problem with jhbuild is that it doesn't cleanup the $PREFIX on
 such changes, thus it let's you compile dependencies against old
 versions in $PREFIX. Just cleanup your $PREFIX and build from scratch,
 there is nothing wrong with the commit, as long as you use up-to-date
 evolution and other dependencies of the changed package
 (evolution-data-server in this case).


Hi Milan, now I tried to re-build again.

1) It got stuck at webkit at/after line CXX libANGLE.la , I broke the build
and re-started it, it worked this time. Hope no issues due to this.

2) Then I got an error at assembly instructions (still webkit), I could not
copy the exact error, but I search some websites earlier and it seems this
happens only on 32bit builds. I managed to workaround this issue by
replacing all : q(newValue) lines in WTF/wtf/Atomic.h with :
r(newValue), so replace r by q.

I think it's time to move to 64 bit system. I'll do with Ubuntu 14.04.

3) Then I got stuck on libNDP dependency for NetworkManager. It does not
exist in Ubuntu. I had to compile and install from source .

4) And finally hit the same issue where I stopped.

  CC   libemail_engine_la-mail-vfolder.lo
mail-folder-cache.c: In function 'ping_store_exec':
mail-folder-cache.c:1275:3: error: implicit declaration of function
'camel_store_noop_sync' [-Werror=implicit-function-declaration]
   camel_store_noop_sync (m-store, cancellable, error);
   ^
mail-folder-cache.c:1275:3: warning: nested extern declaration of
'camel_store_noop_sync' [-Wnested-externs]
cc1: some warnings being treated as errors
make[3]: *** [libemail_engine_la-mail-folder-cache.lo] Error 1

This build was started with a fully cleaned up /opt/gnome and ~/checkout
directories, so I don't know where is the issue.


By the way, I'm not sure why you mention evolution-ews in the subject,

Mistake on my side, I was building evolution-ews but I did not recognize it
was pulling evolution as a dependency and the actual breakage is in
evolution indeed.

Br,
Emre




--
View this message in context: 
http://gnome-evolution-general.1774414.n4.nabble.com/evolution-ews-don-t-compile-due-to-camel-store-noop-sync-tp4658411p4658442.html
Sent from the Gnome Evolution - General mailing list archive at Nabble.com.___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews don't compile due to camel_store_noop_sync

2014-02-04 Thread Milan Crha
On Tue, 2014-02-04 at 01:02 -0800, erenoglu wrote:

 This build was started with a fully cleaned up /opt/gnome and
 ~/checkout directories, so I don't know where is the issue.

Hi,
int that case you compile recent evolution-data-server with not recent
enough evolution checkout. I do not use jhbuild at all, so I do not know
how it does its checkouts, but if there is some misconfiguration what to
download, then you might fix it there.

By the way, simple `make uninstall`  `make clean`/`make distclean` in
evolution* folders should do the trick too, without actually rebuilding
everything.

In any case, the error you face is often caused by linking different
version of sources, while evolution* core projects highly depend on
up-to-date checkouts.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews don't compile due to camel_store_noop_sync

2014-02-02 Thread Milan Crha
On Fri, 2014-01-31 at 20:54 +0400, Emre Erenoglu wrote:

 I'm trying to build master using jhbuild, but I'm hitting the below:
 

Hi,
usual problem with jhbuild is that it doesn't cleanup the $PREFIX on
such changes, thus it let's you compile dependencies against old
versions in $PREFIX. Just cleanup your $PREFIX and build from scratch,
there is nothing wrong with the commit, as long as you use up-to-date
evolution and other dependencies of the changed package
(evolution-data-server in this case).

By the way, I'm not sure why you mention evolution-ews in the subject,
when the failed package was evolution itself. Not that it changes
anything from the above :) (that's OK, you probably only overlooked the
compile error place).
Bye,
Milan


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS

2013-07-02 Thread Milan Crha
On Tue, 2013-07-02 at 09:17 +, Luis Filipe Costa Caldeira wrote:
 I have successfully configured Evolution-ews package with an Exchange
 2013 account. I can see my calendar and e-mail, but contacts say that
 I've got no permission to access it.
 Is contact viewing supported in that package?

Hi,
yes, it is. Do you get this error on a Contacts book, or on Global
Address List book? If the later, did you Fetch URL when in account
Properties? If so, does the OAB URL end with /oab.xml? And on
Receiving Options, can you Fetch List for your Global Address List?
What _exact_ value does it show in Select address list: combo?
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS

2013-07-02 Thread Milan Crha
On Tue, 2013-07-02 at 16:00 +, Luis Filipe Costa Caldeira wrote:
 I get this error on Contacts Book and on Global Address List book.
 I am for now, concerned with Contacts Book that have a SID
 {06967759-274D-40B2-A3EB-D7F9E73727D7} and does not have permissions
 to write in my contacts.

Hi,
on the first look, with no debugging done yet, I'd say it's your server
configuration, preventing from the write. I can be wrong, I use recent
evolution-ews here. You can try to run evolution-addressbook-factory
from a console and check its output, in case it'll shed a light on the
issue. You can do that like this:
a) close evolution
b) make sure there is no other evolution-addressbook-factory running
c) run it with EWS debugging on:
   $ EWS_DEBUG=2 /usr/libexec/evolution-addressbook-factory -w
d) once it'll write Server is up and running, run evolution:
   $ evolution -c contacts
e) open the Contacts in the view from the EWS account, maybe even try
   to add a new contact there, or edit an old contact.

The factory's console should show some activity, when you open the book
or do other operations with the EWS books.

By the way, can you write to your Contacts using OWA URL? It's usually
similar to EWS URL, its path is only /owa, like:
https://exchange.server.com/owa

Bye,
Milan

P.S.: List digests are unfortunate, because replying to whole digest
breaks threading. Please, either turn off digests for your account
(click the below list URL, login there and change the preference), or
reply to individual message in Evolution, which you can find when you
click the arrow above respective message, by choosing Reply to
all (personally, as I'm subscribed to this list, you can reply only to
the list itself). Thanks.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews - Exchange GAL possible issue?

2013-01-14 Thread Milan Crha
On Sun, 2013-01-13 at 08:23 -0600, Mike Hinz wrote:
 My OAB URL does indeed end with ./oab.xml   I've just now tried it
 again on a working account. Same thing, a pop-up dialog asked me for my 
 password
 but it always gives me password was incorrect even though it clearly is as 
 I'm
 copy/pasting it from a password manager.  

Hi,
hmm, it depends what
   $ EWS_DEBUG=2 evolution
prints for you. I'd go to Gnome's bugzilla and do the investigation
there, rather than through the mailing list.

 Thanks, I understand that behavior, but the default service filter is actually
 name contains.  Once I changed the filter to Email Begins With then I 
 could
 at least find someone in the GAL.  However, there seem to be issues with this
 at least in terms of functionality.  I note that the search only returns the 
 'Name' and 'Other Email' information.  I was expecting all the fields to be 
 returned.  
 I also note that if I attempt to copy the GAL search result to my Contacts, 
 that 
 operation fails with a 'Permission Denied'.  Being able to see the full 
 contact 
 details and add the entry with all the fields to Contacts is very useful
 as you then have the contact information available offline, etc.  Are 
 there any enhancements planned for this sort of functionality?

It's this one:
https://bugzilla.gnome.org/show_bug.cgi?id=677224
and there are more other GAL related requests/enhancements filled in the
bugzilla too.

Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews - Exchange GAL possible issue?

2013-01-13 Thread Mike Hinz

 Message: 5
 Date: Tue, 08 Jan 2013 11:27:51 +0100
 From: Milan Crha mc...@redhat.com
 To: evolution-list@gnome.org
 Subject: Re: [Evolution] evolution-ews - Exchange GAL possible issue?
 Message-ID: 1357640871.5693.18.camel@localhost
 Content-Type: text/plain; charset=UTF-8
 
   Hi,
 (see below)
 
 On Tue, 2012-12-25 at 17:49 -0600, Mike Hinz wrote:
  - One minor issue:  If I click 'Check for Supported Types' (for
  Authentication), that operation always fails with a 'Failed to query
  server for a list of supported authentication mechanisms.  Query for
  authentication types is not supported' message.
 
 The message is returned by evolution-ews, and it means it :)
 Evolution-ews doesn't support ask for supported authentication methods
 by the server, which is usually used to give you correct options for
 authentication.

Thanks very much for that bit of info.  I hadn't understood that.  

 
  - Under 'Receiving Options' if I check 'Cache offline address book' then
  click 'Fetch list', that operation causes an authentication request
  pop-up that wants my Exchange account pw.  I enter the requested
  password, but it fails to accept it no matter how many times I attempt
  to enter it.
 
 Hrm, does it do it even if you edit already created and otherwise
 working account? Does the OAB URL end with .../oab.xml? It should end
 with it, and I think you have it fixed in your version.

My OAB URL does indeed end with ./oab.xml   I've just now tried it
again on a working account. Same thing, a pop-up dialog asked me for my password
but it always gives me password was incorrect even though it clearly is as I'm
copy/pasting it from a password manager.  
 
  - If I go to Contacts, I can select my 'contacts' and can see whatever
  exists on the Exchange server.  However, when I select 'global address
  list' no entries appear.  Searching for a known entry also displays
  nothing.
 
 Unexpected, but correct by the code. The EWS GAL which is not cached
 offline (through OAB in the previous paragraph) can be only searched,
 and the search limitation is that it can be searched only on the EMail
 address, not on Name or other fields, thus it works in composer (which
 checks also in email field), but not in Contacts view when you search on
 other fields. Note the default filter is named Email begins with, thus
 it'll show you only contacts with the given prefix

Thanks, I understand that behavior, but the default service filter is actually
name contains.  Once I changed the filter to Email Begins With then I could
at least find someone in the GAL.  However, there seem to be issues with this
at least in terms of functionality.  I note that the search only returns the 
'Name' and 'Other Email' information.  I was expecting all the fields to be 
returned.  
I also note that if I attempt to copy the GAL search result to my Contacts, 
that 
operation fails with a 'Permission Denied'.  Being able to see the full contact 
details and add the entry with all the fields to Contacts is very useful
as you then have the contact information available offline, etc.  Are 
there any enhancements planned for this sort of functionality?

 
  - I also have noticed that the authentication doesn't seem to be
  retained properly by keyring most of the time when I start Evolution,
  I'm re-prompted for my Exchange password, although this is frustratingly
  inconsistent.  
 
 I guess the first prompt when you create the account is saved, but left
 for gone UID in the keyring. I'm not 100% sure, but if I recall
 correctly, then the disadvantage of 3.6 password prompts is that you are
 asked separately for each ESource you have, thus for each EWS calendar,
 for each EWS book (including GAL), and then for each Mail account (there
 is usually one). If you have other issue, like you told it to remember
 the password but it forgot it the next start (of evolution? or start of
 all evolution will no evolution (ps ax | grep evolution) processes
 running?), then it smells like a bug worth to be filled and

I'll keep trying to define exactly when and how this happens and if I can 
figure that
out precisely, 'll file a bug.  

Thanks for your help!

 investigated.
 
   Hope it helps,
   Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution-ews - Exchange GAL possible issue?

2013-01-08 Thread Milan Crha
Hi,
(see below)

On Tue, 2012-12-25 at 17:49 -0600, Mike Hinz wrote:
 - One minor issue:  If I click 'Check for Supported Types' (for
 Authentication), that operation always fails with a 'Failed to query
 server for a list of supported authentication mechanisms.  Query for
 authentication types is not supported' message.

The message is returned by evolution-ews, and it means it :)
Evolution-ews doesn't support ask for supported authentication methods
by the server, which is usually used to give you correct options for
authentication.

 - Under 'Receiving Options' if I check 'Cache offline address book' then
 click 'Fetch list', that operation causes an authentication request
 pop-up that wants my Exchange account pw.  I enter the requested
 password, but it fails to accept it no matter how many times I attempt
 to enter it.

Hrm, does it do it even if you edit already created and otherwise
working account? Does the OAB URL end with .../oab.xml? It should end
with it, and I think you have it fixed in your version.

 - If I go to Contacts, I can select my 'contacts' and can see whatever
 exists on the Exchange server.  However, when I select 'global address
 list' no entries appear.  Searching for a known entry also displays
 nothing.

Unexpected, but correct by the code. The EWS GAL which is not cached
offline (through OAB in the previous paragraph) can be only searched,
and the search limitation is that it can be searched only on the EMail
address, not on Name or other fields, thus it works in composer (which
checks also in email field), but not in Contacts view when you search on
other fields. Note the default filter is named Email begins with, thus
it'll show you only contacts with the given prefix.

 - I also have noticed that the authentication doesn't seem to be
 retained properly by keyring most of the time when I start Evolution,
 I'm re-prompted for my Exchange password, although this is frustratingly
 inconsistent.  

I guess the first prompt when you create the account is saved, but left
for gone UID in the keyring. I'm not 100% sure, but if I recall
correctly, then the disadvantage of 3.6 password prompts is that you are
asked separately for each ESource you have, thus for each EWS calendar,
for each EWS book (including GAL), and then for each Mail account (there
is usually one). If you have other issue, like you told it to remember
the password but it forgot it the next start (of evolution? or start of
all evolution will no evolution (ps ax | grep evolution) processes
running?), then it smells like a bug worth to be filled and
investigated.

Hope it helps,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS stopped suddenly

2012-08-20 Thread Milan Crha
On Fri, 2012-08-17 at 21:45 -0800, portsample wrote:
  Authorization: Basic [myc\jrlewis:]

 Any suggestions regarding what the problem might be?
 Whats'up with the  HTTP/1.1 401 Unauthorized?

Hi,
I suppose your server requires NTLM authentication, not Basic. That's
why you get the Unauthorized response. You get these even with NTLM, but
the second attempt (restart of the request) succeeds - supposing there
is filled the right password.

What is your evolution/evolution-ews/libsoup version, please? Support
for basic authentication (there are servers which requires it, instead
of NTLM), was added only recently, for 3.4.3 or 3.4.4) and can be
changed in account preferences. Note, such change requires restart of
evolution.
Hope that helps,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS

2012-06-07 Thread Spencer Caplin
Hi

I have evolution-ews 3.2.3 installed running opensuse 12.1 x86_64.

I've tried the using just username.surname and that's failed with

---(evolution:4022): camel-ews-provider-WARNING **: Unable to fetch the
folder hierarchy: No response: Internal Server Error :287

This is why I've been trying putting the username into the Host URL as well.

It seems to be the evolution-ews connector doesn't like a Host URL address
with 2 x @ signs. As getting this error

---(evolution:4122): camel-ews-provider-WARNING **: Unable to fetch the
folder hierarchy: No response: Cannot resolve hostname
(company@outlook.company.net) :287

As I said I know my email server supports the EWS protocol as via frirefox
and thunderbird
https://firstname.surn...@company.net@outlook.compnay.net/EWS/Exchange.asmx
works.

Thanks again for the help as so keen to get this to work as the final piece
to allow me to move from Windows to Linux, I know I could use imap but the
biggest issue is my contacts, I want to maintain those in exchange as
central storage point and sync with my mobile devices and other enterprise
services.

Thanks

Spencer

-Original Message-
From: evolution-list-boun...@gnome.org
[mailto:evolution-list-boun...@gnome.org] On Behalf Of Milan Crha
Sent: 04 June 2012 08:12
To: evolution-list@gnome.org
Subject: Re: [Evolution] Evolution EWS

On Fri, 2012-06-01 at 20:41 +0100, Spencer Caplin wrote:

 In a browser I can get to (once
 authenticated)https://emailserver.com/ews/exchange.asmx. However when 
 I open evolution and setup using the same host url i get No Response:
 Internal Server Error. It doesn't ask me to authenticate so not sure 
 whats happening ? where would i find logs for the connection and what 
 its trying to do ?

Hi,
run evolution as follows, which will show all the communication between
evolution and the server on console:
   $ EWS_DEBUG=2 evolution

 Code:
 https://firstname.surn...@company.co.uk@outlook.company.co.uk/EWS/Exch
 ange.asmx with username of firstname.surn...@company.co.uk and work 
 fine, so i know EWS works and is support from my exchange server.

I would try to write
  firstname.surn...@company.co.uk
in Username entry in account Preferences, and
  https://outlook.company.co.uk/EWS/Exchange.asmx
in Host URL entry, and save these settings. Note such change requires
evolution's restart, thus do not forget to close evolution and run it again,
which will use these new settings.

By the way, what is the version of evolution and evolution-ews?
Bye,
Milan


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS

2012-06-07 Thread Pete Biggs

Please don't top post - it makes things MUCH harder to comment on and
follow who wrote what.

On Thu, 2012-06-07 at 11:50 +0100, Spencer Caplin wrote:
 Hi
 
 I have evolution-ews 3.2.3 installed running opensuse 12.1 x86_64.
 
 I've tried the using just username.surname and that's failed with
 
 ---(evolution:4022): camel-ews-provider-WARNING **: Unable to fetch the
 folder hierarchy: No response: Internal Server Error :287

Did you try first.surn...@company.net as the username?

 
 This is why I've been trying putting the username into the Host URL as well.
 
 It seems to be the evolution-ews connector doesn't like a Host URL address
 with 2 x @ signs.

I'm not surprised by that - I suppose it depends on which end of the URL
it starts at to search for the username / hostname split.


 
 -Original Message-
 From: evolution-list-boun...@gnome.org
 [mailto:evolution-list-boun...@gnome.org] On Behalf Of Milan Crha
 Sent: 04 June 2012 08:12
 To: evolution-list@gnome.org
 Subject: Re: [Evolution] Evolution EWS
 

 I would try to write
   firstname.surn...@company.co.uk
 in Username entry in account Preferences, and
   https://outlook.company.co.uk/EWS/Exchange.asmx
 in Host URL entry, and save these settings.

This is by and large the same as I use: the username is essentially what
you would login to OWA with, or rather you should be able to login to
OWA with the username you put in the box - if OWA rejects that login
username, then it won't work!  The URL I use is essentially the same,
except it is all lowercase.

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS

2012-06-04 Thread Milan Crha
On Fri, 2012-06-01 at 20:41 +0100, Spencer Caplin wrote:

 In a browser I can get to (once
 authenticated)https://emailserver.com/ews/exchange.asmx. However when
 I open evolution and setup using the same host url i get No Response:
 Internal Server Error. It doesn't ask me to authenticate so not sure
 whats happening ? where would i find logs for the connection and what
 its trying to do ?

Hi,
run evolution as follows, which will show all the communication between
evolution and the server on console:
   $ EWS_DEBUG=2 evolution

 Code:
 https://firstname.surn...@company.co.uk@outlook.company.co.uk/EWS/Exchange.asmx
 with username of firstname.surn...@company.co.uk and work fine, so i
 know EWS works and is support from my exchange server.

I would try to write
  firstname.surn...@company.co.uk
in Username entry in account Preferences, and
  https://outlook.company.co.uk/EWS/Exchange.asmx
in Host URL entry, and save these settings. Note such change requires
evolution's restart, thus do not forget to close evolution and run it
again, which will use these new settings.

By the way, what is the version of evolution and evolution-ews?
Bye,
Milan


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution EWS just shows one authentication method

2012-05-13 Thread Pete Biggs

 

 Tried the version that came with Ubuntu and also 3.4.1 and 3.5.1 and
 all of them with the same problem.
 I got stuck on the authentication part.

You do realise that the odd number releases (i.e. 3.3.x, 3.5.x, etc.)
are development releases and not meant for production use?

 
 
 I can understand that sometime the server doesn't show all the
 authentication types for you and my check for supported types doesn´t
 work on all versions I tested On the Authentcation Type, it just shows
 me one type of authentication (Password) and no others..
 I ran Evolution with EWS_DEBUG=2 and when I try to authenticate on the
 server it gives me unauthorized with error code 401. Trying the URL on
 a browser works fine. I even found a script that would connect via
 curl. I tested the script with authentication basic and ntlm. It works
 on basic but not on NTLM.
 Am I missing something here?

As a user of Evolution EWS (i.e. not a developer) I have found that
finding the required URL is a bit of a dark art.  It doesn't necessarily
follow that the URL you use is the same as the one for logging in to
OWA.  This is almost certainly not the fault of Evolution EWS, but more
the arcane and obscure setup of complex Exchange systems.  For instance
the Exchange 2010 server I use has a web access URL of
https://owa.host.domain.uk (real names changed to protect the guilty),
whereas the EWS URL is https://host.domain.uk/ews/exchange.asmx

And then there's the username required - my external email address is of
the form 'first.l...@unit.domain.uk', I login to the OWA interface with
my real username of, say, 'unmame', but the EWS config requires my
username there to be 'un...@host.domain.uk'.  Again, I don't think this
is really a failing of Evolution EWS, but more a symptom of how Exchange
is setup.

All I can say is that once it's setup correctly, it works well.  All I
need now is shared calendar access ...

P.



___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-list


  1   2   >