aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-22 16:43:38 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-24 15:13:14 +0200
commit4239920246a5123644fd7a778b467aa371f990e6 (patch)
tree0113d4df774bb04b23a712dc47317d6bb30cf5e0 /scripts
parent8d76ab3fcff608c82d5c43ad87ec8988b69478b3 (diff)
Custom patches for the list managers.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/postfix-to-schleuder.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/scripts/postfix-to-schleuder.sh b/scripts/postfix-to-schleuder.sh
deleted file mode 100644
index 0e0b3b9..0000000
--- a/scripts/postfix-to-schleuder.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-# Strip out the list command from a fully qualified (using '#' in place of
-# '@') mailing list, and replace '#' by '@'.
-
-ADDR="${1}"
-SCHLEUDER=/usr/bin/schleuder
-
-[ -n "${ADDR}" ] || exit 1
-
-LOCAL="${ADDR%%#*}"
-DOMAIN="${ADDR#*#}"
-LOCAL2="${LOCAL%-bounces}"
-[ x"${LOCAL}" != x"${LOCAL2}" ] || LOCAL2="${LOCAL%-sendkey}"
-LOCAL="${LOCAL2}"
-
-if [ x"${DOMAIN}" != x"${ADDR}" ]; then
- ADDR="${LOCAL}@${DOMAIN}"
-else
- ADDR="${LOCAL}"
-fi
-
-${SCHLEUDER} "${ADDR}"