[SOLVED] SOGo and multiple mail accounts

Hi all

After considering to install SOGo I did read about the features of it and found it useful to have, so I installed the app. As I did discover the app I noticed that the promoted Multiple Mail Accounts (see below) where not configurable. But without this feature SOGo isn’t much useful for me.

https://www.sogo.nu/about.html#/features
Multiple Mail Accounts
Configure all your mail accounts (IMAP) from SOGo and forget about login-in to multiple webmail services.

Is there a reason not to have this feature? And is it possible to switch it on in the configuration?
I found the configuration file under /etc/sogo/sogo.conf.

Thanks for some thoughts on this.

YES, YES,YES :slight_smile:
Read the docs! and you will have joy! I found the missing part. In the configuration I had to add the following line in the IMAP section:

 SOGoMailAuxiliaryUserAccountsEnabled = YES;

which looks like this afterwards:

 /* IMAP */
  SOGoDraftsFolderName = "Drafts";
  SOGoSentFolderName = "Sent";
  SOGoTrashFolderName = "Trash";
  SOGoJunkFolderName = "Junk";
  SOGoMailAuxiliaryUserAccountsEnabled = YES;
  SOGoIMAPServer = "imap://127.0.0.1:143/?tls=YES&tlsVerifyMode=allowInsecureLocalhost";
  SOGoSieveServer = "sieve://127.0.0.14190/?tls=YES&tlsVerifyMode=allowInsecureLocalhost";

With this you can add multiple mail accounts under settings > e-mail > IMAP-accounts > new mail-account (I have it in German and did freely translate it).

I did test this feature and it seems to behave correct.

Thank you FreedomBox-Team!!!

Some more information on my SOGo configuration:
When you want to write an e-mail in SOGo, then your account name will be the sender name. To change this, you need to add this configuration:

SOGoMailCustomFromEnabled

This is is the text from the documentation for this config:
Parameter used to allow or not users to specify
custom “From” addresses from SOGo’s
preferences panel.
Defaults to NO when unset.

This allows you to have your full name as sender under identity (in German: Identitäten)

I moved the configuration mentioned in my previous post (see above) to the following section:

/* General */
SOGoMailAuxiliaryUserAccountsEnabled = YES;
SOGoMailCustomFromEnabled = YES;