Similarly to how postfix can lean on dovecot for smtpd_sasl_type, it can also speak to cyrus (mail/cyrus-imapdXX). Therefore I think it should be added to REQUIRE in the init script.
Thanks for your request but I don't think we need a REQUIRE line for cyrus_imapd, see below. Looking at the REQUIRE and PROVIDE keywords of the following rc scripts postfix should always start after saslauthd and cyrus_imapXX. But it would be a good idea to extend the dovecot script with "BEFORE: mail" and the cyrus_imapdXX scripts with "PROVIDE: cyrus_imapd imap" so the cyrus imap deamon always starts after saslauthd. mail/postfix/files/postfix.in # PROVIDE: postfix mail # REQUIRE: %%REQUIRE%% mail/dovecot/files/dovecot.in # PROVIDE: dovecot # REQUIRE: %%REQUIRE%% mail/cyrus_imapXX/files/imapd.in # PROVIDE: cyrus_imapd # REQUIRE: DAEMON # BEFORE: mail security/cyrus-sasl2-saslauthd/files/saslauthd.in # PROVIDE: saslauthd # REQUIRE: DAEMON # BEFORE: mail imap
(In reply to Olli Hauer from comment #1) Ah, right. Fair point and +1 to proposed suggestion.