blob: 98ad9e8e5ba75c9aa99df4fd07cdaebcab6ec173 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
#
# $Id$
#
# If there is a global system configuration file, suck it in.
#
if [ -r /etc/defaults/periodic.conf ]
then
. /etc/defaults/periodic.conf
source_periodic_confs
fi
if [ -x LOCALBASE/cyrus/bin/deliver ] ; then
echo LOCALBASE/cyrus/bin/deliver -E 3 | su -m cyrus && rc=0 || rc=3
rc=0
else
echo "deliver isn't executable"
rc=2
fi
exit $rc
|