[Evolution] Interaction with ProtonMail “Error syncing changes: mailbox 4 does not exist”

2020-05-25 Thread Dan Kortschak via evolution-list
Sporadically when I attempt to empty the trash on a ProtonMail account
using evolution, I get the following error:

```
Failed to refresh folder "@protonmail.com : Trash”.

The reported error was “Error syncing changes: mailbox 4 does not
exist”.
```

then when navigating away from the trash folder, 

```
Error while Storing folder “Trash”.

Error syncing changes: mailbox 4 does not exist
```

From this point on, evolution will not sync to the server (see note
below).

This problem is only fixed by quiting evolution and killing evolution-
source-registry, and going to the ProtonMail web client and emptying
the trash.

Note that ProtonMail is odd in this since it doesn't provide IMAP
access to their servers, but rather has a bridge application that
interacts with their servers and presents an IMAP server on localhost.

I intend to instrument the ProtonMail bridge application, but I would
like to have a basic idea of what it is that I should be looking for
before I jump into that.

```
~ $ evolution --version
evolution 3.28.5-0ubuntu0.18.04.2 
```

thanks
Dan Kortschak


___
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] Mail port changed

2020-05-25 Thread Patrick O'Callaghan
On Mon, 2020-05-25 at 12:11 -0700, Van Snyder wrote:
> I tried re-installing evolution, but the same result ensues.

Linux isn't Windows. 99.99% of the time this is pointless. All user
configuration data is preserved when you reinstall so you aren't
changing anything unless the original installation was actually broken,
which is extremely unlikely if your package system is working properly.

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] Mail port changed

2020-05-25 Thread Pete Biggs
On Mon, 2020-05-25 at 12:11 -0700, Van Snyder wrote:
> I have Evolution 3.28.5 (3.28.5-8.el7)  on Scientific Linux 7.10 
> (essentially the same as CentOS 7.10).
> 
> I set up accounts for imap on port 993. They kept getting "socket timed 
> out." So I checked the settings. They've back to POP on port 143. I 
> changed them back to 993 and then checked. They always go back to 143. 

No, IMAP *is* port 143.  POP3 is port 110. Port 993 is IMAPS - i.e. SSL
connections to an IMAP server - you need to set the security/encryption
on the account to use "SSL on a dedicated port" and then it will set
the port to 993. 

STARTTLS is different - it connects using the standard unencrpyted IMAP
port (143) and then switches to an encrypted connection once the
initial handshake is done.

> 
> I tried re-installing evolution, but the same result ensues.
> 
Re-installing really doesn't help - it is rare that any issues are to
do with corrupted installs. Virtually all problems are down to a user's
configuration and that is not affected if you delete or reinstall an
application.

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] Got one account sort-of working

2020-05-25 Thread Andre Klapper
On Mon, 2020-05-25 at 13:18 -0700, Van Snyder wrote:
> I deleted the accounts that don't work and re-created them.

Please reply to your previous message instead of starting a new
(detached) thread, so the context is clearer.

> The other two accounts still don't work. Instead of "I/O socket timed
> out," now the message is "Error performing TLS handshake: Internal error
> in memory allocation.".

See my previous reply to you in a previous thread that you started.

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


[Evolution] Got one account sort-of working

2020-05-25 Thread Van Snyder

I deleted the accounts that don't work and re-created them.

One of them now sort-of works. I can send and receive mail. But... it 
has both a "Deleted Items" and "Trash" folders. Neither offers to "Empty 
Trash." Even though I've deleted messages, neither folder has anything 
in it.


The other two accounts still don't work. Instead of "I/O socket timed 
out," now the message is "Error performing TLS handshake: Internal error 
in memory allocation.".


Recreating the server settings resulted in about 60 "On This Computer" 
folders the next time I started Evolution, with names ending 
.ibex.index. What are these, and where did they come from? Can I delete 
them safely? The folders with familiar names appear to have had all 
their messages converted to folders. The contents display as junk.


All using 3.28.5 (3.28.5-8.el7) on Scientific Linux 7.10 (essentially 
the same as CentOS 7.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


[Evolution] Mail port changed

2020-05-25 Thread Van Snyder
I have Evolution 3.28.5 (3.28.5-8.el7)  on Scientific Linux 7.10 
(essentially the same as CentOS 7.10).


I set up accounts for imap on port 993. They kept getting "socket timed 
out." So I checked the settings. They've back to POP on port 143. I 
changed them back to 993 and then checked. They always go back to 143. 
Except for one account, which keeps on working. The "Mail Accounts" tab 
on the "Preferences" page shows "imapx" for all of them.


I tried re-installing evolution, but the same result ensues.


___
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] Subscribing to shared EWS non-GAL calendar

2020-05-25 Thread Milan Crha via evolution-list
On Mon, 2020-05-25 at 15:01 +0100, Pete Biggs wrote:
> Do you think that not being able to subscribe to non-GAL accounts
> would be considered a bug?

Hi,
I do not recall why I made there the need to have the contact known in
GAL. If it's not a requirement on the server side (anymore?), then the
code can be relaxed. Feel free to file a bug against evolution-ews,
thus there's some history behind the change:
https://gitlab.gnome.org/GNOME/evolution-ews/issues/new

I'd probably just drop the email verification from the code. If anyone
is unsure, he/she can click the button to search for the address in the
GAL, instead of typing precisely the email address.
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] Subscribing to shared EWS non-GAL calendar

2020-05-25 Thread Pete Biggs
On Mon, 2020-05-25 at 15:17 +0200, Milan Crha via evolution-list wrote:
> On Mon, 2020-05-25 at 13:58 +0100, Pete Biggs wrote:
> > Can I just copy that file to my home machine?
> 
>   Hi,
> yes, but make sure the Parent=. at the top will match the Parent
> from the other .source files in that "destination" directory. That's
> how it knows to which account it belongs.

Yup. That worked. Thanks a lot.  I can now see all the meetings I'm
going to miss :-)

Do you think that not being able to subscribe to non-GAL accounts would
be considered a bug?

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] Subscribing to shared EWS non-GAL calendar

2020-05-25 Thread Milan Crha via evolution-list
On Mon, 2020-05-25 at 13:58 +0100, Pete Biggs wrote:
> Can I just copy that file to my home machine?

Hi,
yes, but make sure the Parent=. at the top will match the Parent
from the other .source files in that "destination" directory. That's
how it knows to which account it belongs.

> Is there a dconf key or something that I need to set for
> Evolution to see it?

No, just run:

   $ evolution --force-shutdown

to have evolution-source-registry (and the rest) restarted.

> Also, I thought that all .cache files were disposable

Yes, +/- some non-obvious exceptions [1], like these subscribed
(foreign) folders. All the rest are discovered on
evolution-source-registry start  (and some other events/occasions),
thus if you drop them from the ~/.cache then it doesn't hurt.

>  is that the only place the accounts are configured?

Two places, ~/.config/evolution/sources and
~/.cache/evolution/sources/.

> I can't find a reference to the calendar or the .source file in
> ~/.config/evolution/sources folder on my work desktop (which was
> where I looked originally).

I'm not sure which one you mean. Being it the account the foreign
.source at the top belongs to, then it's the Parent= value there.
You'll see something like Parent=xxx, then the file is
~/.config/evolution/sources/xxx.source
In fact, the directory name in the ~/.cache/ is also named xxx for the
discovered sources of that account.
Bye,
Milan

[1] * https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/150
* also message user flags, which cannot be saved on the server

___
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 and the X-NC-CalDAV-Webcal-Caching header

2020-05-25 Thread Milan Crha via evolution-list
On Mon, 2020-05-25 at 14:50 +0200, Robin Lee via evolution-list wrote:
> Although I don't see why it shouldn't also work when setting it up in
> GOA.

Hi,
that explains the GOA bug I gave a link to earlier in this thread.
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] Subscribing to shared EWS non-GAL calendar

2020-05-25 Thread Pete Biggs
On Mon, 2020-05-25 at 11:30 +0200, Milan Crha via evolution-list wrote:
> On Fri, 2020-05-22 at 12:10 +0100, Pete Biggs wrote:
> > Does the subscription process check for the user in the GAL before
> > subscribing? Can I tell it not to?
> 
>   Hi,
> evolution-ews searches for the contact, to verify it exists. The only
> way to not let it do it is to pick the user from the search dialog, but
> that also shows users only from the Active Directory, thus it's a no
> go.
> 
> It would be possible to workaround this by adding a foreign folder for
> a different user, then modify its definition to point to the folder of
> the user not being in the GAL.

Many thanks for the detailed reply.

> 
> Then search the ~/.cache/evolution/sources/ for the .source file, which
> contains the information about the folder for the other user you
> subscribed to earlier.

A different copy of Evolution (on my work desktop) is subscribed to the
calendar and a .source file exists in the .cache/evolution/sources
folder that references it. Can I just copy that file to my home
machine?  Is there a dconf key or something that I need to set for
Evolution to see it?

Also, I thought that all .cache files were disposable - is that the
only place the accounts are configured? I can't find a reference to the
calendar or the .source file in ~/.config/evolution/sources folder on
my work desktop (which was where I looked originally).

Thanks again.

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 and the X-NC-CalDAV-Webcal-Caching header

2020-05-25 Thread Robin Lee via evolution-list
On Mon, 2020-05-25 at 14:39 +0200, Milan Crha via evolution-list wrote:
> On Mon, 2020-05-25 at 14:33 +0200, Robin Lee via evolution-list
> wrote:
> > I did the Nextcloud account setup in GNOME Online Accounts. So if I
> > would set it up directly in Evolution then it might work?
> 
>   Hi,
> yes, it might. 

So it did, thanks!

Although I don't see why it shouldn't also work when setting it up in
GOA.

___
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 and the X-NC-CalDAV-Webcal-Caching header

2020-05-25 Thread Milan Crha via evolution-list
On Mon, 2020-05-25 at 14:33 +0200, Robin Lee via evolution-list wrote:
> I did the Nextcloud account setup in GNOME Online Accounts. So if I
> would set it up directly in Evolution then it might work?

Hi,
yes, it might. Use Edit->Accounts->Add->Collection Account->.
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 and the X-NC-CalDAV-Webcal-Caching header

2020-05-25 Thread Robin Lee via evolution-list
On Mon, 2020-05-25 at 14:28 +0200, Milan Crha via evolution-list wrote:
> On Mon, 2020-05-25 at 14:02 +0200, Robin Lee via evolution-list
> wrote:
> > and it seems that Evolution doesn't support the X-NC-CalDAV-Webcal-
> > Caching header. 
> > 
> > Is there a reason why it is not supported?
> 
>   Hi,
> if I understand it properly, then you created a calendar in the
> Nextcloud web interface, which points to some on-the-web calendar
> file
> (an .ics file). Is that correct?
> 
> How did you configure the Nextcloud account, directly in Evolution,
> or
> through GNOME Online Accounts, please?
> 
> As far as I know, Evolution can read subscribed .ics files from the
> Nextcloud server, it did work with Nextcloud 16.0.1 at least, but
> only
> for (collection) accounts configured directly in the Evolution.

I did the Nextcloud account setup in GNOME Online Accounts. So if I
would set it up directly in Evolution then it might work?



___
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 and the X-NC-CalDAV-Webcal-Caching header

2020-05-25 Thread Milan Crha via evolution-list
On Mon, 2020-05-25 at 14:02 +0200, Robin Lee via evolution-list wrote:
> and it seems that Evolution doesn't support the X-NC-CalDAV-Webcal-
> Caching header. 
> 
> Is there a reason why it is not supported?

Hi,
if I understand it properly, then you created a calendar in the
Nextcloud web interface, which points to some on-the-web calendar file
(an .ics file). Is that correct?

How did you configure the Nextcloud account, directly in Evolution, or
through GNOME Online Accounts, please?

As far as I know, Evolution can read subscribed .ics files from the
Nextcloud server, it did work with Nextcloud 16.0.1 at least, but only
for (collection) accounts configured directly in the Evolution.

Related reports:
https://gitlab.gnome.org/GNOME/evolution-data-server/issues/121
https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/issues/67

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] Evolution and the X-NC-CalDAV-Webcal-Caching header

2020-05-25 Thread Robin Lee via evolution-list
Hi

My setup is a Nextcloud (18.0.4) server and Evolution (3.36.2) running
on my desktop and laptop. The Evolution are CalDav clients to the NC. I
've set up a public holiday subscription calendar in NC and the problem
is that it doesn't show up in Evolution. I asked about this on NC forum

https://help.nextcloud.com/t/propagation-of-a-subscription-calendar/82539

and it seems that Evolution doesn't support the X-NC-CalDAV-Webcal-
Caching header. 

Is there a reason why it is not supported?

I could of course solve this by setting up the public holiday
subscriptions in Evolution on both my desktop and laptop, but I think
it would be more elegant to just have it in one place.

Cheers
Robin

___
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] Default addressbook in appointment scheduling

2020-05-25 Thread Wiethoff, Helge via evolution-list
Hi Milan,

Am Montag, den 25.05.2020, 12:15 +0200 schrieb Milan Crha via evolution-
list:
> just go to the Contacts view, right-click the address book you'd like
> to have to be the default one, then pick Properties from the context
> menu a check "Make this address book default" and that's all.


Thanks you very much! That was way to easy... :)

Bye
Helge




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] Default addressbook in appointment scheduling

2020-05-25 Thread Milan Crha via evolution-list
On Mon, 2020-05-25 at 10:29 +0200, Wiethoff, Helge via evolution-list
wrote:
> I wonder if it is somehow possible to preset the default address book
> in the schedule?

Hi,
just go to the Contacts view, right-click the address book you'd like
to have to be the default one, then pick Properties from the context
menu a check "Make this address book default" and that's all.
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] Subscribing to shared EWS non-GAL calendar

2020-05-25 Thread Milan Crha via evolution-list
On Fri, 2020-05-22 at 12:10 +0100, Pete Biggs wrote:
> Does the subscription process check for the user in the GAL before
> subscribing? Can I tell it not to?

Hi,
evolution-ews searches for the contact, to verify it exists. The only
way to not let it do it is to pick the user from the search dialog, but
that also shows users only from the Active Directory, thus it's a no
go.

It would be possible to workaround this by adding a foreign folder for
a different user, then modify its definition to point to the folder of
the user not being in the GAL.

Edit the attached getfolder.xml and write a full email address instead
of its current u...@comany.com. Then run this command, from a folder
where this file is saved (replace USER:PASS with your credentials):

   $ curl -v -k --user USER:PASS -X POST -d @getfolder.xml \
https://outlook.office365.com/EWS/Exchange.asmx \
--header 'Content-Type: text/xml; charset=utf-8'

which, if everything will work properly, will return something like
this (heavily stripped here):


http://schemas.xmlsoap.org/soap/envelope/;>
  

  
  
  IPF.Appointment
  Calendar
  2
  1

  


from which you want the FolderId only, the part of the Id=""
(without the quotes).

Then search the ~/.cache/evolution/sources/ for the .source file, which
contains the information about the folder for the other user you
subscribed to earlier. Maybe search with part of the display name you
see in Evolution UI, ow with anything unique; eventually search for
"Foreign=true" (quotes for clarity only), which should limit the list
of sources a bit. When you have it, then at the top it'll look like
this:

   [Data Source]
   DisplayName=User — Calendar
   Enabled=true
   Parent=..

where you might want to change the DisplayName value to reflect what
the calendar shows. This is used in the GUI. Then search for:

   [Exchange Web Services Folder]
   ChangeKey=
   Id=
   Foreign=true
   

where you'll replace the Id value with the one the curl command
returned. In this case it would be:

   Id=AAMkAD.NAAA=

When you finally save the .source file run:

   $ evolution --force-shutdown

which will restart also background processes, thus they know about the
changes. Then you might see the other calendar.
Bye,
Milan


getfolder.xml
Description: XML document
___
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] Default addressbook in appointment scheduling

2020-05-25 Thread Wiethoff, Helge via evolution-list
Hi there,

I wonder if it is somehow possible to preset the default address book in the
schedule?

The "personal address book", which is empty in my case, is always displayed.

It would be great if the last used address book is used. But i guess this
would be a feature request, right?

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