new script to stop and start the exim and courier and spamassassin and mailman services
authorChris Koeritz <fred@gruntose.com>
Fri, 22 Jun 2012 21:43:09 +0000 (17:43 -0400)
committerChris Koeritz <fred@gruntose.com>
Fri, 22 Jun 2012 21:43:09 +0000 (17:43 -0400)
in a possibly useful order.

scripts/email/restart_email_services.sh [new file with mode: 0644]

diff --git a/scripts/email/restart_email_services.sh b/scripts/email/restart_email_services.sh
new file mode 100644 (file)
index 0000000..d7038b4
--- /dev/null
@@ -0,0 +1,13 @@
+/etc/init.d/courier-imap stop
+/etc/init.d/courier-imap-ssl stop
+/etc/init.d/courier-authdaemon stop
+/etc/init.d/mailman stop
+/etc/init.d/exim4 stop
+/etc/init.d/spamassassin stop
+
+/etc/init.d/spamassassin start
+/etc/init.d/exim4 start
+/etc/init.d/mailman start
+/etc/init.d/courier-authdaemon start
+/etc/init.d/courier-imap start
+/etc/init.d/courier-imap-ssl start