View Issue Details

IDProjectCategoryView StatusLast Update
0005126SOGoWeb Generalpublic2020-08-13 14:41
Reporterdetrich Assigned Tofrancis  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platform[Server] LinuxOSRHEL/CentOSOS Version7
Product Version5.0.0 
Summary0005126: error message, when no imap account configured
Description

we use only calendar funtions, the SOGoIMAPServer option commented out in sogo.conf, but when we login to web, the following error occured:

An error occured while communicating with the mail server

in the sogo.log:

[ERROR] <0x0x7f31ef845310[NGImap4ConnectionManager]> IMAP4 login failed:
host=localhost, user=user, pwd=yes
url=imap://user@localhost/?tls=NO&tlsVerifyMode=default
base=(null)
base-class=(null))
= <0x0x7f3589988420[NGImap4Client]: login=user(pwd) address=<0x0x7f358aa8e9c0[NGInternetSocketAddress]: host=localhost port=143>>
[ERROR] <0x7eff05119670[SOGoMailAccount]:0> Could not connect IMAP4

Steps To Reproduce

install SOGo with no imap config:

//SOGoIMAPServer = localhost ;

login to SOGo

Additional Information

I thin this was because a POST methon after login to SOGo/so/$USER/Mail/0/folderINBOX/view

Maybe the @function pollInbox at UI/WebServerResources/js/Preferences/Preferences.service.js:389

Please add a configuration option to disable IMAP funtions.

TagsNo tags attached.

Activities

francis

francis

2020-08-13 14:41

administrator   ~0014694

You need to use ModulesConstraints to disable the mail module. Look at the documentation.

            ModulesConstraints = {
                Mail = {
                    uid = nobody;
                };
            };

Issue History

Date Modified Username Field Change
2020-08-13 10:31 detrich New Issue
2020-08-13 12:05 francis Assigned To => francis
2020-08-13 12:05 francis Status new => assigned
2020-08-13 14:41 francis Status assigned => closed
2020-08-13 14:41 francis Resolution open => no change required
2020-08-13 14:41 francis Note Added: 0014694