Dovecot is not working

Hello everyone,

My YunoHost server

Hardware: VPS, Devian 11
YunoHost version: 11.2.3 (stable)
I have access to my server : yes (web and ssh)
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no AND yes
If yes, please explain: i tried to reinstalled Yunohost, but that changed nothing, my issue wasthere before and after that

Description of my issue

So my issue is basically Dovecot not working anymore. And actually i don’t think it worked at all since i installed YH on this server. I can send e-mails but i can’t receive them. Nothing is wrong with my differents domains.
I tried several solutions i found in the forum, but none of them worked.
Thisis the error i get when i try to restart Dovecot :

Warning: The unit file, source configuration file or drop-ins of dovecot.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● dovecot.service - Dovecot IMAP/POP3 email server
     Loaded: bad-setting (Reason: Unit dovecot.service has a bad unit file setting.)
    Drop-In: /etc/systemd/system/dovecot.service.d                                                                                                                                            
             └─override.conf                                                                                                                                                                  
     Active: failed (Result: exit-code) since Wed 2023-08-30 08:33:01 UTC; 37min ago
       Docs: man:dovecot(1)                                                                                                                                                                   
             http://wiki2.dovecot.org/                                                                                                                                                        
   Main PID: 25836 (code=exited, status=89)                                                                                                                                                   
        CPU: 79ms                                                                                                                                                                             
                                                                                                                                                                                              
Aug 30 08:47:23 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Aug 30 08:47:27 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Aug 30 08:47:27 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Aug 30 08:47:28 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Aug 30 08:47:29 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Aug 30 08:47:29 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Aug 30 09:08:58 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Aug 30 09:09:02 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Aug 30 09:10:09 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
Aug 30 09:10:14 MY_DOMAIN systemd[1]: dovecot.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.

Ok i resolve this issue by commenting ExectStart line in “/lib/systemd/system/dovecot.service” file. But i still have this error :

● dovecot.service - Dovecot IMAP/POP3 email server
     Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled)                                                                                                    
    Drop-In: /etc/systemd/system/dovecot.service.d                                                                                                                                            
             └─override.conf                                                                                                                                                                  
     Active: failed (Result: protocol) since Wed 2023-08-30 09:22:44 UTC; 3s ago
       Docs: man:dovecot(1)                                                                                                                                                                   
             http://wiki2.dovecot.org/                                                                                                                                                        
    Process: 55576 ExecStart=/bin/true (code=exited, status=0/SUCCESS)                                                                                                                        
   Main PID: 55576 (code=exited, status=0/SUCCESS)                                                                                                                                            
        CPU: 17ms                                                                                                                                                                             
                                                                                                                                                                                              
Aug 30 09:22:44 MY_DOMAIN systemd[1]: Starting Dovecot IMAP/POP3 email server...                                                                                                             
Aug 30 09:22:44 MY_DOMAIN systemd[1]: dovecot.service: Failed with result 'protocol'.
Aug 30 09:22:44 MY_DOMAIN systemd[1]: Failed to start Dovecot IMAP/POP3 email server.

That’s weird because my protocol seems ok : “protocols = imap” in /etc/dovecot/dovecot.conf

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.