From 071176aa7d5b894ea6bb9b540590ff12701416ee Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Feb 08 2008 09:56:50 +0000 Subject: - don't run cronjob if cyrus-imapd has never been started (#418191) --- diff --git a/cyrus-imapd.cron-daily b/cyrus-imapd.cron-daily index 3ec831c..1f55aa8 100644 --- a/cyrus-imapd.cron-daily +++ b/cyrus-imapd.cron-daily @@ -21,6 +21,7 @@ if [ -f /etc/sysconfig/cyrus-imapd ]; then fi [ -x /usr/lib/cyrus-imapd/ctl_mboxlist ] || exit 0 +[ -f /var/lib/imap/db/skipstamp ] || exit 0 # rotate mailbox lists seq $[ $ROTATE - 1 ] -1 1 | while read i; do diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec index dfc6429..a96f61c 100644 --- a/cyrus-imapd.spec +++ b/cyrus-imapd.spec @@ -1,7 +1,7 @@ %define upstream_ver 2.3.9 Name: cyrus-imapd Version: 2.3.9 -Release: 8%{?dist} +Release: 9%{?dist} # ********************** BUILD TIME OPTIONS START ********************** @@ -803,6 +803,9 @@ fi %{_mandir}/man1/* %changelog +* Fri Feb 08 2008 Tomas Janousek - 2.3.9-9 +- don't run cronjob if cyrus-imapd has never been started (#418191) + * Tue Dec 04 2007 Tomas Janousek - 2.3.9-8 - move certificate creation from -utils postinst to main package - rebuild with newer openssl and openldap