View Issue Details

IDProjectCategoryView StatusLast Update
0004300SOGoWeb Preferencespublic2017-09-29 07:49
ReporterEtique57 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSUbuntuOS Version14.04 LTS
Product Version3.2.10 
Summary0004300: Cannot modify email field in IMAP account panel
Description

Hello,

Using 3.2.10 with an SQL backend (mailcow), I cannot modify the "email" field from the IMAP account edition panel.

At the moment it is the same as my username, but I would like it to be different.

Steps To Reproduce
  1. Go to the IMAP account in the preferences
  2. edit IMAP account
    2- Email field is the same as login
  3. Modify the email field
  4. close edition panel
  5. save modifications
    5- refresh page & do the same again, the email field is still set to the login value
Additional Information

Here's the sogo.conf:
https://github.com/mailcow/mailcow-dockerized/blob/master/data/conf/sogo/sogo.conf

I saw some similar bugs but they seemed to be related to an LDAP backend, not an SQL backend, and are solved by modifying the MailFieldNames value which is not present.

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2017-09-27 09:29

developer   ~0012326

Set the following option in sogo.conf and restart sogod.
SOGoMailCustomFromEnabled = YES;

Etique57

Etique57

2017-09-28 09:28

reporter   ~0012328

Hello,

Tanks for checking.

The flag is already set to yes, see here:
https://github.com/mailcow/mailcow-dockerized/blob/533f947074c1847494b8d7c7e328968e9158ab5a/data/conf/sogo/sogo.conf#L35

Christian Mack

Christian Mack

2017-09-28 10:03

developer   ~0012329

When you write an email, can you select that email address, you want to set in preferences, in the From: part?

Etique57

Etique57

2017-09-28 11:11

reporter   ~0012330

Yes I am able to select the "firstname.name@server.net" from the dropdown when I write an email.

Etique57

Etique57

2017-09-28 11:16

reporter  

Christian Mack

Christian Mack

2017-09-28 14:05

developer   ~0012333

That is known behaviour.
You can not set those email addresses from the drop down menu in preferences.

Etique57

Etique57

2017-09-28 14:34

reporter   ~0012334

So this is the intended behaviour?

Christian Mack

Christian Mack

2017-09-28 14:47

developer   ~0012335

No, I just wanted to confirm this behaviour.

Etique57

Etique57

2017-09-28 20:09

reporter   ~0012338

Ok. Can I manually change the value somewhere, waiting for a fix?

Thanks!

Christian Mack

Christian Mack

2017-09-29 07:46

developer   ~0012339

Last edited: 2017-09-29 07:49

You can set it with sogo-tool like this:
/usr/sbin/sogo-tool user-preferences set defaults ${USER_TO_MODIFY} SOGoMailCustomEmail '{"SOGoMailCustomEmail":"firstname.name@server.net"}'

Hint:
Make sure to restart memcached, else you will get the cached value for some time :-)

Issue History

Date Modified Username Field Change
2017-09-27 03:29 Etique57 New Issue
2017-09-27 09:29 Christian Mack Note Added: 0012326
2017-09-28 09:28 Etique57 Note Added: 0012328
2017-09-28 10:03 Christian Mack Note Added: 0012329
2017-09-28 11:11 Etique57 Note Added: 0012330
2017-09-28 11:16 Etique57 File Added: 2017-09-28 13_12_01-SOGo Groupware - (4) Inbox.png
2017-09-28 14:05 Christian Mack Note Added: 0012333
2017-09-28 14:34 Etique57 Note Added: 0012334
2017-09-28 14:47 Christian Mack Note Added: 0012335
2017-09-28 20:09 Etique57 Note Added: 0012338
2017-09-29 07:46 Christian Mack Note Added: 0012339
2017-09-29 07:49 Christian Mack Note Edited: 0012339