1

Topic: Connection to storage server failed.

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (1.3.1):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Debian
- Store mail accounts in which backend (mysql):
- Web server (Nginx):
- Manage mail accounts with iRedAdmin-Pro? no
====
when i try to login by my first user and then i got below error msg:
Connection to storage server failed.

2

Re: Connection to storage server failed.

● dovecot.service - Dovecot IMAP/POP3 email server
   Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-08-09 18:15:59 CST; 2h 17min ago
     Docs: man:dovecot(1)
           http://wiki2.dovecot.org/
      CPU: 24ms

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

3

Re: Connection to storage server failed.

Any related error in /var/log/dovecot/dovecot.log?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

4

Re: Connection to storage server failed.

No,there is no any useful log.
I upgraded dovecot to 2.3.10 relaed in https://docs.iredmail.org/upgrade.dovecot.2.2-2.3.html
but dovecot still below status:
● dovecot.service                                                                             loaded failed failed    Dovecot IMAP/POP3 email server

5

Re: Connection to storage server failed.

ZhangHuangbin wrote:

Any related error in /var/log/dovecot/dovecot.log?

Will dovecot fail to start if I did not set MX record ?

6

Re: Connection to storage server failed.

i found this log below :
Aug 11 10:48:39 transfer systemd[1]: Starting Dovecot IMAP/POP3 email server...
Aug 11 10:48:39 transfer dovecot[359512]: Fatal: service(stats) User doesn't exist: vmail (See service stats { unix_listener /var/run/dovecot/stats-writer { user } } setting)
Aug 11 10:48:39 transfer systemd[1]: dovecot.service: Control process exited, code=exited status=89
Aug 11 10:48:39 transfer systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
Aug 11 10:48:39 transfer systemd[1]: dovecot.service: Unit entered failed state.
Aug 11 10:48:39 transfer systemd[1]: dovecot.service: Failed with result 'exit-code'.

7

Re: Connection to storage server failed.

problem sovled.  uid 2000 has been used and then user vmail creat failed