Re: Dovecot 2.4 LMTP socket for Postfix / Dovecot base_dir not created upon restart

Aki Tuomi via dovecot <[email protected]>
Newsgroups gmane.mail.imap.dovecot
Message-ID <490702649.3094.1771912435592@appsuite-pro-sync-core-mw-groupware-0.appsuite-pro-sync-core-mw-hazelcast-headless.appsuite-dev.svc.cluster.local>
> On 24/02/2026 00:57 EET Philip Iezzi via dovecot <[email protected]> wrote:
>

<snip/>
 
>  
> But, when using an absolute path on unix_listener, upgrade step 2) Bullseye=>Bookworm breaks with:
> 
> Processing triggers for dovecot-core (2:2.4.2-2+debian12) ...
> Job for dovecot.service failed because the control process exited with error code.
> (...)
> dovecot[34446]: master: Error: service(lmtp): Socket already exists: /var/run/dovecot/lmtp
> dovecot[34446]: master: Fatal: Failed to start listeners
> 
> I then moved to `unix_listener lmtp`:
> 
> service lmtp {
>   unix_listener lmtp {
>     mode = 0666
>     user = postfix
>     group = postfix
>   }
> }
> 
> Bookworm upgrade (restarted from scratch with a fresh server clone) went through fine.
> But even after several dovecot.service restarts, the socket ended up in /run/lmtp without creating the /run/dovecot directory, and after a full system reboot, it was suddenly back where I have expected it: /run/dovecot/lmtp
> I never changed base_dir, which defaults to /var/run/dovecot/
> 

On most modern operating systems, /var/run and /run are the same. So unless you touched something, dovecot should always use /run/dovecot. Not sure what happened there, but I suspect you accidentically changed something.

Aki

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.