Where to store local accounts?

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

Where to store local accounts?

Ángel González
Hello all

Today I have an adventure to share about creating external accounts.
I wanted to file certain mails in a (different) local account. To this
end, I added a new maildir account. Given that it needs to point to an
existing folder, I decided to create it as a subfolder of
~/.local/share/evolution/mail, which turned out to be an error.

evolution-data-server then moved that folder to
~/.local/share/evolution/
mail/trash/ on next restart (then failed to find the new account).

Yes, it is a private evolution folder. The user is not supposed to
tweak with it. Still, I was a bit puzzled by the behavior.
I could have stored that maildir on ~/Documents or ~/Desktop but I
precisely wanted it to live within the other evolution folders. As a
sibling of local/ (the store for the 'On This Computer' account) seemed
the perfect place (the folder name itself would not conflict with or
protocol).
Diving into this, it seems that there is a cache-reaper getting rid of
unexpected cache and data dirs.

I guess I could achieve the original goal by moving the maildir inside
its source folder (a catch-22, since the maildir needs to exist before
creating the source it can only be done later). The question is, which
would have been the "proper place" to locate such folder?

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

Re: Where to store local accounts?

Gnome Evolution - General mailing list
On Wed, 2020-10-14 at 02:15 +0200, Ángel wrote:
> Yes, it is a private evolution folder. ...
> ...
> Diving into this, it seems that there is a cache-reaper getting rid
> of unexpected cache and data dirs.

        Hi,
yes, both of the above is correct. When an account is removed, the
cache-reaper removes directories to which it doesn't have a reference
(the account).

> The question is, which would have been the "proper place" to locate
> such folder?

Definitely not private evolution directories. My question would be:
what do you want to achieve? I mean, do you want to have the mails
backed up with Evolution's backup tool together with the other data? In
that case store it somewhere under ~/.local/share/evolution/. Obviously
not under the 'mail' and other directories, just use your own directory
under the "top" directory. Like ~/.local/share/evolution/my-mail.
That's only a workaround, as you might usually store your local mails
under On This Computer. The custom Maildir accounts are used (from my
point of view) to access messages from other services, where those
services are responsible for the data backup and so on.

        Bye,
        Milan

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

Re: Where to store local accounts?

Ángel González
On 2020-10-14 at 07:53 +0200, Milan Crha via evolution-list wrote:

> > The question is, which would have been the "proper place" to locate
> > such folder?
>
> Definitely not private evolution directories. My question would be:
> what do you want to achieve? I mean, do you want to have the mails
> backed up with Evolution's backup tool together with the other data?
> In
> that case store it somewhere under ~/.local/share/evolution/.
> Obviously
> not under the 'mail' and other directories, just use your own
> directory
> under the "top" directory. Like ~/.local/share/evolution/my-mail.
> That's only a workaround, as you might usually store your local mails
> under On This Computer. The custom Maildir accounts are used (from my
> point of view) to access messages from other services, where those
> services are responsible for the data backup and so on.
>
>         Bye,
>         Milan

Thanks for the tip, Milan. Yes, the goal was to "group" the new account
with evolution, as a second "On This COmputer" if you wish. The normal
"On This Computer" was already being used (mostly as an account for
archiving mails, mainly duplicating the folder tree of the main account
living on the server) whereas the new account serves a different
function (holding a subtree of mailing list related folders) and would
benefit of a different position.

In some aspects, it would be preferable if you could (virtually)
include in the tree view folders stored on a different account.
That could be a complex use case to present on a consistent UI, though
(not to mention the implementation itself) .

Regards


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

Re: Where to store local accounts?

Gnome Evolution - General mailing list
On Thu, 2020-10-15 at 03:42 +0200, Ángel wrote:
> In some aspects, it would be preferable if you could (virtually)
> include in the tree view folders stored on a different account.
> That could be a complex use case to present on a consistent UI,
> though (not to mention the implementation itself) .

        Hi,
like with a search folder, where it would be just "match all" for a
selected folder? That will not allow to mix Search Folders with regular
folders, if that's your purpose.

You can Folder->Edit Sort Order, but, if I understood it correctly,
it's not what you want too.
        Bye,
        Milan

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