dovecot/dovecot.init

106 lines
1.9 KiB
Plaintext
Raw Normal View History

auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
#!/bin/bash
#
# /etc/rc.d/init.d/dovecot
#
# Starts the dovecot daemon
#
# chkconfig: - 65 35
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
# description: Dovecot Imap Server
# processname: dovecot
# config: /etc/dovecot.conf
# config: /etc/sysconfig/dovecot
# pidfile: /var/run/dovecot/master.pid
### BEGIN INIT INFO
# Provides: dovecot
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network
# Should-Start: $remote_fs
# Should-Stop: $remote_fs
# Default-Start:
# Default-Stop: 0 1 2 3 4 5 6
# Short-Description: start and stop Dovecot Imap server
# Description: Dovecot is an IMAP server for Linux/UNIX-like systems,
# written with security primarily in mind. It also contains
# a small POP3 server.
### END INIT INFO
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
# Source function library.
. /etc/init.d/functions
2009-09-17 15:08:17 +00:00
if [ -f /etc/sysconfig/dovecot -a $UID -eq 0 ]; then
. /etc/sysconfig/dovecot
fi
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
RETVAL=0
prog="Dovecot Imap"
exec="/usr/sbin/dovecot"
config="/etc/dovecot.conf"
pidfile="/var/run/dovecot/master.pid"
lockfile="/var/lock/subsys/dovecot"
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
start() {
2009-09-17 15:08:17 +00:00
[ $UID -eq 0 ] || exit 4
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon --pidfile $pidfile $exec $OPTIONS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch $lockfile
echo
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
}
stop() {
2009-09-17 15:08:17 +00:00
[ $UID -eq 0 ] || exit 4
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
echo -n $"Stopping $prog: "
killproc -p $pidfile $exec
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f $lockfile
echo
}
reload() {
2009-09-17 15:08:17 +00:00
[ $UID -eq 0 ] || exit 4
echo -n $"Reloading $prog: "
killproc -p $pidfile $exec -HUP
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
RETVAL=$?
echo
}
#
# See how we were called.
#
case "$1" in
start)
start
;;
stop)
stop
;;
reload)
reload
;;
force-reload|restart)
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
stop
start
RETVAL=$?
;;
condrestart|try-restart)
if [ -f $lockfile ]; then
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
stop
start
fi
;;
status)
status -p $pidfile $exec
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
RETVAL=$?
;;
*)
echo $"Usage: $0 {condrestart|try-restart|start|stop|restart|reload|force-reload|status}"
RETVAL=2
[ "$1" = 'usage' ] && RETVAL=0
auto-import changelog data from dovecot-0.99.10-6.src.rpm Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6 - add some patches from upstream (#104288) Thu Sep 04 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) Tue Sep 02 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4 - fix assert in search code (#103383) Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3 - rebuild Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2 - don't run by default Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1 - 0.99.10 Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config Thu May 08 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1 - update to 0.99.8.1 Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2 - add a patch to fix quoting problem from CVS Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to /usr/share/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl Sun Dec 01 2002 Seth Vidal <skvidal@phy.duke.edu> - 0.99.4 and fix startup so it starts imap-master not vsftpd :) Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu> - first build
2004-09-09 04:19:32 +00:00
esac
exit $RETVAL