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

4 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

4 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.

3 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:

2 Likes

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

Another question - it fits to the thread title…

Can I set the mail client to show incoming mails in plain text mode as standard?

A lot of incoming mails are heavy formatted by sender (I can’t do anything against that). Such mails occur in tiny letters and looong lines without automatic line break. Even if there’s not so much HTML content in a mail, readability is bad if it is a HTML mail. It’s not sufficient to only not download the images automatically. This helps but is not enough. See image…

And how or where can I define the standard font size?

I know that this is not possible by normal settings, therefore I’m asking for a ‘tweak’ in config/qml files please.

Thanks for any help!

You can try the patch from @nephros “Email Plaintext view”.

2 Likes

Thanks very much @s_mario ! This works very fine. To be precise, the patch adds an option to open a mail in plain text when long pressing an e- mail on the list. The mail view inside Mail app itself is not affected.

But I’ve got the feeling, that Patch Manager slows down the device a little! Is this normal?

edit:
Isn’t there any option to set Plain Text as default in Mail app?
The HTML view as default is painful on the tiny phone display and, additionally, there is a bug at magnifying text with 2 finger gestue: Not only the text but also the title bar magnifies until it covers the whole screen. Has anyone else also seen this?

It does, and it kinda must.

PM works by intercepting syscalls, and for all applications. For any file any application opens, PM gets asked if a patched version exists. This is kinda inefficient, and not for free.

But it gives patch authors the freedom to patch basically any file on the system.

1 Like

How can I deinstall Patchmanager now?

edit: by guessing I tried ‘pkcon remove patchmanager’, and it worked. Now device is back on usual speed.

edit: Is there any thread in the forum about fixing the bugs in Mail app? I couldn’t find anything…

If you’re brave enough you can use the .patch file that’s at the core of each patchmanager patch and apply it to the files in question directly (after backing them up of course).

1 Like