Re: [Evolution] How can I override the IMAP path?

2020-01-19 Thread abc abc
Hi again,

> Aha, it might be one of those archive-related folders from here [1].
> The evolution-ews can open any folder, it only needs to know the folder
> ID. This could be used to open it as "Subscribe to folder of other
> user", which is not exactly the same thing, but it would work. I just
> made a change in evolution-ews [2] (for 3.35.90+) to allow using
> distinguished folder names there. My server doesn't have enabled
> archive folders, thus I do not know whether it would work for you. In
> any case, it's rather a workaround.

This worked. I can now access my archive. Thanks for that, I'll try it out now 
to see how it works out.

Regarding imapx and namespace  I will report a bug as soon as I have time.

Best
denk

> Sent: Friday, January 17, 2020 at 10:18 AM
> From: "Milan Crha via evolution-list" 
> To: evolution-list@gnome.org
> Subject: Re: [Evolution] How can I override the IMAP path?
>
> On Fri, 2020-01-17 at 08:27 +0100, abc abc wrote:
> > I did the same you did yesterday and did it again now. However, in my
> > log there is no occurrence of "NAMESPACE".
>
>   Hi,
> it can be the DAVMail doesn't support NAMESPACE capability. I'd expect
> it works in Evolution even without it, but maybe not.
>
> > In my case it is davmail, which I want to use to get access to my
> > Exchange Archive - the only clients I know of being able to do that
> > are Outlook, OWA and davmail.
>
> Aha, it might be one of those archive-related folders from here [1].
> The evolution-ews can open any folder, it only needs to know the folder
> ID. This could be used to open it as "Subscribe to folder of other
> user", which is not exactly the same thing, but it would work. I just
> made a change in evolution-ews [2] (for 3.35.90+) to allow using
> distinguished folder names there. My server doesn't have enabled
> archive folders, thus I do not know whether it would work for you. In
> any case, it's rather a workaround.
>
> I think it might be interesting to have an option to enable/disable
> certain distinguished folders to be shown beside other folders,
> possibly a set of checkboxes in the Mail account Properties would do
> it, thus, if you can, feel free to file a bug against
> evolution-ews [3] to add such thing. Maybe other users would benefit
> from it too.
>
> > Overriding the IMAP path works with /archive in Thunderbird and Nine
> > on Android via davmail.
>
> Weird, I'm wondering what Evolution can do differently. Maybe it's a
> bug in the IMAPx code (which resides in evolution-data-server, not in
> evolution itself), when the NAMESPACE capability is not supported by
> the IMAP server. Feel free to file a bug [4], thus someone can look on
> it.
>   Thanks and bye,
>   Milan
>
> [1] 
> https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/distinguishedfolderid
> [2] https://gitlab.gnome.org/GNOME/evolution-ews/commit/373e3dbb
> [3] https://gitlab.gnome.org/GNOME/evolution-ews/issues/new
> [4] https://gitlab.gnome.org/GNOME/evolution-data-server/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
>
___
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] How can I override the IMAP path?

2020-01-17 Thread Milan Crha via evolution-list
On Fri, 2020-01-17 at 08:27 +0100, abc abc wrote:
> I did the same you did yesterday and did it again now. However, in my
> log there is no occurrence of "NAMESPACE".

Hi,
it can be the DAVMail doesn't support NAMESPACE capability. I'd expect
it works in Evolution even without it, but maybe not.

> In my case it is davmail, which I want to use to get access to my
> Exchange Archive - the only clients I know of being able to do that
> are Outlook, OWA and davmail.

Aha, it might be one of those archive-related folders from here [1].
The evolution-ews can open any folder, it only needs to know the folder
ID. This could be used to open it as "Subscribe to folder of other
user", which is not exactly the same thing, but it would work. I just
made a change in evolution-ews [2] (for 3.35.90+) to allow using
distinguished folder names there. My server doesn't have enabled
archive folders, thus I do not know whether it would work for you. In
any case, it's rather a workaround.

I think it might be interesting to have an option to enable/disable
certain distinguished folders to be shown beside other folders,
possibly a set of checkboxes in the Mail account Properties would do
it, thus, if you can, feel free to file a bug against
evolution-ews [3] to add such thing. Maybe other users would benefit
from it too.

> Overriding the IMAP path works with /archive in Thunderbird and Nine
> on Android via davmail.

Weird, I'm wondering what Evolution can do differently. Maybe it's a
bug in the IMAPx code (which resides in evolution-data-server, not in
evolution itself), when the NAMESPACE capability is not supported by
the IMAP server. Feel free to file a bug [4], thus someone can look on
it.
Thanks and bye,
Milan

[1] 
https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/distinguishedfolderid
[2] https://gitlab.gnome.org/GNOME/evolution-ews/commit/373e3dbb
[3] https://gitlab.gnome.org/GNOME/evolution-ews/issues/new
[4] https://gitlab.gnome.org/GNOME/evolution-data-server/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] How can I override the IMAP path?

2020-01-16 Thread abc abc
Hi,

I did the same you did yesterday and did it again now. However, in my log there 
is no occurrence of "NAMESPACE". In my case it is davmail, which I want to use 
to get access to my Exchange Archive - the only clients I know of being able to 
do that are Outlook, OWA and davmail. Overriding the IMAP path works with 
/archive in Thunderbird and Nine on Android via davmail.

> Does the namespace usage hide all but the Inbox folder, or you still
> see all folders from the top level? If I understood it correctly, then
> you want to have Inbox hidden (which is not possible, as stated above),
> but maybe I'm wrong.

When Namespace is set, I can still see all of my folders in Evolution. Whatever 
I set in Namespace, even garbage and obviously wrong things, I always see the 
same list of folders after the restart.

Best
denk

> Sent: Thursday, January 16, 2020 at 10:04 AM
> From: "Milan Crha via evolution-list" 
> To: evolution-list@gnome.org
> Subject: Re: [Evolution] How can I override the IMAP path?
>
> On Thu, 2020-01-16 at 00:51 +0100, abc abc wrote:
> > I still see the usual INBOX
>
>   Hi,
> if I recall correctly, then the INBOX is a very special folder on an
> IMAP server, it's supposed to be always available.
>
> > Is there anything else I could try?
>
> I tried it here. When I run Evolution with CAMEL_DEBUG=imapx:io, then I
> see that my IMAP server (Dovecot, if it matters) returns:
>
>[imapx:A] I/O: 'A3 NAMESPACE'
>[imapx:A] I/O: '* NAMESPACE (("" ".")) NIL NIL
>A3 OK Namespace completed (0.001 + 0.000 secs).'
>
> which means the empty namespace's directory separator is a dot. It is
> also confirmed with a LIST request:
>
> [imapx:A] I/O: 'A9 LIST "" "*" RETURN (CHILDREN SUBSCRIBED)'
> [imapx:A] I/O: '* LIST (\Subscribed \HasChildren \UnMarked) "." for-offline
>
> by the "." just before the "for-offline" text (it's a folder name on
> the server).
>
> Then I closed Evolution and edited corresponding .source file for this
> IMAP account with:
>
>Namespace=for-offline.
>UseNamespace=true
>
> (note of the "." at the end of the Namespace key).
>
> When I start Evolution, after saving my changes, I see this in the log:
>
>[imapx:B] I/O: 'B00016 LIST "" "for-offline.*" RETURN (CHILDREN...)'
>[imapx:A] I/O: 'A00017 LIST "" for-offline RETURN (...)'
>
> where the first searches for subfolders of the "for-offline" folder.
> There is a runtime warning shown on the evolution console:
>
>> No matching namespace for "." for-offline
>
> but I ignore it for now. The GUI shows limited set of folders now,
> specifically:
>
>Inbox
>for-offline
>   sub
>Junk
>Trash
>
> I have created many more folders at the top level, which are hidden
> now. After this I close Evolution and edit the corresponding .source
> file and set
>
>UseNamespace=false
>
> and when I save it and run Evolution again I see full folder structure
> as before.
>
> This is with the current development version, but it should be quite
> the same as with 3.34.x, as far as I know.
>
> Does the namespace usage hide all but the Inbox folder, or you still
> see all folders from the top level? If I understood it correctly, then
> you want to have Inbox hidden (which is not possible, as stated above),
> but maybe I'm wrong.
>
>   Bye,
>   Milan
>
> P.S.: by the way, your reply didn't go under the original thread. It
> seems your mail client doesn't preserve threading headers, or you used
> some odd function to "reply" to the mesasge. In Evolution, you can
> Reply To List (Ctrl+L) to Mailing List messages like those you receive
> here (if not referenced directly by the sender, which I did not do in
> this specific message).
>
> ___
> 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] How can I override the IMAP path?

2020-01-16 Thread Milan Crha via evolution-list
On Thu, 2020-01-16 at 00:51 +0100, abc abc wrote:
> I still see the usual INBOX

Hi,
if I recall correctly, then the INBOX is a very special folder on an
IMAP server, it's supposed to be always available.

> Is there anything else I could try?

I tried it here. When I run Evolution with CAMEL_DEBUG=imapx:io, then I
see that my IMAP server (Dovecot, if it matters) returns:

   [imapx:A] I/O: 'A3 NAMESPACE'
   [imapx:A] I/O: '* NAMESPACE (("" ".")) NIL NIL
   A3 OK Namespace completed (0.001 + 0.000 secs).'

which means the empty namespace's directory separator is a dot. It is
also confirmed with a LIST request:

[imapx:A] I/O: 'A9 LIST "" "*" RETURN (CHILDREN SUBSCRIBED)'
[imapx:A] I/O: '* LIST (\Subscribed \HasChildren \UnMarked) "." for-offline

by the "." just before the "for-offline" text (it's a folder name on
the server).

Then I closed Evolution and edited corresponding .source file for this
IMAP account with:

   Namespace=for-offline.
   UseNamespace=true

(note of the "." at the end of the Namespace key).

When I start Evolution, after saving my changes, I see this in the log:

   [imapx:B] I/O: 'B00016 LIST "" "for-offline.*" RETURN (CHILDREN...)'
   [imapx:A] I/O: 'A00017 LIST "" for-offline RETURN (...)'

where the first searches for subfolders of the "for-offline" folder.
There is a runtime warning shown on the evolution console:

   > No matching namespace for "." for-offline

but I ignore it for now. The GUI shows limited set of folders now,
specifically:

   Inbox
   for-offline
  sub
   Junk
   Trash

I have created many more folders at the top level, which are hidden
now. After this I close Evolution and edit the corresponding .source
file and set

   UseNamespace=false

and when I save it and run Evolution again I see full folder structure
as before.

This is with the current development version, but it should be quite
the same as with 3.34.x, as far as I know.

Does the namespace usage hide all but the Inbox folder, or you still
see all folders from the top level? If I understood it correctly, then
you want to have Inbox hidden (which is not possible, as stated above),
but maybe I'm wrong.

Bye,
Milan

P.S.: by the way, your reply didn't go under the original thread. It
seems your mail client doesn't preserve threading headers, or you used
some odd function to "reply" to the mesasge. In Evolution, you can
Reply To List (Ctrl+L) to Mailing List messages like those you receive
here (if not referenced directly by the sender, which I did not do in
this specific message).

___
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] How can I override the IMAP path?

2020-01-16 Thread abc abc
>Please note that HTML mail should not be used on this list unless there
>is also a plain-text version of the message.
>
>poc

Hi poc,

thanks for the hint. I will send plain text mails now. Sorry.

Best
denk
___
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] How can I override the IMAP path?

2020-01-16 Thread abc abc
>>On Tue, 2020-01-14 at 19:33 +0100, abc abc wrote:
>>I have to set two settings in the respective source file under
>>~/.config/evolution/sources:
>>Namespace=IMAP path (in my case I need /archive which works with
>>other IMAP clients)
>>UseNamespace=true
>>
>>Is there anything else I have to configure to get that working?

>Hi,
>yes, that should work. The question is about directory separator,
>because many servers use a dot (.) not forward slash (/). Try to run
>Evolution with IMAPx debugging to see what namespaces the server
>returns and what it does in general:
>
>   $ CAMEL_DEBUG=imapx:io evolution
>
>In other words, it may depend how you specify the Namespace path. I do
>not recall what is expected there, it can be the directory separator
>should be at the end, not at the start of it.
>Bye,
>Milan

Hi Milan,

thanks for your answer. Unfortunately, whatever I try (/archive, /archive/, 
archive/, .archive, .archive., archive.) nothing changes and I still see the 
usual INBOX. Also in the debug output, there is nothing mentioned regarding 
namespaces and even the string archive doesn't show up in the log.
Is there anything else I could try?

Thanks and best
denk
___
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] How can I override the IMAP path?

2020-01-15 Thread Patrick O'Callaghan
On Tue, 2020-01-14 at 19:33 +0100, abc abc wrote:
> Hi,
>  
> currently I am trying out evolution, especially its IMAP implementation and 
> capabilities.
[...]

Please note that HTML mail should not be used on this list unless there
is also a plain-text version of the message.

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] How can I override the IMAP path?

2020-01-15 Thread Milan Crha via evolution-list
On Tue, 2020-01-14 at 19:33 +0100, abc abc wrote:
> I have to set two settings in the respective source file under
> ~/.config/evolution/sources:
> Namespace=IMAP path (in my case I need /archive which works with
> other IMAP clients)
> UseNamespace=true
>  
> Is there anything else I have to configure to get that working?

Hi,
yes, that should work. The question is about directory separator,
because many servers use a dot (.) not forward slash (/). Try to run
Evolution with IMAPx debugging to see what namespaces the server
returns and what it does in general:

   $ CAMEL_DEBUG=imapx:io evolution

In other words, it may depend how you specify the Namespace path. I do
not recall what is expected there, it can be the directory separator
should be at the end, not at the start of it.
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] How can I override the IMAP path?

2020-01-15 Thread abc abc
Hi,

 

currently I am trying out evolution, especially its IMAP implementation and capabilities. What I cannot get to work is overriding the IMAP path. As far as I understood, I have to set two settings in the respective source file under ~/.config/evolution/sources:

Namespace=IMAP path (in my case I need /archive which works with other IMAP clients)

UseNamespace=true

 

Is there anything else I have to configure to get that working? Do you need further info?

 

I am using evolution 3.34.3 under Arch Linux.

 

Thank you very much and best

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