summaryrefslogtreecommitdiffstats
path: root/debian/exim4-config.exim4.ppp.ip-up
diff options
context:
space:
mode:
Diffstat (limited to 'debian/exim4-config.exim4.ppp.ip-up')
-rw-r--r--debian/exim4-config.exim4.ppp.ip-up15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/exim4-config.exim4.ppp.ip-up b/debian/exim4-config.exim4.ppp.ip-up
new file mode 100644
index 0000000..d723ff5
--- /dev/null
+++ b/debian/exim4-config.exim4.ppp.ip-up
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ -n "$EX4DEBUG" ]; then
+ echo "now debugging $0 $@"
+ set -x
+fi
+
+[ -x /usr/lib/exim4/exim4 ] || exit 0
+
+[ -f /etc/default/exim4 ] && . /etc/default/exim4
+
+if [ "${QUEUERUNNER}" != "no" ] ; then
+# Flush exim queue
+ /usr/sbin/exim4 -qqf ${QUEUERUNNEROPTIONS} ${COMMONOPTIONS}
+fi