Advanced setup for e-mail possible?

I would like to customize the Jolla e-mail program in the settings, but I cannot find the corresponding file with the settings. The following problem: I use the IMAP protocol for e-mails. While I can freely define the folders to be used with a number of programs (Evolution, Claws-Mail etc.), this is obviously not provided for with SFOS.

If I send an e-mail with Evolution, for example, the e-mail sent is moved to the “Sent” folder. If I send an e-mail under SFOS, it is moved to the “Sent” folder (=german for sent). This folder does not exist on the mail server, but apparently only on my smartphone.

Is it possible to freely define the storage locations under SFOS and if so, where can I find the configuration file? Only the normal settings such as port number or passwords can be found under advanced settings.

Sony Xperia 10 III - SFOS 4.6.0.13

2 Likes

:thinking:
Did you mean to have a different spelling on either? Now it’s the same.

Also; isn’t this config that’s received from the server? What makes you think it is local?

It makes me think that’s local because I have only a few folder (sent, queue trash etc.) on the server and on my smartphone I have considerable more folder - partially with the same name. And the same spelling

IMAP has the concept of ‘special use attributes’, i.e. server-defined markers which folder to use for what.

So, a folder having the \Sent attribute should be used by client software, and it can be called anything, even localized names, and different names by different clients.
If used correctly by clients it will have the same content for all, regardless of the name.

Are you sure what you are seeing are actually different folders, and not the same one by different names?

(Although Sent is a bad example, as IMAP does not send mail and moving mail there is convention, not defined by the standard)

Ref: RFC 6154: IMAP LIST Extension for Special-Use Mailboxes

3 Likes

To answer the original question:

  1. Open Settings
  2. Go to Accounts
  3. Select your IMAP account
  4. Scroll to the ‘Synced Folders’ selector
  5. Change setting to ‘Custom’
  6. Use the new ‘Folders to sync’ button to configure synced folders.

Note that some Folders are special (see above) and messing with those may do more harm than good.

2 Likes

Just to illustrate what happens in practice (ie. dovecot, courier) folders and folder hierarchies are created on server with extensions. So, a subfolder of INBOX call ebay (client side) will be stored (by dovecot) as ‘.INBOX.ebay’ while other ‘higher level’ subfolders may exist (I have ‘.friend’ and ‘.family’ for instance). The ‘subscriptions’ mechanism ( a flat file) sorts it by specifying ‘INBOX ebay’ in a tab delimited file. But, that’s just arcana :slight_smile:

1 Like

Thanks for your detailed information. It is very interesting.

@nephros I tried the proposal with the custom folder. But the result was negative, means there is no syncing with the folder on the server.

Deleting one of the double folder is also not possible as it appears again after two or three seconds.

If I write an e-mail with fairemail (under Android/SFOS) it functions in the expected way. I have no explaination for it.

1 Like