On Wed, 11 Sep 2024, at 10:55 PM, Albert Shih wrote: > If I keep the delprune inside START section everytime I restart cyrus-imapd > it seem cyrus launch a cyr_expire on all mailbox and that's take a lot of > time and during this time I'm unable to login. After the cyr_expire end I'm > able to login without any issue. > > Is that a normal behavior of cyrus ?
Yes, tasks in the START section run to completion before anything else starts up. See the cyrus.conf man page <http://www.cyrusimap.org/imap/reference/manpages/configs/cyrus.conf.html> for details. We have a bunch of cyrus.conf examples in github <https://github.com/cyrusimap/cyrus-imapd/tree/master/doc/examples/cyrus_conf> and they all put the delprune task under EVENTS, so I'd suggest doing the same. Cheers, ellie ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/T0d5dc781cb043c88-M05bd6ef30b0af70fd187305e Delivery options: https://cyrus.topicbox.com/groups/info/subscription
