> On 05/01/2026 16:44 EET Washington Odhiambo via dovecot <[email protected]> 
> wrote:
> 
>  
> Can someone please give simple steps to make dovecot to coredump on Debian
> 12?
> After reading this:
> https://doc.dovecot.org/2.4.2/developers/debugging.html#coredumps - I am
> still not able to get it to work.
> I have been running dovecot from git (yes, I know I shouldn't!) until I
> updated today and then it would be killed by signal 11.
> 
> I have so far installed the release versions and all is fine, but I'd like
> to ensure that in the future, I have the coredump working.
> 
> -- 
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
>  In an Internet failure case, the #1 suspect is a constant: DNS.
> "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
> [How to ask smart questions:
> http://www.catb.org/~esr/faqs/smart-questions.html]
>    Can someone please give simple steps to make dovecot to coredump on Debian
>    12?
>    After reading
>    this: [1]https://doc.dovecot.org/2.4.2/developers/debugging.html#coredumps
>    - I am still not able to get it to work.
>    I have been running dovecot from git (yes, I know I shouldn't!) until I
>    updated today and then it would be killed by signal 11.
>    I have so far installed the release versions and all is fine, but I'd like
>    to ensure that in the future, I have the coredump working.
>    --


I would recommend installing systemd-coredump. Usually the trick with getting 
coredumps is fs.suid_dumpable=2, and if it's login process, setting 

service imap-login {
  chroot = 
}

to disable chrooting. systemd-coredump however usually works quite nicely.

Aki

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to